Commit Graph

4732 Commits

Author SHA1 Message Date
Edgar Chen
d307242a22 Bug 1821884 - Ensure consistent state for fullscreen/pointerlock warnings; r=Gijs, a=RyanVM
Fullscreen/PointerLock warnings are initialized with hidden="true", but
change to hidden="" after being shown and hidden again. I think this
started happening when we began using HTML elements instead of XUL as
they handle hidden attribute differently.

Differential Revision: https://phabricator.services.mozilla.com/D177790
2023-06-08 08:56:51 +00:00
Valentin Gosu
71de9f8d26 Bug 1836475 - Perma Late Beta test_interfaces_secureContext.html | applicationCache should be defined r=emilio, a=test-only
Differential Revision: https://phabricator.services.mozilla.com/D180176
2023-06-08 12:06:39 +00:00
Valentin Gosu
056175d0a1 Bug 1677718 - Completely remove AppCache API implementation r=necko-reviewers,emilio,jesup
Depends on D179337

Differential Revision: https://phabricator.services.mozilla.com/D179420
2023-06-02 07:55:23 +00:00
Cosmin Sabou
e678b16e56 Backed out 2 changesets (bug 1677718) for causing appcache wpt failures.
Backed out changeset 2b6b58a6fe2f (bug 1677718)
Backed out changeset d1cfc37a01b3 (bug 1677718)
2023-06-01 02:18:51 +03:00
Cosmin Sabou
1f2010dee4 Backed out 2 changesets (bug 1828264) for causing xpcshell failures on test_upgrade_add_index.js. CLOSED TREE
Backed out changeset 8c256ebacc5a (bug 1828264)
Backed out changeset 81e8bc2a7253 (bug 1828264)
2023-05-31 21:50:21 +03:00
Peter Van der Beken
c70179db7f Bug 1828264 - Testcase. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D179189
2023-05-31 16:00:31 +00:00
Valentin Gosu
ffa99d7088 Bug 1677718 - Completely remove AppCache API implementation r=necko-reviewers,emilio,jesup
Depends on D179337

Differential Revision: https://phabricator.services.mozilla.com/D179420
2023-05-31 07:45:46 +00:00
Norisz Fay
968ef96aa7 Backed out 2 changesets (bug 1828264) for causing multiple failures CLOSED TREE
Backed out changeset 6f8b0b36ee84 (bug 1828264)
Backed out changeset 18efba6ba1de (bug 1828264)
2023-05-30 11:58:03 +03:00
Peter Van der Beken
8e70ec0946 Bug 1828264 - Testcase. r=farre
Depends on D178173

Differential Revision: https://phabricator.services.mozilla.com/D179189
2023-05-30 07:39:17 +00:00
Mark Banner
8b4f426ecf Bug 1834204 - Update more consumers to import ES modules directly. r=kpatenio,geckoview-reviewers,whimboo,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D178590
2023-05-26 11:36:33 +00:00
Mark Banner
130a655906 Bug 1826062 - Automatic fixes for upgrading Prettier to 2.8.8. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,calu
Differential Revision: https://phabricator.services.mozilla.com/D177027
2023-05-20 12:26:53 +00:00
Mark Banner
8219a5c503 Bug 1826062 - Automatic fixes for Prettier 2.0.5 upgrade. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,owlish
Differential Revision: https://phabricator.services.mozilla.com/D177025
2023-05-20 12:26:49 +00:00
Cosmin Sabou
3db6b0e4cd Backed out 2 changesets (bug 1832733) for causing crashtest failures on test_printpreview.xhtml.
Backed out changeset 9a5195a13c83 (bug 1832733)
Backed out changeset 7180df68e4b2 (bug 1832733)
2023-05-19 16:48:54 +03:00
Cosmin Sabou
e574544e92 Backed out 2 changesets (bug 1832733) for causing mochitest manifest failures and crashtest failures on test_printpreview.xhtml. CLOSED TREE
Backed out changeset 1ead40f8d275 (bug 1832733)
Backed out changeset 5cd9fb1aab71 (bug 1832733)
2023-05-19 16:43:43 +03:00
Cosmin Sabou
75cf58f831 Bug 1832733 - Mpve prefs and support files on default section of dom/tests/mochitest/bugs/mochitest.ini. a=test-only CLOSED TREE 2023-05-19 16:29:04 +03:00
Mathew Hodson
c3cdc49f5b Bug 1832733 - Fix lint warnings. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D177998
2023-05-19 10:56:59 +00:00
Mathew Hodson
67525df6da Bug 1832733 - Unexpose sizeToContent() in Nightly. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D177867
2023-05-19 10:56:59 +00:00
Andreas Farre
99240722e4 Bug 1823877 - Part 2: Adjust tests to account for parent filtered responses. r=sefeng,smaug
Differential Revision: https://phabricator.services.mozilla.com/D174768
2023-05-10 14:35:52 +00:00
Mark Banner
c2dd8e3266 Bug 1829618 - Enable Prettier on json files (automatic fixes). r=perftest-reviewers,webcompat-reviewers,extension-reviewers,andi,desktop-theme-reviewers,pip-reviewers,devtools-reviewers,sync-reviewers,mossop,denschub,dao,sparky,robwu,geckoview-reviewers,owlish
Differential Revision: https://phabricator.services.mozilla.com/D176336
2023-05-09 16:14:51 +00:00
Sebastian Hengst
30dc87e0ab Bug 1831295 - set WebTransport interfaces as available in Beta and Release. r=webidl,smaug
Bug 1831073 let the interfaces ride the trains.

Differential Revision: https://phabricator.services.mozilla.com/D177378
2023-05-08 13:56:12 +00:00
Cristian Tuns
fcdd9f54d3 Backed out changeset dd3cead397a2 (bug 1831295) the patch does not fix the issues on beta. CLOSED TREE 2023-05-08 09:51:15 -04:00
Sebastian Hengst
0ab185764f Bug 1831295 - set WebTransport interfaces as available in Beta and Release. r=webidl,smaug
Bug 1831073 let the interfaces ride the trains.

Differential Revision: https://phabricator.services.mozilla.com/D177378
2023-05-08 13:42:06 +00:00
Cosmin Sabou
7a214e1f3a Bug 1828622 - Disable test_focus.xhtml on win and mac !debug because of frequent failures. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D176570
2023-04-26 18:25:46 +00:00
Brad Werth
437a25307d 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-04-26 01:09:17 +00:00
Norisz Fay
0ffaecaa07 Backed out changeset b6f97d0d304d (bug 1776738) for causing mochitest failures on test_fullscreen-api.html CLOSED TREE 2023-04-25 08:26:38 +03:00
Brad Werth
1c8e1b829f 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-04-24 17:59:39 +00:00
Peter Van der Beken
635046af85 Bug 1804140 - Enable SHIP by default on desktop, whether or not Fission is disabled. r=smaug,jgraham,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D172278
2023-04-18 07:07:05 +00:00
Cosmin Sabou
60f701f2e5 Backed out 2 changesets (bug 1804140) for causing webdriver failures. CLOSED TREE
Backed out changeset 974558fd2790 (bug 1804140)
Backed out changeset dbe9d2f66fcc (bug 1804140)
2023-04-14 13:28:44 +03:00
Peter Van der Beken
e0b98d564b Bug 1804140 - Enable SHIP by default on desktop, whether or not Fission is disabled. r=smaug,jgraham,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D172278
2023-04-14 08:09:50 +00:00
Kelsey Gilbert
fcc4ea963f Bug 1814101 - Add requestAdapterInfo for webgpu. r=gfx-reviewers,webidl,jimb,smaug
Like the old `name` attribute it replaces, it's always empty for now.

Differential Revision: https://phabricator.services.mozilla.com/D174817
2023-04-12 18:51:46 +00:00
Olivia Hall
5028881191 Bug 1809922 - Enable window.print for Release in GeckoView r=geckoview-reviewers,webidl,smaug,saschanaz,m_kato
This bug changes the preference for window.print (dom.enable_window_print)
in GeckoView and Android to on by default. It also adjusts WPT expectations.

Differential Revision: https://phabricator.services.mozilla.com/D174535
2023-04-05 21:30:19 +00:00
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