Граф коммитов

266 Коммитов

Автор SHA1 Сообщение Дата
Tooru Fujisawa 52c95734e7 Bug 1667455 - Part 9: Stop importing Services.jsm from chrome-priv HTML code, single-line cases. r=kmag,necko-reviewers,geckoview-reviewers,extension-reviewers,m_kato,dragana
Differential Revision: https://phabricator.services.mozilla.com/D150898
2022-07-11 12:41:52 +00:00
Tooru Fujisawa 823c668f50 Bug 1772351 - Part 1: Stop calling ChromeUtils.defineModuleGetter for AppConstants. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D148164
2022-06-06 04:42:08 +00:00
Molnar Sandor 77402a5caa Backed out 15 changesets (bug 1772313, bug 1772351, bug 1772360) for causing xpc failures in telemetry/tests/unit/test_SocketScalars.js CLOSED TREE
Backed out changeset c8b0a2ed239e (bug 1772360)
Backed out changeset 1922adad6abe (bug 1772351)
Backed out changeset 6d3634cce489 (bug 1772351)
Backed out changeset f03968a9d053 (bug 1772351)
Backed out changeset e7a38ef90fe4 (bug 1772351)
Backed out changeset b389e7654771 (bug 1772313)
Backed out changeset 59a33598ff51 (bug 1772313)
Backed out changeset ab60885a8a93 (bug 1772313)
Backed out changeset aad8efac9d05 (bug 1772313)
Backed out changeset 4378e519a8e7 (bug 1772313)
Backed out changeset 302ac54741f8 (bug 1772313)
Backed out changeset 74c59f9fd51c (bug 1772313)
Backed out changeset 575fb877c56c (bug 1772313)
Backed out changeset 2eaa68f10b19 (bug 1772313)
Backed out changeset 4a8b3ba193dc (bug 1772313)
2022-06-06 07:04:25 +03:00
Tooru Fujisawa 5ff7b51845 Bug 1772351 - Part 1: Stop calling ChromeUtils.defineModuleGetter for AppConstants. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D148164
2022-06-06 02:49:12 +00:00
Tom Ritter cbfea2e77d Bug 1692609 - Update tests for a higher-precision RFP r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D148123
2022-06-02 18:27:49 +00:00
Chris Peterson ca52619ef5 Bug 1769022 - resistFingerprinting: report Firefox's real major version instead of the ESR version. r=tjr
For RFP Firefox, report the real major version because there are more Firefox Release channel users than ESR users and, by returning the real major version, we won't have to update kKnownEsrVersion for future ESR versions. The Tor Desktop is based on ESR, so its real major version is the ESR major version.

Special case Android to return Desktop's ESR major version ("102.0"). Firefox Android has no ESR, but this matches Tor Android's current behavior.

Differential Revision: https://phabricator.services.mozilla.com/D147020
2022-05-26 20:14:53 +00:00
Mark Banner 3924c8914b Bug 1769569 - Automatically replace Components.* with C* in sjs files. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D146451
2022-05-18 08:13:19 +00:00
Sebastian Hengst c552340e0c Backed out 5 changesets (bug 1769569) for causing devtools' browser/browser_page_redirection.js to fail. CLOSED TREE
Backed out changeset 66a42eb3a366 (bug 1769569)
Backed out changeset d3cc9629cd9a (bug 1769569)
Backed out changeset edcd3dade079 (bug 1769569)
Backed out changeset 29d8dd058b7a (bug 1769569)
Backed out changeset 1aed34fdf2d3 (bug 1769569)
2022-05-17 19:49:17 +02:00
Mark Banner 4acbb4ff59 Bug 1769569 - Automatically replace Components.* with C* in sjs files. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D146451
2022-05-17 16:50:33 +00:00
Tom Ritter 74a7bc3cda Bug 1752907: Add a new RFP exemptions subtest r=asuth
Because right now we only have hardware concurrency wired
up to the fine-grained RFP checks this is a copy of the
regular RFP test but with the hardware concurrency field
set to the non-spoofed value

Depends on D141772

Differential Revision: https://phabricator.services.mozilla.com/D141773
2022-05-10 02:20:03 +00:00
Tom Ritter 045e59587d Bug 1752907: Add some helpful log messages to test r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D141772
2022-05-10 02:20:03 +00:00
Tom Ritter ce9719f612 Bug 1752907: Disable the navigator test on x86 Windows r=cpeterson
Differential Revision: https://phabricator.services.mozilla.com/D145822
2022-05-07 18:13:05 +00:00
Narcis Beleuzu 0fd7ae053e Backed out 2 changesets (bug 1758780) for jsreftest failure on fp-evaluation-order.js . CLOSED TREE
Backed out changeset 10e2414392ae (bug 1758780)
Backed out changeset 481062597411 (bug 1758780)
2022-04-20 03:03:26 +03:00
Mike Hommey e778621ee4 Bug 1758780 - Update builders to clang 14. r=firefox-build-system-reviewers,mhentges,andi
Differential Revision: https://phabricator.services.mozilla.com/D143175
2022-04-19 08:08:45 +00:00
Chris Peterson 7ed9829302 Bug 1763310 - Report ARM64 Windows 11+ as "x86_64" (and continue to report Windows 10 as "x86"). r=hsivonen,necko-reviewers,dragana
Windows 11+ supports x86_64 emulation, but Windows 10 only supports x86 emulation.

Advantages of reporting ARM64 Windows 11+ as x86_64:

* Sites that offer software downloads will know that the client is capable of running x86_64 software.

* Reduced fingerprinting entropy because ARM64 Windows 11+ users' UA string will match the UA string of the ~80% of Windows Firefox users running x86_64 instead of the ~20% running x86.

* Some sites disable features for 32-bit clients, such as Google Meet requiring 64-bit to use wasm visual effects:

https://github.com/WICG/ua-client-hints/issues/217#issuecomment-878537336

https://support.google.com/meet/answer/10058482?expand_all_zippies=true#requirements&zippy=%2Cwhy-cant-i-use-the-change-background-option%2Crequirements-to-apply-visual-effects-on-computer

The browser_navigator.js test is not actually run on ARM64 Windows in automation, but these test changes would make the test pass on ARM64 Windows 10 and 11 if this test ever is run.

Differential Revision: https://phabricator.services.mozilla.com/D143010
2022-04-07 01:43:20 +00:00
Gijs Kruitbosch 8e67201171 Bug 1753696 - Automatic rewrite: replace add_task(setup with add_setup in browser mochitest, r=Standard8,webcompat-reviewers,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D141437
2022-03-30 16:16:42 +00:00
Norisz Fay acdd6851cd Backed out 2 changesets (bug 1753696) for causing multiple dt and bc failures CLOSED TREE
Backed out changeset 67fd9edfbcea (bug 1753696)
Backed out changeset a9d957ea887b (bug 1753696)
2022-03-30 12:17:55 +03:00
Gijs Kruitbosch 27039e2946 Bug 1753696 - Automatic rewrite: replace add_task(setup with add_setup in browser mochitest, r=Standard8,webcompat-reviewers,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D141437
2022-03-30 08:18:51 +00:00
criss a817ec0742 Backed out 3 changesets (bug 1752907) for casuing failures on browser_navigator.js. CLOSED TREE
Backed out changeset 747092282e35 (bug 1752907)
Backed out changeset e50ad7304c18 (bug 1752907)
Backed out changeset e6c18f35ac5f (bug 1752907)
2022-03-24 19:11:59 +02:00
Tom Ritter e0def91f80 Bug 1752907: Add a new RFP exemptions subtest r=asuth
Because right now we only have hardware concurrency wired
up to the fine-grained RFP checks this is a copy of the
regular RFP test but with the hardware concurrency field
set to the non-spoofed value

Depends on D141772

Differential Revision: https://phabricator.services.mozilla.com/D141773
2022-03-24 13:43:45 +00:00
Tom Ritter cae037504d Bug 1752907: Add some helpful log messages to test r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D141772
2022-03-24 13:43:45 +00:00
David Parks 7cde443dc0 Bug 1756280: Test combinations of privacy.resistFingerprinting and pdfjs.disabled in navigator r=peterv
RFP should make navigator ignore pdfjs.disabled and always report that a PDF viewer is supported.  It should also return the hard-coded values for navigator.plugins and navigator.mimeTypes.  Without RFP, navigator.pdfViewerSupported should be false and plugins and mimeTypes should be empty when pdfjs.disabled is set.

Differential Revision: https://phabricator.services.mozilla.com/D140763
2022-03-17 20:15:21 +00:00
Chris Peterson 80561e26dc Bug 1731523 - Part 2: Remove "Firefox 100" Nimbus experiment code. r=necko-reviewers,kershaw
This Nimbus experiment code was added in bug 1719070 to test if sending a "Firefox 100" UA string causes any major webcompat problems.

The moz.build change was added in bug 1724635 to fix a Thunderbird build break. MOZ_BUILD_APP_IS_BROWSER = true when building Firefox, false when building Thunderbird.

Differential Revision: https://phabricator.services.mozilla.com/D126408
2022-03-17 02:18:12 +00:00
David Parks 8c2f8ff408 Bug 1720353: Make navigator test expect plugins when resistFingerprinting is not set r=preferences-reviewers,Gijs
resistFingerprinting used to be set for the whole test but was changed to consider cases where it is unset.  In those cases, pluginsLength and mimeTypesLength tests were only passing because there were no plugins installed and, later, no plugins were permitted.  We now hardcode some fixed PDF entries so the test has to consider that.

Differential Revision: https://phabricator.services.mozilla.com/D138497
2022-02-17 01:33:01 +00:00
Cristian Tuns 3f972b34cb Backed out 2 changesets (bug 1720353) for casuing reftest failures on 1113005.html CLOSED TREE
Backed out changeset d02b8df13ab0 (bug 1720353)
Backed out changeset e3593056496d (bug 1720353)
2022-02-12 04:34:08 -05:00
David Parks d15d93345a Bug 1720353: Make navigator test expect plugins when resistFingerprinting is not set r=preferences-reviewers,Gijs
resistFingerprinting used to be set for the whole test but was changed to consider cases where it is unset.  In those cases, pluginsLength and mimeTypesLength tests were only passing because there were no plugins installed and, later, no plugins were permitted.  We now hardcode some fixed PDF entries so the test has to consider that.

Depends on D133291

Differential Revision: https://phabricator.services.mozilla.com/D138497
2022-02-11 15:59:01 +00:00
Joel Maher a261492460 Bug 1750839 - Enable fission browser-chrome for variants. r=mccr8,releng-reviewers,gbrown
Differential Revision: https://phabricator.services.mozilla.com/D136512
2022-02-01 19:30:34 +00:00
Chris Peterson ee7c342835 Bug 1748798 - Add 'forceVersion100' pref to make user testing of Firefox 100 UA string easier. r=preferences-reviewers,necko-reviewers,Gijs,valentin
Monitor Firefox 100 experiment enrollment in the parent process. If the user gets enrolled in the experiment, the parent process will set the forceVersion100 pref in other processes. The forceVersion100 pref can also be set by the "Firefox 100" option in the Nightly Experiments settings.

Chrome has a similar chrome://flags/#force-major-version-to-100 flag for testing a Chrome 100 UA.

Differential Revision: https://phabricator.services.mozilla.com/D135315
2022-01-30 00:38:31 +00:00
Cristian Tuns abf42b1167 Backed out 2 changesets (bug 1748798) for causing mochitest failures on browser_navigator.js CLOSED TREE
Backed out changeset 15922d565b29 (bug 1748798)
Backed out changeset 4a90f3296ec3 (bug 1748798)
2022-01-28 05:29:38 -05:00
Chris Peterson 717e9cba2b Bug 1748798 - Add 'forceVersion100' pref to make user testing of Firefox 100 UA string easier. r=preferences-reviewers,necko-reviewers,Gijs,valentin
Monitor Firefox 100 experiment enrollment in the parent process. If the user gets enrolled in the experiment, the parent process will set the forceVersion100 pref in other processes. The forceVersion100 pref can also be set by the "Firefox 100" option in the Nightly Experiments settings.

Chrome has a similar chrome://flags/#force-major-version-to-100 flag for testing a Chrome 100 UA.

Differential Revision: https://phabricator.services.mozilla.com/D135315
2022-01-28 08:02:02 +00:00
Marian-Vasile Laza de6784986f Backed out 3 changesets (bug 1748798) for causing bc test failures on browser_navigator.js. a=backout
Backed out changeset 98b4a50ae8a2 (bug 1748798)
Backed out changeset 509c128c5d15 (bug 1748798)
Backed out changeset b95bd8f3f5d4 (bug 1748798)
2022-01-27 15:09:03 +02:00
Chris Peterson 6eafb4aa46 Bug 1748798 - Add 'forceVersion100' pref to make user testing of Firefox 100 UA string easier. r=preferences-reviewers,necko-reviewers,Gijs,valentin
Monitor Firefox 100 experiment enrollment in the parent process. If the user gets enrolled in the experiment, the parent process will set the forceVersion100 pref in other processes. The forceVersion100 pref can also be set by the "Firefox 100" option in the Nightly Experiments settings.

Chrome has a similar chrome://flags/#force-major-version-to-100 flag for testing a Chrome 100 UA.

Differential Revision: https://phabricator.services.mozilla.com/D135315
2022-01-27 06:03:24 +00:00
Kershaw Chang 5d806765a0 Bug 1741425 - Enable more mochitest with socket process, r=ahal,webdriver-reviewers,preferences-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D134485
2022-01-11 09:49:45 +00:00
Joel Maher fed2831742 Bug 1727943 - turn on mochitest* tests that were skipped on win10-ccov and now pass. r=MasterWayZ
Differential Revision: https://phabricator.services.mozilla.com/D128817
2021-10-19 20:01:29 +00:00
Evgenia Kotovich 0d0980ee0d Bug 1576768 - Automatically format .sjs files using prettier. r=Standard8,agi,zombie,extension-reviewers
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D128482
2021-10-18 09:26:33 +00:00
Noemi Erli 2bba3cec69 Backed out changeset 2ab6bb03dcc1 (bug 1576768) for causing failures in test_double_submit.html CLOSED TREE 2021-10-18 02:05:57 +03:00
Evgenia Kotovich 3e3dff109c Bug 1576768 - Automatically format .sjs files using prettier. r=Standard8,agi,zombie,extension-reviewers
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D128482
2021-10-17 14:59:14 +00:00
Alexandru Michis dac6815201 Backed out changeset 7c08aa027893 (bug 1576768) for causing multiple failures.
CLOSED TREE
2021-10-15 16:52:43 +03:00
Evgenia Kotovich a8b32926fa Bug 1576768 - Automatically format .sjs files using prettier. r=Standard8,agi,zombie,extension-reviewers
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D128482
2021-10-15 12:58:11 +00:00
Dennis Schubert e6d9617889 Bug 1732875 - Call the ExperimentUserAgentUpdated() handler once direcly in nsHttpHandler::Init(). r=cpeterson,necko-reviewers,valentin
This is needed to make sure the experimental User Agent string is applied immediately after starting the browser, not just whenever the Nimbus data changes as part of the NimbusFeatures::OnUpdate handler.

Differential Revision: https://phabricator.services.mozilla.com/D126774
2021-09-28 17:11:26 +00:00
Michelle Goossens c159e29e05 Bug 1727943 - Part 2: Migrate mochitest, reftest and crashtest Windows 10 ccov suites from AWS to Azure r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D125350
2021-09-28 15:27:39 +00:00
Geoff Brown 019c21f335 Bug 1730213 - Explicitly skip tests under browser/ on android; r=ahal
These tests are excluded from android test runs in moz.build. Including
an explicit annotation in each manifest avoids scheduling confusion.
browser-chrome and plain-chrome tests in browser/ are of no concern,
since those test types are never scheduled on android.

Differential Revision: https://phabricator.services.mozilla.com/D125266
2021-09-13 15:22:27 +00:00
Butkovits Atila 5d19838121 Backed out 2 changesets (bug 1692609) for causing failures at test_getUserMedia_addTrackRemoveTrack. CLOSED TREE
Backed out changeset ce4b4f786c4d (bug 1692609)
Backed out changeset d36f5f4ece1e (bug 1692609)
2021-08-16 07:53:47 +03:00
Tom Ritter 8bfcc50fc5 Bug 1692609 - Update tests for a higher-precision RFP r=jgilbert
Depends on D122045

Differential Revision: https://phabricator.services.mozilla.com/D122046
2021-08-16 03:39:25 +00:00
sanketh 0689bd0869 Bug 531915 - part 6 - optionally use fdlibm's sin, cos, and tan in jsmath r=tjr,arai
Adds a new preference javascript.options.use_fdlibm_for_sin_cos_tan (default
false) and uses fdlibm for Math.sin, Math.cos, and Math.tan conditioned on it.

Differential Revision: https://phabricator.services.mozilla.com/D119426
2021-08-13 11:57:07 +00:00
Iulian Moraru 538f123b07 Backed out 6 changesets (bug 531915) for causing build bustages. CLOSED TREE
Backed out changeset 65cf5929d5f2 (bug 531915)
Backed out changeset c9d70e46dfca (bug 531915)
Backed out changeset a4824d5f29fd (bug 531915)
Backed out changeset 9ec88b43d7a1 (bug 531915)
Backed out changeset 5f15204ccca9 (bug 531915)
Backed out changeset 14c95ef3dc44 (bug 531915)
2021-08-12 13:33:31 +03:00
sanketh 21ef77522a Bug 531915 - part 6 - optionally use fdlibm's sin, cos, and tan in jsmath r=tjr,arai
Adds a new preference javascript.options.use_fdlibm_for_sin_cos_tan (default
false) and uses fdlibm for Math.sin, Math.cos, and Math.tan conditioned on it.

Differential Revision: https://phabricator.services.mozilla.com/D119426
2021-08-12 09:59:03 +00:00
Chris Peterson 162a8620f1 Bug 1719070 - UA: Add support for a Nimbus experiment to override Firefox's User-Agent string. r=andreio,necko-reviewers,dragana
The ANDROID #ifdefs are necessary because Nimbus does not yet support Android in Gecko. The planned UA experiment won't include Android, so that's not a problem.

Differential Revision: https://phabricator.services.mozilla.com/D121112
2021-08-08 01:07:51 +00:00
Chris Peterson fef38775ad Bug 1719070 - UA: Merge some unnecessary add_tasks and functions in User-Agent string tests. r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D119054
2021-08-08 01:07:50 +00:00
Iulian Moraru 608ae27f89 Backed out 2 changesets (bug 1719070) for causing bc failures on browser_navigator.js. CLOSED TREE
Backed out changeset ab01c8a94b77 (bug 1719070)
Backed out changeset abf70d233377 (bug 1719070)
2021-08-03 13:57:56 +03:00