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

21997 Коммитов

Автор SHA1 Сообщение Дата
alwu 7665c0c2f2 Bug 1814749 - part1 : do not recover the CDM process from crash unlimitedly. r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D173240
2023-03-31 08:14:03 +00:00
Marian-Vasile Laza 8dfe19eac9 Backed out 3 changesets (bug 1814749) for build bustages on ExternalEngineStateMachine.cpp. CLOSED TREE
Backed out changeset 84c7cbeaccd6 (bug 1814749)
Backed out changeset babe4bfab4f7 (bug 1814749)
Backed out changeset a8eb0d7b8b65 (bug 1814749)
2023-03-31 06:25:09 +03:00
alwu 7b444828b3 Bug 1814749 - part1 : do not recover the CDM process from crash unlimitedly. r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D173240
2023-03-31 03:06:10 +00:00
Niklas Baumgardner ca02072b95 Bug 1825590 - Enable improved video controls for all releases. r=pip-reviewers,kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D174141
2023-03-30 21:37:34 +00:00
Matthew Gaudet 50bd2623c6 Bug 1825356 - Add a preference for Array.fromAsync r=bthrall
Differential Revision: https://phabricator.services.mozilla.com/D174012
2023-03-30 17:32:44 +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
Fred Chasen 6d0ebc445f Bug 1818819 - Enable support for forced-color-adjust property by default r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D173766
2023-03-30 15:18:40 +00:00
serge-sans-paille 73d0b47eaf Bug 1824512 - Make modules/libmar/src buildable outside of a unified build environment r=andi
Differential Revision: https://phabricator.services.mozilla.com/D173612
2023-03-30 13:48:32 +00:00
Fred Chasen e418d8bbcc Bug 1815565 - Set pref print.save_as_pdf.use_page_rule_size_as_paper_size.enabled to true by default r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D174041
2023-03-30 04:50:38 +00:00
Hiroyuki Ikezoe 8779346ead Bug 1810641 - Enable overscroll on all channels for Windows. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D174042
2023-03-30 00:14:55 +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
Lata 5528bda290 Bug 1823612 - Remove usage of marionette.log.level from Log.sys.mjs. r=whimboo,webdriver-reviewers,perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D173207
2023-03-29 15:21:16 +00:00
Matthew Gregan e1b7efc19a Bug 1533220 - Enable AudioIPC on Windows arm64. r=cubeb-reviewers,padenot
Depends on D134931

Differential Revision: https://phabricator.services.mozilla.com/D173911
2023-03-29 12:58:47 +00:00
Matthew Gregan 07b0619d68 Bug 1697845 - Remove AudioIPC v1. r=glandium,supply-chain-reviewers,cubeb-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D134931
2023-03-29 10:25:33 +00:00
sotaro 7e3632590c Bug 1825182 - Enable Accelerated Canvas2D until release on Android r=lsalzman,gfx-reviewers
OOP WebGL is enabled until release on Android by Bug 1810623. And Accelerated Canvas2D is already enabled on Nightly on Android by Bug 1801824. And all regressions were addressed. Then it seem OK to enable Accelerated Canvas2D until release on Android.

Differential Revision: https://phabricator.services.mozilla.com/D173912
2023-03-29 05:08:13 +00:00
Butkovits Atila b3e712cea0 Backed out changeset 0f0a3d3602d8 (bug 1818819) for causing failures at browser_parsable_css.js. CLOSED TREE 2023-03-28 23:27:48 +03:00
Fred Chasen d38752fe88 Bug 1818819 - Enable support for forced-color-adjust property by default r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D173766
2023-03-28 17:36:33 +00:00
Chris H-C 8b3cea7b3d Bug 1820241 - Use MOZ_ARTIFACT_BUILDS to determine if FOG needs JOG r=glandium,janerik
FOG needs to trigger JOG (artifact build support for runtime-defined metrics.
Allows changes and additions to metrics.yamls to be usable from JS without a
compile step) when running an Artifact Build.

So we take `MOZ_ARTIFACT_BUILDS` and pop it into a pref for FOG's use in C++.

Differential Revision: https://phabricator.services.mozilla.com/D173211
2023-03-28 17:06:26 +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
Narcis Beleuzu b3fa955c10 Backed out changeset 3b436c11c472 (bug 1824578) for XPCShell failure on test_trr_https_fallback.js . CLOSED TREE 2023-03-28 16:52:02 +03:00
Dennis Jackson 0e89681c78 Bug 1824578: Enable ECH and ECH-QUIC in Nightly without fallbacks. r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D173642
2023-03-28 12:31:54 +00:00
James Teh f9beb753a8 Bug 1824295: Let Cache the World ride the trains for Mac. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D173654
2023-03-28 05:14:01 +00:00
James Teh a48de99aed Bug 1824293: Enable Cache the World on release for Windows and Linux. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D173653
2023-03-28 05:14:01 +00:00
Sandor Molnar 5df217ed75 Backed out changeset 251530e20422 (bug 1818819) for causing xpc failures in devtools/shared/tests/xpcshell/test_css-properties-db.js CLOSED TREE 2023-03-28 03:40:44 +03:00
Fred Chasen 36723bb5ff Bug 1818819 - Enable support for forced-color-adjust property by default r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D173766
2023-03-27 23:28:17 +00:00
Boris Chiou 32323a3e4b Bug 1824426 - Remove layout.css.d-property.enabled. r=devtools-reviewers,longsonr
This feature was shipped in Fx97, and it seems we don't need this pref
anymore.

Differential Revision: https://phabricator.services.mozilla.com/D173591
2023-03-27 20:49:41 +00:00
Bobby Holley 1b7fb51ea3 Bug 1824812 — Add more shopee domains to the site permissions blocklist. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D173752
2023-03-27 19:56:47 +00:00
Sandor Molnar 86d090f13a Backed out changeset ab9d49132a9b (bug 1818754) for causing mochitest failures in dom/serviceworkers/test/test_serviceworker_<...>. 2023-03-27 23:08:50 +03:00
Randell Jesup 6222e60221 Bug 1818754: Enable WebTransport by default r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D170902
2023-03-27 18:30:22 +00:00
Ray Kraesig 870715606c Bug 1820066 [3/3] - Default to DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL on Win10+ r=sotaro
This silences a warning emitted by the D3D11 debug layer.

Conveniently, it also suppresses bug 1763981.

Differential Revision: https://phabricator.services.mozilla.com/D171522
2023-03-27 16:54:13 +00:00
Saira Abdulla 190fd21569 Bug 1824608 - Convert toolkit/components/resistfingerprinting to ES modules. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D173659
2023-03-27 14:34:38 +00:00
Mathew Hodson 5372be9fd2 Bug 1824556 - Disable mozPreservesPitch on early beta. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D173638
2023-03-25 20:27:57 +00:00
Tiaan Louw 15d6f2c6aa Bug 1813497 - Change more_color_4 pref to be enabled by default r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D168238
2023-03-25 08:57:48 +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
Iulian Moraru a27714aad7 Backed out changeset e5ef47700fe9 (bug 1823619) for causing mochitest failures related to CompressionStream. CLOSED TREE 2023-03-25 00:11:49 +02:00
Kagami Sascha Rosylight ccd92f0540 Bug 1823619 - Implement Compression Streams r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D173321
2023-03-24 20:10:57 +00:00
Greg Tatum 944d80a008 Bug 1820229 - Stub out a button in the URL bar for translations; r=nordzilla,desktop-theme-reviewers,flod,Itiel
This code is untested since it's stubbing out functionality, which will
eventually use PageActions to open up a popup. The final code with the
popup will get tested, but for now rely on the existing test behavior,
without asserting new behavior.

Differential Revision: https://phabricator.services.mozilla.com/D173196
2023-03-24 18:27:30 +00:00
Greg Tatum 1f8b9d6180 Bug 1823702 - Add a trace logging level; r=nordzilla
Logging message translations is useful, but really really verbose. This
lets us adjust the granularity a bit more.

Differential Revision: https://phabricator.services.mozilla.com/D173193
2023-03-24 18:27:29 +00:00
Artur Iunusov 7d615f3055 Bug 1819626: Enforce strict MIME type checks for worker-imported scripts, r=smaug
This patch introduces a new pref:
dom.workers.importScripts.enforceStrictMimeType

which is enabled by default on Nightly

see: https://github.com/whatwg/html/issues/8869,
https://github.com/whatwg/html/pull/4001

Differential Revision: https://phabricator.services.mozilla.com/D173149
2023-03-24 17:19:31 +00:00
Emilio Cobos Álvarez 93a0510070 Bug 1817360 - Lazily load broken image icon. r=tnikkel
With the patches of bug 1815229, these errors appear:

browser/base/content/test/performance/browser_startup_images.js | Loaded image resource://gre-resources/loading-image.png should have been shown

It's a real issue, where we eagerly load the broken image icon and so on
even though we don't use them.

This fixes it by lazily-loading the icon once, only when needed.

Differential Revision: https://phabricator.services.mozilla.com/D170159
2023-03-24 14:56:34 +00:00
stransky 0bd628961c Bug 1824335 [VAAPI] Add preference to force enable zero copy video playback r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D173519
2023-03-24 11:15:52 +00:00
Matthew Gregan 06779dc4c7 Bug 1817043 - Let AudioIPC v2 ride the train. r=cubeb-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D169878
2023-03-24 05:26:15 +00:00
Butkovits Atila 137691f3bf Backed out 12 changesets (bug 1813781, bug 1815343, bug 1820229, bug 1823925, bug 1813779, bug 1823702) for causing failures at browser_full_page.js. CLOSED TREE
Backed out changeset 841d7b8b856b (bug 1823925)
Backed out changeset a62d77bfac0b (bug 1823925)
Backed out changeset 2590940e3b67 (bug 1815343)
Backed out changeset 807a38bb5ad4 (bug 1813781)
Backed out changeset b1d2cbba17a2 (bug 1813781)
Backed out changeset e83c3f386ef1 (bug 1813781)
Backed out changeset 18cf612336be (bug 1820229)
Backed out changeset d3ae326dcdf7 (bug 1820229)
Backed out changeset 793ba36c54b5 (bug 1813779)
Backed out changeset bbf9177668dc (bug 1823702)
Backed out changeset 1cc80a5cbcdb (bug 1823702)
Backed out changeset 22a87b7171d4 (bug 1823702)
2023-03-24 06:36:15 +02:00
Butkovits Atila 23e100dec1 Backed out changeset 252a4369ed83 (bug 1746245) for causing failures at test_interfaces.html . CLOSED TREE 2023-03-24 03:03:47 +02:00
Jim Blandy 28ff203882 Bug 1746245: Enable WebGPU in nightly Firefox r=jrmuizel
Change the default value of `dom.webgpu.enabled` from `false` to `true`.

WebGPU is not available 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.

Differential Revision: https://phabricator.services.mozilla.com/D173475
2023-03-23 22:55:53 +00:00
Greg Tatum 5fbf34f20b Bug 1820229 - Stub out a button in the URL bar for translations; r=nordzilla,desktop-theme-reviewers,flod,Itiel
This code is untested since it's stubbing out functionality, which will
eventually use PageActions to open up a popup. The final code with the
popup will get tested, but for now rely on the existing test behavior,
without asserting new behavior.

Differential Revision: https://phabricator.services.mozilla.com/D173196
2023-03-23 22:00:36 +00:00
Greg Tatum 3ebc2e51c5 Bug 1823702 - Add a trace logging level; r=nordzilla
Logging message translations is useful, but really really verbose. This
lets us adjust the granularity a bit more.

Differential Revision: https://phabricator.services.mozilla.com/D173193
2023-03-23 22:00:35 +00:00
Jim Blandy 1e9e5f2198 Bug 1808602: Implement 'dom.webgpu.wgpu-backend' pref. r=jrmuizel
Add a new string-valued, Rust-visible pref, `dom.webgpu.wgpu-backend`, to `StaticPrefList.yaml` in `modules/libpref/init`. If this string is non-empty, use it to enable the indicated WebGPU backends when we create a `wgpu_core::Global` in `gfx/wgpu_bindings/src/server.rs`. See `StaticPrefList.yaml` for details.

As this is the first time we have exposed a `mirror: always`, `type: DataMutexString` pref to Rust, make the appropriate changes to `generate_static_pref_list.py` to generate the necessary C++ and Rust code to lock the value, make a string copy, and pass ownership back to Rust as an `nsstring::nsACString` (from the `xpcom/rust/nsstring` crate).

Differential Revision: https://phabricator.services.mozilla.com/D173335
2023-03-23 21:27:05 +00:00
Norisz Fay 3220100958 Backed out changeset 07b81afaa59e (bug 1808602) for causing python failure on test_generate_static_pref_list.py CLOSED TREE 2023-03-23 22:52:09 +02:00