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

4701 Коммитов

Автор SHA1 Сообщение Дата
Jim Blandy ecca0ae8b4 Bug 1746245: Enable WebGPU in nightly Firefox r=jrmuizel,webidl,smaug,settings-reviewers,fluent-reviewers
Change the default value of `dom.webgpu.enabled` from `false` to `true` in Nightly builds.

Everything in `dom/webidl/WebGPU.webidl` that is `Exposed=(Window)` is also gated on the `dom.webgpu.enabled` pref, so it should not appear on `window` in beta or release builds.

Beyond that, WebGPU is not usable in beta or release builds regardless of the pref setting, because of these lines of code in `dom/webgpu/Instance.cpp`:

    #ifdef RELEASE_OR_BETA
        if (true) {
          return "WebGPU is not yet available in Release or Beta builds.";
        }
    #endif

This function is the only way to create a `GPUAdapter`, which is the only way to access any interesting parts of the WebGPU API.

The mochitest `dom/webgpu/mochitest/test_disabled.html` checks that the value of the `dom.webgpu.enabled` pref is `false`. This is now only appropriate in beta and release builds, so change `dom/webgpu/mochitest/mochitest-no-pref.ini` accordingly.

Update feature gate description in `toolkit/components/featuregates/FeatureGate.toml`.

Differential Revision: https://phabricator.services.mozilla.com/D173475
2023-03-30 16:22:25 +00:00
Narcis Beleuzu f89e9747a5 Backed out 2 changesets (bug 1746245, bug 1824447) for xpcshell failure on test_FeatureGate.js . CLOSED TREE
Backed out changeset 5cc2daf4f55a (bug 1746245)
Backed out changeset 754743cbc36b (bug 1824447)
2023-03-29 22:27:13 +03:00
Jim Blandy 3221c357fe Bug 1746245: Enable WebGPU in nightly Firefox r=jrmuizel,webidl,smaug
Change the default value of `dom.webgpu.enabled` from `false` to `true` in Nightly builds.

Everything in `dom/webidl/WebGPU.webidl` that is `Exposed=(Window)` is also gated on the `dom.webgpu.enabled` pref, so it should not appear on `window` in beta or release builds.

Beyond that, WebGPU is not usable in beta or release builds regardless of the pref setting, because of these lines of code in `dom/webgpu/Instance.cpp`:

    #ifdef RELEASE_OR_BETA
        if (true) {
          return "WebGPU is not yet available in Release or Beta builds.";
        }
    #endif

This function is the only way to create a `GPUAdapter`, which is the only way to access any interesting parts of the WebGPU API.

The mochitest `dom/webgpu/mochitest/test_disabled.html` checks that the value of the `dom.webgpu.enabled` pref is `false`. This is now only appropriate in beta and release builds, so change `dom/webgpu/mochitest/mochitest-no-pref.ini` accordingly.

Differential Revision: https://phabricator.services.mozilla.com/D173475
2023-03-29 16:08:24 +00:00
Randell Jesup 8d3cc0ae90 Bug 1818754: Enable WebTransport by default r=smaug,saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D170902
2023-03-28 14:10:03 +00:00
Kagami Sascha Rosylight e88944c553 Bug 1823619 - Implement Compression Streams r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D173321
2023-03-25 06:48:41 +00:00
Tim Giles 1ef8a9a516 Bug 1813077 - Add import of moz-support-link for use in popup-notification via ensureCustomElements. r=mstriemer,extension-reviewers
Since we can't synchronously load ESModules yet, we use a new
abstraction of ensureCustomElements to ensure we have access to the
moz-support-link widget in popup-notifications.inc. The previous pattern
of loading the widget via module script does not work in this case due
to browser.xhtml, as we do not want to block on this path.

Differential Revision: https://phabricator.services.mozilla.com/D170254
2023-03-23 14:07:41 +00:00
Cristian Tuns ba7df02af3 Backed out changeset f1e63c1177db (bug 1776738) for causing mochitest failures in test_fullscreen-api.html CLOSED TREE 2023-03-21 22:56:10 -04:00
Makoto Kato cda1a13b1c Bug 1819109 - Remove snav.enabled. r=masayuki,geckoview-reviewers,emilio,owlish
Although we have removed Spatial navigation by bug 1341737, we still touch
`snav.enabled`. Let's remove it.

Differential Revision: https://phabricator.services.mozilla.com/D172390
2023-03-22 02:40:53 +00:00
Brad Werth a9a7928a80 Bug 1776738: Make fullscreen and pointerlock mochitests use document.fullscreenElement to determine fullscreen-ness. r=edgar
With these changes, it's no longer necessary to store the normalSize on
the window, since we never check it, nor check for resize events. This
also removes the flaky timeouts, and replaces them with an executeSoon.

For some of the fullscreen tests, the number of calls to enter and exit
fullscreen are not matched. Since that count is essential for the checks
of whether or not the screen is in the expected fullscreen, this defines a
method that can force the count to a specific value. This is used in some
of the fullscreen tests to get the expected results.

Differential Revision: https://phabricator.services.mozilla.com/D172852
2023-03-21 23:07:38 +00:00
Kershaw Chang 5e58575e28 Bug 1809843 - Skip Failed tests, r=necko-reviewers,extension-reviewers,credential-management-reviewers,valentin,sgalich,robwu
Differential Revision: https://phabricator.services.mozilla.com/D171842
2023-03-21 09:09:58 +00:00
Olivia Hall 06a7820749 Bug 1820218 - Adjust Test Expectations for window.print for Android r=smaug
In bug 1659818,  window.print is enabled for Nightly in Android.
This bug adjusts testing expectations for Android.

Differential Revision: https://phabricator.services.mozilla.com/D172123
2023-03-15 21:23:12 +00:00
Daniel Holbert 3c6e908a35 Bug 1820058: Enable about:config pref for CSS 'content-visibility' on Nightly. r=emilio,devtools-reviewers
Also update the devtools CSS db (using ./mach devtools-css-db), and update a
DOM test `test_interfaces.js` to make it aware of newly-exposed (and
Nightly-specific for now) ContentVisibilityAutoStateChangeEvent.

Differential Revision: https://phabricator.services.mozilla.com/D171514
2023-03-14 19:55:30 +00:00
Byron Campen 7fad9b3fac Bug 1278299: Test cases for bug. r=ng,smaug
Removed a bad test-case from RTCDataChannel-send.html that was trying to
create gigabyte-sized buffers to test the max message size for DataChannel.

Differential Revision: https://phabricator.services.mozilla.com/D169235
2023-03-14 13:27:15 +00:00
Byron Campen 837e704fbf Bug 1531812: Remove remaining mozRTC stuff. r=jib,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D168433
2023-03-14 13:27:15 +00:00
Norisz Fay 290830c0e1 Backed out changeset e222dc796ab4 (bug 1820058) for causing failures on test_css-properties-db.js, test_interfaces.html CLOSED TREE 2023-03-13 21:50:45 +02:00
Daniel Holbert eba1043255 Bug 1820058: Enable about:config pref for CSS 'content-visibility' on Nightly. r=emilio
Also update a DOM test `test_interfaces.js` to make it aware of newly-exposed
(and Nightly-specific for now) ContentVisibilityAutoStateChangeEvent.

Differential Revision: https://phabricator.services.mozilla.com/D171514
2023-03-13 17:54:25 +00:00
Marian-Vasile Laza ee72efd1e9 Backed out 5 changesets (bug 1809843) for causing Cargo related build bustages. CLOSED TREE
Backed out changeset 5c494680f448 (bug 1809843)
Backed out changeset 02742b38edab (bug 1809843)
Backed out changeset 2b9b32ca8294 (bug 1809843)
Backed out changeset 56631cb02ae6 (bug 1809843)
Backed out changeset 37e35a60a71f (bug 1809843)
2023-03-13 13:53:26 +02:00
Kershaw Chang a60df34ad0 Bug 1809843 - Skip Failed tests, r=necko-reviewers,extension-reviewers,credential-management-reviewers,valentin,sgalich,robwu
Differential Revision: https://phabricator.services.mozilla.com/D171842
2023-03-13 11:12:33 +00:00
Masayuki Nakano e1ae9f0957 Bug 1819881 - Make `test_focusrings.xhtml` print error detail of comparing screen shots r=edgar
Cannot reproduce the intermittent failure so that let's get the detail of the
failures when new failure occurs.

Differential Revision: https://phabricator.services.mozilla.com/D171669
2023-03-06 08:51:19 +00:00
Sean Feng 8c251cb59f Bug 1809518 - Update test_fetch_cors.js based on the status of ORB r=farre
We've done some updates to this test previously when we enable
ORB (without JS validation) already. Now, we have JS validation
added and more requests are blocked, so we need to change
the expectation for more sub-tests.

Differential Revision: https://phabricator.services.mozilla.com/D169278
2023-02-28 19:46:10 +00:00
Sean Feng 68243eef44 Bug 1809518 - Update more fetch tests that use `fetch_test_framework.js` based on the status of ORB r=farre
These tests involve a bunch of no-cors fetch requests which use
`file_CrossSiteXHR_server.sjs` for sending the response back.
Depends on the request's URL, the response can possibly be

```
  response.setHeader("Content-Type", "application/xml", false);
  response.write("<res>hello pass</res>\n");
```

which will make JS validator to run and blocks.

The fix here is to toggle the pref of ORB when running the tests,
so we test both with ORB and without ORB behaviors, with different
expectations.

Differential Revision: https://phabricator.services.mozilla.com/D169277
2023-02-28 19:46:10 +00:00
Marian-Vasile Laza c39ea4a713 Backed out 15 changesets (bug 1809518) for wpt failures on navigation-headers.https.html.
Backed out changeset d245efcf2257 (bug 1809518)
Backed out changeset 3f29ad282371 (bug 1809518)
Backed out changeset 8f77fb0ddfef (bug 1809518)
Backed out changeset b1f9dcd5f147 (bug 1809518)
Backed out changeset eda8f3ef3fdb (bug 1809518)
Backed out changeset 85f4c2ca24e0 (bug 1809518)
Backed out changeset 92b774c122c9 (bug 1809518)
Backed out changeset b6e6065c79ff (bug 1809518)
Backed out changeset 724a5c7bba6a (bug 1809518)
Backed out changeset 224ccbc28c49 (bug 1809518)
Backed out changeset cc88d68be920 (bug 1809518)
Backed out changeset c02d3f25c880 (bug 1809518)
Backed out changeset 597cb423049d (bug 1809518)
Backed out changeset ae56071e154f (bug 1809518)
Backed out changeset 563403090c7f (bug 1809518)
2023-02-28 20:42:23 +02:00
Sean Feng 5e69c79998 Bug 1809518 - Update test_fetch_cors.js based on the status of ORB r=farre
We've done some updates to this test previously when we enable
ORB (without JS validation) already. Now, we have JS validation
added and more requests are blocked, so we need to change
the expectation for more sub-tests.

Differential Revision: https://phabricator.services.mozilla.com/D169278
2023-02-28 15:28:03 +00:00
Sean Feng bca0df8e7f Bug 1809518 - Update more fetch tests that use `fetch_test_framework.js` based on the status of ORB r=farre
These tests involve a bunch of no-cors fetch requests which use
`file_CrossSiteXHR_server.sjs` for sending the response back.
Depends on the request's URL, the response can possibly be

```
  response.setHeader("Content-Type", "application/xml", false);
  response.write("<res>hello pass</res>\n");
```

which will make JS validator to run and blocks.

The fix here is to toggle the pref of ORB when running the tests,
so we test both with ORB and without ORB behaviors, with different
expectations.

Differential Revision: https://phabricator.services.mozilla.com/D169277
2023-02-28 15:28:03 +00:00
Makoto Kato aa3ccd258b Bug 1618885 - Remove unused is_fennec. r=jmaher,geckoview-reviewers,extension-reviewers,credential-management-reviewers,sgalich,robwu,calu
is_fennec is unused now, let's remove it.

Differential Revision: https://phabricator.services.mozilla.com/D170849
2023-02-27 01:44:18 +00:00
Kagami Sascha Rosylight f0108cf5d0 Bug 1500343 - Part 4: Remove IDL for IDBFileHandle/FileRequest/MutableFile r=dom-storage-reviewers,emilio,asuth
Differential Revision: https://phabricator.services.mozilla.com/D159733
2023-02-23 08:59:07 +00:00
Csoregi Natalia 47428da2d3 Backed out 8 changesets (bug 1809518) for causing fetch related failures. CLOSED TREE
Backed out changeset b448bddfa364 (bug 1809518)
Backed out changeset ce3a811a4522 (bug 1809518)
Backed out changeset f5add471e7f9 (bug 1809518)
Backed out changeset d2e6d1734eec (bug 1809518)
Backed out changeset 2299a5bdc7a9 (bug 1809518)
Backed out changeset 3eb92dc5aac9 (bug 1809518)
Backed out changeset 3061e4fbf237 (bug 1809518)
Backed out changeset 678468cb98cd (bug 1809518)
2023-02-23 04:33:37 +02:00
Iulian Moraru 0e32af533c Backed out 7 changesets (bug 1500343) for causing build bustages on ActorsParent.cpp. CLOSED TREE
Backed out changeset 5d0b35ae2241 (bug 1500343)
Backed out changeset abe4c30b975e (bug 1500343)
Backed out changeset c5c7e5d59035 (bug 1500343)
Backed out changeset de71281af75c (bug 1500343)
Backed out changeset 220abddba749 (bug 1500343)
Backed out changeset f6a065149ce1 (bug 1500343)
Backed out changeset 1f9e20fcae19 (bug 1500343)
2023-02-23 01:51:44 +02:00
Sean Feng f8fcf1b9ef Bug 1809518 - Update test_fetch_cors.js based on the status of ORB r=farre
We've done some updates to this test previously when we enable
ORB (without JS validation) already. Now, we have JS validation
added and more requests are blocked, so we need to change
the expectation for more sub-tests.

Differential Revision: https://phabricator.services.mozilla.com/D169278
2023-02-22 20:17:02 +00:00
Sean Feng 475ea053f0 Bug 1809518 - Update more fetch tests that use `fetch_test_framework.js` based on the status of ORB r=farre
These tests involve a bunch of no-cors fetch requests which use
`file_CrossSiteXHR_server.sjs` for sending the response back.
Depends on the request's URL, the response can possibly be

```
  response.setHeader("Content-Type", "application/xml", false);
  response.write("<res>hello pass</res>\n");
```

which will make JS validator to run and blocks.

The fix here is to toggle the pref of ORB when running the tests,
so we test both with ORB and without ORB behaviors, with different
expectations.

Differential Revision: https://phabricator.services.mozilla.com/D169277
2023-02-22 20:17:02 +00:00
Kagami Sascha Rosylight f3fd792738 Bug 1500343 - Part 4: Remove IDL for IDBFileHandle/FileRequest/MutableFile r=dom-storage-reviewers,emilio,asuth
Differential Revision: https://phabricator.services.mozilla.com/D159733
2023-02-22 20:03:15 +00:00
Cristian Tuns ef9fa152c1 Backed out 8 changesets (bug 1809518) for causing build bustages on JSOracleChild.h CLOSED TREE
Backed out changeset 1057c5d5a0a5 (bug 1809518)
Backed out changeset 1ddffd079624 (bug 1809518)
Backed out changeset 3f43f1cd3e8b (bug 1809518)
Backed out changeset 16bd31105745 (bug 1809518)
Backed out changeset d86c04497104 (bug 1809518)
Backed out changeset 25a5bf657f5c (bug 1809518)
Backed out changeset bf67b8c14aa0 (bug 1809518)
Backed out changeset 5cc0653b2072 (bug 1809518)
2023-02-22 12:20:40 -05:00
Sean Feng 0db7b4dd9e Bug 1809518 - Update test_fetch_cors.js based on the status of ORB r=farre
We've done some updates to this test previously when we enable
ORB (without JS validation) already. Now, we have JS validation
added and more requests are blocked, so we need to change
the expectation for more sub-tests.

Differential Revision: https://phabricator.services.mozilla.com/D169278
2023-02-22 14:07:47 +00:00
Sean Feng cbd6e1b9a9 Bug 1809518 - Update more fetch tests that use `fetch_test_framework.js` based on the status of ORB r=farre
These tests involve a bunch of no-cors fetch requests which use
`file_CrossSiteXHR_server.sjs` for sending the response back.
Depends on the request's URL, the response can possibly be

```
  response.setHeader("Content-Type", "application/xml", false);
  response.write("<res>hello pass</res>\n");
```

which will make JS validator to run and blocks.

The fix here is to toggle the pref of ORB when running the tests,
so we test both with ORB and without ORB behaviors, with different
expectations.

Differential Revision: https://phabricator.services.mozilla.com/D169277
2023-02-22 14:07:47 +00:00
Andrew McCreight fc7cdf9314 Bug 1818000 - Re-enable a few tests that were accidentally disabled. r=edgar
These tests were accidentally disabled because some tests were
moved to another directory in bug 1798274, but their corresponding
annotations were not.

Differential Revision: https://phabricator.services.mozilla.com/D170488
2023-02-21 15:52:47 +00:00
John Schanck 4d4df405e6 Bug 1809333 - Disable the U2F DOM API by default. r=dveditz,webidl,saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D167199
2023-02-16 21:08:40 +00:00
Sandor Molnar c36d241a05 Backed out 16 changesets (bug 1813147, bug 1804678, bug 1531087, bug 1265827, bug 1815369, bug 1278299, bug 1531812, bug 1510802, bug 1808989, bug 1815248) for causing multiple wpt failures in /webrtc/RTCPeerConnection CLOSED TREE
Backed out changeset 0859596a5ec3 (bug 1804678)
Backed out changeset bde3813fbfc4 (bug 1804678)
Backed out changeset 8e74483e6bff (bug 1278299)
Backed out changeset cdc633959cb2 (bug 1278299)
Backed out changeset 6f031686043e (bug 1531812)
Backed out changeset 0148fb48a47f (bug 1815369)
Backed out changeset d8ad59528a79 (bug 1808989)
Backed out changeset bb48f428f377 (bug 1808989)
Backed out changeset b8688e4e6d58 (bug 1510802)
Backed out changeset 60a8f3bbd888 (bug 1510802)
Backed out changeset 34e7866083ab (bug 1510802)
Backed out changeset 1404d9226578 (bug 1815248)
Backed out changeset 3bcc93903fe1 (bug 1531087)
Backed out changeset 4f919e1da19a (bug 1813147)
Backed out changeset 3bbf94f50b4e (bug 1265827)
Backed out changeset 20130ff69694 (bug 1265827)
2023-02-16 01:52:51 +02:00
Byron Campen ffb05be92d Bug 1278299: Test cases for bug. r=ng,smaug
Removed a bad test-case from RTCDataChannel-send.html that was trying to
create gigabyte-sized buffers to test the max message size for DataChannel.

Differential Revision: https://phabricator.services.mozilla.com/D169235
2023-02-15 20:23:31 +00:00
Byron Campen 8537237b2a Bug 1531812: Remove remaining mozRTC stuff. r=jib,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D168433
2023-02-15 20:23:30 +00:00
Sean Feng 6b5798cb94 Bug 1444491 - Update existing internal tests based on the autofocus algorithm updates r=emilio
These test behavior changes after the autofocus algorithm updates.

Differential Revision: https://phabricator.services.mozilla.com/D162034
2023-02-15 20:08:37 +00:00
Csoregi Natalia fc752aa9f0 Backed out 7 changesets (bug 1444491, bug 1801761) for causing failures on autofocus-attribute.svg. CLOSED TREE
Backed out changeset 1cee414009cb (bug 1444491)
Backed out changeset 30f786b79191 (bug 1444491)
Backed out changeset ce06375518a7 (bug 1801761)
Backed out changeset 64c8bb293e5c (bug 1444491)
Backed out changeset 94aa0ce630f2 (bug 1444491)
Backed out changeset 80010eabc0c1 (bug 1444491)
Backed out changeset 7d8da1f44177 (bug 1444491)
2023-02-15 19:03:59 +02:00
Sean Feng 50381a30d0 Bug 1444491 - Update existing internal tests based on the autofocus algorithm updates r=emilio
These test behavior changes after the autofocus algorithm updates.

Differential Revision: https://phabricator.services.mozilla.com/D162034
2023-02-15 14:13:41 +00:00
Cristian Tuns 09bdf0c91a Backed out 16 changesets (bug 1815369, bug 1804678, bug 1510802, bug 1265827, bug 1531812, bug 1531087, bug 1813147, bug 1815248, bug 1278299, bug 1808989) for causing build bustages on PeerConnectionImpl.cpp CLOSED TREE
Backed out changeset ed64251d7fc6 (bug 1804678)
Backed out changeset 62130501686f (bug 1804678)
Backed out changeset 7b6a4b55d6f7 (bug 1278299)
Backed out changeset d454deae329b (bug 1278299)
Backed out changeset cc4c2ac428b0 (bug 1531812)
Backed out changeset 56af0158f35f (bug 1815369)
Backed out changeset 6e36d750e4e1 (bug 1808989)
Backed out changeset d69211c46c57 (bug 1808989)
Backed out changeset 67b457f83b21 (bug 1510802)
Backed out changeset 19435dddb76d (bug 1510802)
Backed out changeset b8dca8a4e260 (bug 1510802)
Backed out changeset a9ba1293f158 (bug 1815248)
Backed out changeset 0bf440baea51 (bug 1531087)
Backed out changeset b5567371a9b3 (bug 1813147)
Backed out changeset 56f00875890b (bug 1265827)
Backed out changeset 0dba91984a39 (bug 1265827)
2023-02-14 22:07:31 -05:00
Byron Campen 7ebb3e7e54 Bug 1531812: Remove remaining mozRTC stuff. r=jib,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D168433
2023-02-15 02:10:06 +00:00
Joel Maher a62ef05cdb Bug 1816191 - Skip tests in order to keep win7 running @ azure. r=gbrown,necko-reviewers,settings-reviewers,application-update-reviewers,media-playback-reviewers,credential-management-reviewers,nalexander,sgalich,alwu
Differential Revision: https://phabricator.services.mozilla.com/D169523
2023-02-14 23:44:12 +00:00
Emilio Cobos Álvarez 3c608a50a2 Bug 1816472 - Fix tests to avoid using readonly property setters. r=smaug
Port them to use moveTo / resizeTo instead.

Differential Revision: https://phabricator.services.mozilla.com/D169652
2023-02-14 22:08:56 +00:00
Gijs Kruitbosch 387cf24ca0 Bug 1810141 - fix tests to deal with changes to loadURI, r=mossop,perftest-reviewers,geckoview-reviewers,extension-reviewers,sparky,owlish
Depends on D168396

Differential Revision: https://phabricator.services.mozilla.com/D168397
2023-02-13 23:50:41 +00:00
Cristina Horotan 5f4356e527 Backed out 9 changesets (bug 1810141) for several test failures on a CLOSED TREE
Backed out changeset 8781a0d1254d (bug 1810141)
Backed out changeset 131037295784 (bug 1810141)
Backed out changeset 3852fbe290f4 (bug 1810141)
Backed out changeset 118f131a524a (bug 1810141)
Backed out changeset ab5d76846e10 (bug 1810141)
Backed out changeset dce3aa683445 (bug 1810141)
Backed out changeset 4dc41d90dbb3 (bug 1810141)
Backed out changeset 50b57ba1a061 (bug 1810141)
Backed out changeset 569de94781e4 (bug 1810141)
2023-02-13 16:05:30 +02:00
Gijs Kruitbosch ff1cc20bd7 Bug 1810141 - fix tests to deal with changes to loadURI, r=mossop,perftest-reviewers,geckoview-reviewers,extension-reviewers,sparky,owlish
Depends on D168396

Differential Revision: https://phabricator.services.mozilla.com/D168397
2023-02-13 12:55:26 +00:00
Jan Varga 613b3905c6 Bug 1816097 - Update tests to account for OPFS riding trains; r=webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D169452
2023-02-10 14:13:01 +00:00