Git Product home page Git Product logo

Comments (7)

foolip avatar foolip commented on May 27, 2024 2

There are a few places where command line arguments can be added. The main one for Edge is here:

def executor_kwargs(logger, test_type, test_environment, run_info_data,
**kwargs):
executor_kwargs = chrome_executor_kwargs(logger, test_type, test_environment, run_info_data, **kwargs)
capabilities = executor_kwargs["capabilities"]
capabilities["ms:edgeOptions"] = capabilities.pop("goog:chromeOptions")
return executor_kwargs

Due to the chrome_executor_kwargs call, things added to Chrome will also apply to Edge. So if Chrome would have the same problem on Windows, I think adding the arguments to Chrome would make the most sense.

If this issue is somehow specific to the CI environment, another option is to add things here:

- script: python ./wpt run --yes --no-manifest-update --no-restart-on-unexpected --no-fail-on-unexpected --install-fonts --this-chunk $(System.JobPositionInPhase) --total-chunks $(System.TotalJobsInPhase) --chunk-type hash --log-wptreport $(Build.ArtifactStagingDirectory)/wpt_report_$(System.JobPositionInPhase).json --log-wptscreenshot $(Build.ArtifactStagingDirectory)/wpt_screenshot_$(System.JobPositionInPhase).txt --log-mach - --log-mach-level info --channel dev edgechromium

I don't think that's the case, but for Taskcluster we have some additional command line arguments for Chrome and Firefox, so it's a possibility.

from wpt.

dandclark avatar dandclark commented on May 27, 2024 1

Thanks @KurtCattiSchmidt! WebKit has apparently also disabled anti-aliasing for Ahem: WebKit/WebKit@605fcea. So I think it's reasonable to go with approach (1).

from wpt.

KurtCattiSchmidt avatar KurtCattiSchmidt commented on May 27, 2024 1

Thanks @foolip, I will make these changes in WPT once my Chromium CL lands. This does indeed impact Chrome on Windows, so I'll make the change there too.

from wpt.

KurtCattiSchmidt avatar KurtCattiSchmidt commented on May 27, 2024

Thanks to @gastonrod for bringing this to my attention! CC @alisonmaher @bfgeek @drott

from wpt.

drott avatar drott commented on May 27, 2024

Can we explore combining 1 and 2 more? Safari still disables Ahem antialiasing without any flag guard. Firefox disables AA as a combination of a preference setting and a family name match.

I would find generally enabling this by family name a surprising effect, I am okay doing a combination of 2 and 1 (like FF): Disabling antialiasing for Ahem, under a flag guard, even if that unfortunately means the WPT runner configuration would have to be adapter.

@foolip, would you have any pointers as to where the WPT runner launch parameters for Edge on Windows can be configured?

from wpt.

foolip avatar foolip commented on May 27, 2024

@KurtCattiSchmidt have you been able to see if the fix worked yet?

from wpt.

KurtCattiSchmidt avatar KurtCattiSchmidt commented on May 27, 2024

@KurtCattiSchmidt have you been able to see if the fix worked yet?

Yes! I had to wait for the 126 release, which is now in Beta. The individual cases that I've been tracking are now marked as passing in Edge.

@foolip - is there an easy to determine exactly how many passes are due to this change?

from wpt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.