-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Instructions on how to override browser flags #12397
Comments
#10452 is related to this |
For Chrome it is documented: |
@jgraham, is there an equivalent for Firefox, or is a prefs file needed? |
Sounds like a job for the
Leaving the support request open as we may want to resolve with an enhancement to the documentation. |
I’ve been working around it by modifying Firefox’s User.js file, but with Nighty... well... it gets trashed Nightly 😂 Is the setpref already supported? Totally missed that. |
I stripped out some of the surrounding documentation, but if you check the output of |
Yeah, I actually have quite a few. Right now, I keep them in text file that I copy/paste from so it would actually be really nice to just be able to point to them. |
Since setting preferences is just one browser-specific use case among many, it's hard to justify promoting the description above the other command-line arguments. However, there have been a couple improvements to the documentation site which may be sufficient to address this issue: First, the command-line arguments are now included: https://web-platform-tests.org/running-tests/command-line-arguments.html For many folks, this listing is probably easier to take in on a web page than in a terminal. Building off that, the website offers a search functionality. That new CLI arguments page is the first result when you search for pref, preference, and preferences, and the relevant text is highlighted if you get there from those results. @marcoscaceres Do you think that's enough to call this issue "resolved"? |
That's great! thanks @jugglinmike |
Glad to get this one resolved :) |
As new web features are usually behind flags (e.g.,
dom.payments.request.enabled
), it would be nice to give instructions on how to "pref on" features when running tests.The problem I'm having is that, for instance, I do the following:
But the test fails because the
dom.payments.request.enabled
is not on by default. When I try to set it manually in the the Firefox instance that pops up, Firefox doesn't seem to remember that I set it.Any suggestions?
The text was updated successfully, but these errors were encountered: