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

23829 Коммитов

Автор SHA1 Сообщение Дата
pstanciu 715a8e1d09 Backed out 12 changesets (bug 1867058) for causing bustages on AbstractRange.cpp
Backed out changeset 6254c9c51033 (bug 1867058)
Backed out changeset 2ad556d56736 (bug 1867058)
Backed out changeset a8bc41291ab3 (bug 1867058)
Backed out changeset c30869c03a70 (bug 1867058)
Backed out changeset 39c5816dff6b (bug 1867058)
Backed out changeset 42e226158dc9 (bug 1867058)
Backed out changeset 67bb7158a09f (bug 1867058)
Backed out changeset 7b5a689dc7fd (bug 1867058)
Backed out changeset 3cf108eb13a6 (bug 1867058)
Backed out changeset 8efda4cce80c (bug 1867058)
Backed out changeset 0837e15babab (bug 1867058)
Backed out changeset 8ce7972ea4df (bug 1867058)
2024-03-23 02:24:26 +02:00
Sean Feng 80b2d55e68 Bug 1867058 - Part 3: Implement Selection.GetComposedRanges r=jjaschke,dom-core
Spec: https://www.w3.org/TR/selection-api/#ref-for-dom-selection-getcomposedranges-1

Differential Revision: https://phabricator.services.mozilla.com/D195303
2024-03-22 17:05:49 +00:00
Stanca Serban 3274be9ff2 Backed out 13 changesets (bug 1860492) for causing multiple failures.
Backed out changeset 1b6bef229ce4 (bug 1860492)
Backed out changeset 22a3235fe2dc (bug 1860492)
Backed out changeset a5b2e4d12e44 (bug 1860492)
Backed out changeset cbcb811ca382 (bug 1860492)
Backed out changeset d6a999866f19 (bug 1860492)
Backed out changeset 40cee82fa090 (bug 1860492)
Backed out changeset eeec1917ab49 (bug 1860492)
Backed out changeset cf1230802d5c (bug 1860492)
Backed out changeset b34aacf0e966 (bug 1860492)
Backed out changeset 45d137c795f1 (bug 1860492)
Backed out changeset fb667be5932d (bug 1860492)
Backed out changeset a6d22d73c8a5 (bug 1860492)
Backed out changeset c8b6c53698f5 (bug 1860492)
2024-03-22 18:18:12 +02:00
Paul Adenot 7f92e36305 Bug 1860492 - Add a pref to disable Theora playback, disable it on Nightly. r=media-playback-reviewers,alwu
Differential Revision: https://phabricator.services.mozilla.com/D204052
2024-03-22 14:16:29 +00:00
Stanca Serban b0320cce41 Backed out changeset 3276640ac98a (bug 1886400) for causing wpt failures in supported-stats.https.html. CLOSED TREE 2024-03-22 14:47:16 +02:00
Stanca Serban 13b53772c1 Backed out changeset 83ed667f93bb (bug 1420777) for causing xpcshell failures test_connection_coalescing.js. 2024-03-22 14:39:20 +02:00
Valentin Gosu 69d6109a36 Bug 1420777 - Coalesce connections less aggresively r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D204663
2024-03-22 11:17:43 +00:00
stransky 5ef5e4c5a9 Bug 1886400 [Linux] Set media.navigator.mediadatadecoder_vpx_enabled to true for release on Linux r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D205197
2024-03-22 09:04:02 +00:00
sotaro 22fa535fac Bug 1843891 - Enable to present WebGPU without readback with DX12 on Windows r=webgpu-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D190250
2024-03-22 04:13:28 +00:00
Brad Werth 8f132a9e95 Bug 1764201 Part 2: Make Gecko_MediaFeatures_VideoDynamicRange check per-screen HDR. r=emilio
This makes all platforms report video-dynamic-range:high if the screen
most closely associated with the document (according to the logic of
nsDeviceContext::FindScreen) is HDR capable.

This removes the LookAndFeel id for VideoDynamicRange, since it is only
used by Gecko_MediaFeatures_VideoDynamicRange, which is being modified
here to use the nsDeviceContext instead.

It also removes gfxPlatform::supportsHDR and its implementations, as it
is no longer used.

Differential Revision: https://phabricator.services.mozilla.com/D203329
2024-03-22 00:55:47 +00:00
sotaro b10056dabf Bug 1882688 - Enable NVIDIA RTX Video Super Resolution in Nightly r=gfx-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D205024
2024-03-22 00:27:46 +00:00
sotaro fb2c5faa34 Bug 1882689 - Enable NVIDIA RTX Video TrueHDR in Nightly r=gfx-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D205028
2024-03-22 00:26:51 +00:00
Andrew Osmond 91162f5c3a Bug 1886855 - Add pref to allow disabling fallback for GMP updates. r=media-playback-reviewers,alwu
Differential Revision: https://phabricator.services.mozilla.com/D205382
2024-03-21 20:46:07 +00:00
Calixte 059876bde3 Bug 1886796 - Enable pdfjs.enableHighlightFloatingButton in nightly and early beta r=marco
Differential Revision: https://phabricator.services.mozilla.com/D205343
2024-03-21 17:15:26 +00:00
dylan b3b70f1193 Bug 1865394 - added urgency and incremental to request header in netmonitor. r=necko-reviewers,extension-reviewers,devtools-reviewers,valentin,robwu,bomsy,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D201265
2024-03-21 14:29:26 +00:00
Kershaw Chang da04403be3 Bug 1881183 - Migrate network_http_max_response_header_size to static prefs, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D205233
2024-03-21 12:49:02 +00:00
Dave Townsend e0ad44a33f Bug 1864896: Fix more unused arguments. r=KrisWright,smaug,valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D205194
2024-03-21 08:35:36 +00:00
Bryan Thrall d861e4d1cb Bug 1865406 - Use JS::Prefs to add browser preference r=jandem
Even though it supports adding preferences to JS Shell, I kept the custom
`--enable-json-parse-with-source` because it makes the shell-option flags very
slightly easier in jstests.

Differential Revision: https://phabricator.services.mozilla.com/D202615
2024-03-20 21:17:24 +00:00
Butkovits Atila 612c6c012f Backed out 12 changesets (bug 1865116, bug 1865406, bug 1865115, bug 1860889) for causing build bustages at GCHashTable.h. CLOSED TREE
Backed out changeset c82ea4f23c92 (bug 1865406)
Backed out changeset 5129e0aba202 (bug 1860889)
Backed out changeset 2267e7765e87 (bug 1860889)
Backed out changeset 0f5d6ecc7a9f (bug 1860889)
Backed out changeset 3614bce991ac (bug 1860889)
Backed out changeset e15a85fbd4d7 (bug 1865116)
Backed out changeset 4e0a26aa5c3f (bug 1865115)
Backed out changeset f5019c47d0a8 (bug 1865115)
Backed out changeset cc30b271bc5f (bug 1865115)
Backed out changeset 287c10cf1375 (bug 1865115)
Backed out changeset 5aab94056467 (bug 1865115)
Backed out changeset cf7afec72efb (bug 1865115)
2024-03-20 19:21:03 +02:00
Bryan Thrall 77e3e18357 Bug 1865406 - Use JS::Prefs to add browser preference r=jandem
Even though it supports adding preferences to JS Shell, I kept the custom
`--enable-json-parse-with-source` because it makes the shell-option flags very
slightly easier in jstests.

Differential Revision: https://phabricator.services.mozilla.com/D202615
2024-03-20 16:30:58 +00:00
sunil mayya 85b00417e6 Bug 1871373 - Add keepalive attribute in Request.webidl. r=necko-reviewers,webidl,smaug,valentin
Differential Revision: https://phabricator.services.mozilla.com/D204895
2024-03-20 13:14:51 +00:00
Jamie Nicol 9ea5032c78 Bug 1886292 - Let webrender low-quality pinch zoom ride the trains on Android. r=nical
We should have done this a long time ago but forgot that it was nightly-only.

Differential Revision: https://phabricator.services.mozilla.com/D205136
2024-03-19 21:35:21 +00:00
Randell Jesup 7c14bf06e1 Bug 1356686: Put OMT decompression behind a pref r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D204957
2024-03-19 17:27:23 +00:00
Randell Jesup 066055e41e Bug 1356686 - Do decompression off main thread in content r=necko-reviewers,valentin,extension-reviewers,robwu
Content processes will now always retarget delivery of OnDataAvailable for Http
channels off the main thread. Consumers that were previously redirecting
off-main thread are not affected and their retargeting will stick, but any
Httpchannel that was not retargeted off the main thread will be retargeted to
the nsIStreamTransportService.

If the listener for nsHTTPCompressConv cannot be called off the main thread (ie
the call to nsIRetargetableRequest::CheckListenerChain would fail),
nsHTTPCompressConv will be called off main thread but dispatch its decoded data
back to the main thread.

Differential Revision: https://phabricator.services.mozilla.com/D191377
2024-03-19 17:27:22 +00:00
Benjamin VanderSloot 590561cbab Bug 1884185 - Disable the AntiTrackingRedirectHeuristic in Nightly - r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D203937
2024-03-19 15:19:26 +00:00
André Bargull fa04aeae99 Bug 1885337 - Part 1: Implement to/from hex methods. r=dminor
Add preference for the proposal and implement to/from hex-string methods. The
initial implementation doesn't yet try to optimise allocations. For example as
a follow-up, we could directly allocate in the correct jemalloc arena instead of
first creating an intermediate `js::Vector`.

Differential Revision: https://phabricator.services.mozilla.com/D204636
2024-03-19 13:56:45 +00:00
Sandor Molnar ae4cdfc2b9 Backed out 3 changesets (bug 1764201) for causing multiple failures, including build bustages @ widget/windows/ScreenHelperWin.cpp CLOSED TREE
Backed out changeset ea6921c88429 (bug 1764201)
Backed out changeset ff751c2ce8ef (bug 1764201)
Backed out changeset 2d21d14a2df3 (bug 1764201)
2024-03-19 17:12:40 +02:00
Brad Werth 67f8a6e7ac Bug 1764201 Part 2: Make Gecko_MediaFeatures_VideoDynamicRange check per-screen HDR. r=emilio
This makes all platforms report video-dynamic-range:high if the screen
most closely associated with the document (according to the logic of
nsDeviceContext::FindScreen) is HDR capable.

This removes the LookAndFeel id for VideoDynamicRange, since it is only
used by Gecko_MediaFeatures_VideoDynamicRange, which is being modified
here to use the nsDeviceContext instead.

It also removes gfxPlatform::supportsHDR and its implementations, as it
is no longer used.

Differential Revision: https://phabricator.services.mozilla.com/D203329
2024-03-19 13:52:31 +00:00
David Shin 1e31a04af4 Bug 1882581: Implement `@scope` parsing. r=firefox-style-system-reviewers,saschanaz,emilio
Differential Revision: https://phabricator.services.mozilla.com/D203153
2024-03-19 13:36:48 +00:00
pstanciu a66ef22cd2 Backed out 3 changesets (bug 1885337) for causing bustages on TypedArrayObject.cpp. CLOSED TREE
Backed out changeset 13160371cd95 (bug 1885337)
Backed out changeset 9d1ed8863e3c (bug 1885337)
Backed out changeset c514b57a1a81 (bug 1885337)
2024-03-19 15:15:32 +02:00
André Bargull 3fa746ecdf Bug 1885337 - Part 1: Implement to/from hex methods. r=dminor
Add preference for the proposal and implement to/from hex-string methods. The
initial implementation doesn't yet try to optimise allocations. For example as
a follow-up, we could directly allocate in the correct jemalloc arena instead of
first creating an intermediate `js::Vector`.

Differential Revision: https://phabricator.services.mozilla.com/D204636
2024-03-19 10:42:46 +00:00
sotaro 21b8d6a581 Bug 1885490 - Add a capability to disable RemoteTexture recycling r=gfx-reviewers,nical
Disabling recycling could help some situations like bug 1879694.

Differential Revision: https://phabricator.services.mozilla.com/D204733
2024-03-19 00:18:34 +00:00
Sandor Molnar a764c03b7c Backed out 4 changesets (bug 1356686) for causing build bustages @ netwerk/protocol/http/HttpChannelChild.cpp CLOSED TREE
Backed out changeset 63dc52c69902 (bug 1356686)
Backed out changeset 6e9726c26d07 (bug 1356686)
Backed out changeset 3b150d676b31 (bug 1356686)
Backed out changeset 54754a50d992 (bug 1356686)
2024-03-19 08:29:08 +02:00
Kershaw Chang f975a57a1e Bug 1870579 - Use PK11_GenerateRandom to generate random number, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D204755
2024-03-18 21:51:14 +00:00
Boris Chiou b9d9282f7f Bug 1823463 - Support shape() for clip-path property in style. r=emilio
Implement the style part for shape(). Besides, update some issues in the
test file, e.g. avoid using viewport height so we get the fixed result
on different devices.

I will refactor `PathCommand` to let it be a specialization of
`GenericShapeCommand` in the following path.

Differential Revision: https://phabricator.services.mozilla.com/D202882
2024-03-18 21:20:28 +00:00
Randell Jesup 57dfce801d Bug 1356686: Put OMT decompression behind a pref r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D204957
2024-03-18 20:04:02 +00:00
Randell Jesup ff7576cfea Bug 1356686 - Do decompression off main thread in content r=necko-reviewers,valentin,extension-reviewers,robwu
Content processes will now always retarget delivery of OnDataAvailable for Http
channels off the main thread. Consumers that were previously redirecting
off-main thread are not affected and their retargeting will stick, but any
Httpchannel that was not retargeted off the main thread will be retargeted to
the nsIStreamTransportService.

If the listener for nsHTTPCompressConv cannot be called off the main thread (ie
the call to nsIRetargetableRequest::CheckListenerChain would fail),
nsHTTPCompressConv will be called off main thread but dispatch its decoded data
back to the main thread.

Differential Revision: https://phabricator.services.mozilla.com/D191377
2024-03-18 20:04:01 +00:00
Natalia Csoregi 3db9556f81 Backed out 2 changesets (bug 1882581) for causing bustage on InspectorUtils.cpp. CLOSED TREE
Backed out changeset 9f390afd0df5 (bug 1882581)
Backed out changeset 4781bbc7324f (bug 1882581)
2024-03-19 05:38:08 +02:00
David Shin 0ed15605fb Bug 1882581: Implement `@scope` parsing. r=firefox-style-system-reviewers,saschanaz,emilio
Differential Revision: https://phabricator.services.mozilla.com/D203153
2024-03-18 18:31:18 +00:00
Jon Coppeard 2ae057efaf Bug 1787526 - Part 1: Add configuration for semispace nursery r=sfink
Add a GC parameter and pref for semispace nursery which is disabled by default.

Enable it for the shell rootanalysis job to get get some test coverage.

Differential Revision: https://phabricator.services.mozilla.com/D196431
2024-03-18 16:13:50 +00:00
Mike Conley 4cb39b58c6 Bug 1883514 - Add nsIPrefService.backupPrefFile to asynchronously write prefs to a backup file. r=KrisWright
Instead of modifying SavePrefFile to do off-main-thread writing for
the non-nullptr case, I chose to create a new method dedicated to
writing to the non-default preference file for backing up. This
method will always use off-main-thread writing, unless the preference
service is configured to not allow that.

In either case, it'll return a Promise that resolves when the backup
file has been written.

This also fixes a bug where calling SavePrefFile with some nsIFile
wouldn't necessarily write to that file if there was a prior write
operation still being processed.

Differential Revision: https://phabricator.services.mozilla.com/D203832
2024-03-18 14:27:39 +00:00
Eitan Isaacson c71730fcab Bug 1885607 - P2: Add ARIAElementReflection pref. r=webidl,smaug
Enable only on nightly for now.

Depends on D204807

Differential Revision: https://phabricator.services.mozilla.com/D204808
2024-03-16 21:37:24 +00:00
Eitan Isaacson 47668c08f8 Bug 1885607 - P1: Retire ARIAReflection pref. r=webidl,smaug
It is already enabled in release since 119.

Differential Revision: https://phabricator.services.mozilla.com/D204807
2024-03-16 21:37:24 +00:00
stransky d07fe21409 Bug 1876366 [Linux] Allow to use legacy cursor if widget.gtk.legacy-cursors.enabled is set r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D204351
2024-03-15 22:48:57 +00:00
Kershaw Chang 4043773256 Bug 1885309 - Support mjs files for zero_byte_load, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D204635
2024-03-15 13:32:48 +00:00
Mike Hommey c70ca80cfd Bug 1884836 - Base graphics support for iOS. r=gfx-reviewers,bradwerth
Original work by Nika Layzell and Ted Mielczarek.

Of note:
- GLdouble and GLclampd are not defined in the iPhoneOS SDK opengl
  headers.
- GL_CONTEXT_PROVIDER_DEFAULT was defined too early for
  GLContextProviderEAGL to be used as intended.
- GLContextProviderEAGL::CreateForCompositorWidget was aligned with
  GLContextProviderCGL::CreateForCompositorWidget. There is a ton of
  overlap between both, but sharing more code was left out of scope.
- MacIOSurface::BindTexImage and
  SurfacePoolCA::LockedPool::GetFramebufferForSurface were left
  unimplemented.
- RootSnapshotter is disabled.

Differential Revision: https://phabricator.services.mozilla.com/D204323
2024-03-15 01:28:27 +00:00
Stanca Serban 25baf2ac1a Backed out 2 changesets (bug 1884836) for causing mochitests failures in test_2_conformance__textures__misc__texture-corner-case-videos.html. CLOSED TREE
Backed out changeset 56bbc2a419e8 (bug 1884836)
Backed out changeset cc464f6e2cfb (bug 1884836)
2024-03-15 01:59:29 +02:00
Mike Hommey a58d54f79b Bug 1884836 - Base graphics support for iOS. r=gfx-reviewers,bradwerth
Original work by Nika Layzell and Ted Mielczarek.

Of note:
- GLdouble and GLclampd are not defined in the iPhoneOS SDK opengl
  headers.
- GL_CONTEXT_PROVIDER_DEFAULT was defined too early for
  GLContextProviderEAGL to be used as intended.
- GLContextProviderEAGL::CreateForCompositorWidget was aligned with
  GLContextProviderCGL::CreateForCompositorWidget. There is a ton of
  overlap between both, but sharing more code was left out of scope.
- MacIOSurface::BindTexImage and
  SurfacePoolCA::LockedPool::GetFramebufferForSurface were left
  unimplemented.
- RootSnapshotter is disabled.

Differential Revision: https://phabricator.services.mozilla.com/D204323
2024-03-14 20:56:50 +00:00
Simon Pieters 4ee33aeaa9 Bug 1883896 - Remove UA styles for h1 in article/aside/nav/section (Nightly only). r=emilio
Also change to shorthands per https://github.com/whatwg/html/pull/10181

Differential Revision: https://phabricator.services.mozilla.com/D203777
2024-03-14 17:49:16 +00:00
Mark Banner 3d5bb40f49 Bug 1884623 - Update more jsm references in production code and docs in misc code. r=mossop,necko-reviewers,profiler-reviewers,julienw,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D204185
2024-03-14 17:42:28 +00:00
alwu 8b717bba25 Bug 1885396 - disable media engine pref on Dev Edition. r=media-playback-reviewers,jolin
Differential Revision: https://phabricator.services.mozilla.com/D204672
2024-03-14 17:33:23 +00:00
Edgar Chen bebdddcf19 Bug Bug 1877400 - Enabled `dom.events.asyncClipboard.readText` by default; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D203699
2024-03-14 17:32:00 +00:00
Sandor Molnar 09d9822ba8 Backed out 3 changesets (bug 1884623) for causing multiple failures CLOSED TREE
Backed out changeset 3a264233ce8e (bug 1884623)
Backed out changeset acdf8a83a49c (bug 1884623)
Backed out changeset de64ce832b8a (bug 1884623)
2024-03-14 17:03:37 +02:00
Valentin Gosu 69eefe3e80 Bug 1874464 - Turn on native HTTPS resolver on Nightly and early beta r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D204498
2024-03-14 13:33:53 +00:00
Mark Banner fcaf27c6e1 Bug 1884623 - Update more jsm references in production code and docs in misc code. r=mossop,necko-reviewers,profiler-reviewers,julienw,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D204185
2024-03-14 12:18:01 +00:00
alwu 61068c7521 Bug 1881620 - enable media engine for encypted playback on Nightly and Dev Edition. r=media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D202511
2024-03-13 22:13:58 +00:00
Butkovits Atila 640d8aa060 Backed out changeset d1d9d57a9895 (bug 1865394) for causing failures at browser_net_har_copy_all_as_har.js. CLOSED TREE 2024-03-13 21:04:58 +02:00
alwu e9d9030cd2 Bug 1884719 - part3 : add a by-pass pref for testing. r=media-playback-reviewers,ci-and-tooling,jmaher,padenot
Ideally, we should run `wmfme` on the gpu worker in order to access
video hardware decoding. However, when switching task to the gpu
worker, there are some tests starting failed on the try server [1].

Therefore, adding this pref temporarily to bypass the gfx check until
we figure out why those tests fail on the gpu worker.

[1] https://treeherder.mozilla.org/jobs?repo=try&revision=bd9a68c7c259ba9028051c8898ddd69384616ac5&selectedTaskRun=OvNqUv77Q5OVeBDlIhWQ5g.0

Differential Revision: https://phabricator.services.mozilla.com/D204443
2024-03-13 17:58:04 +00:00
dylan f01e37b32b Bug 1865394 - added urgency and incremental to request header in netmonitor. r=necko-reviewers,extension-reviewers,devtools-reviewers,valentin,robwu,bomsy
Differential Revision: https://phabricator.services.mozilla.com/D201265
2024-03-13 17:03:22 +00:00
Florian Quèze ea2845147b Bug 1884383 - Support including markers from external sources in gecko profiles, r=canaltinova,profiler-reviewers.
Differential Revision: https://phabricator.services.mozilla.com/D204044
2024-03-13 16:27:45 +00:00
stransky d885a09053 Bug 1439247 [Linux] Allow to disable middle mouse button events by pref r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D204493
2024-03-13 12:15:32 +00:00
Peter Van der Beken 80aa10467a Bug 1883278 - Force-enable platform collection code of session store when SHIP is enabled. r=farre,geckoview-reviewers,sessionstore-reviewers
If session history in the parent is enabled then session store only works
correctly if the platform collection code is turned on.

Differential Revision: https://phabricator.services.mozilla.com/D203375
2024-03-13 10:56:33 +00:00
Peter Van der Beken 30b363a85d Bug 1883278 - Remove browser.sessionstore.collect_session_storage and browser.sessionstore.collect_zoom. r=farre,sessionstore-reviewers
These prefs don't do anything unless browser.sessionstore.platform_collection is
enabled, but we don't need the granularity that they provide. Let's just use
have the one  browser.sessionstore.platform_collection pref control everything.

Differential Revision: https://phabricator.services.mozilla.com/D203374
2024-03-13 10:56:32 +00:00
Cristian Tuns 50eb644997 Backed out changeset 9ad2c5fa9f3b (bug 1883626) for causing Bug 1884578 CLOSED TREE 2024-03-13 06:16:37 -04:00
Cristian Tuns 6169ac57de Backed out 8 changesets (bug 1081542) for causing Bug 1885050
Backed out changeset 38614c34e575 (bug 1081542)
Backed out changeset 7571e95ed78c (bug 1081542)
Backed out changeset 29f139450ccc (bug 1081542)
Backed out changeset 058d5712354b (bug 1081542)
Backed out changeset 7f46e8820023 (bug 1081542)
Backed out changeset d29d7e9c38bd (bug 1081542)
Backed out changeset 0a6b3d90e636 (bug 1081542)
Backed out changeset 27dae926668f (bug 1081542)
2024-03-13 06:15:27 -04:00
Mirko Brodesser 6384e462ba Bug 1882498: add web API stubs for Trusted Types guarded behind a new pref. r=smaug,peterv
The TODOs corresponding to the stubs will be implemented in separate
patches.

Differential Revision: https://phabricator.services.mozilla.com/D202930
2024-03-13 08:24:18 +00:00
Emilio Cobos Álvarez 04ffe8fa67 Bug 1884452 - Allow users to disable non-native titlebar buttons on Linux. r=dao,stransky,desktop-theme-reviewers
If we wanted to provide this, it's not super-hard... But not sure if
worth it.

Differential Revision: https://phabricator.services.mozilla.com/D204246
2024-03-12 18:08:20 +00:00
Dan Robertson b189986e26 Bug 1816471 - Increase the touch activation duration. r=botond
Now that the touch activation duration no longer impacts the timing of
synthesized mouse events for single-tap gestures, increase the duration.
This should give users a better indication of element activation, without
negatively impacting performance.

Differential Revision: https://phabricator.services.mozilla.com/D204047
2024-03-12 03:04:07 +00:00
sotaro 9165f46417 Bug 1883577 - Add error handling to Super Resolution setting r=gfx-reviewers,bradwerth
If setting Super Resolution is failed, it needs to be disable the next time.

pref gfx.webrender.super-resolution.nvidia is changed to a generic name gfx.webrender.overlay-vp-super-resolution

Differential Revision: https://phabricator.services.mozilla.com/D204172
2024-03-12 00:41:54 +00:00
David P 38e9f69047 Bug 1879181: Allow skipping content analysis for requests that match url list r=gstoll,win-reviewers
Check the URLs in the request against the prefs
browser.contentanalysis.allow_url_regex_list and
browser.contentanalysis.deny_url_regex_list, which are space-separated
lists of ECMAscript regexs that match against ASCII-encoded URLs.

Differential Revision: https://phabricator.services.mozilla.com/D203508
2024-03-11 23:55:47 +00:00
Nika Layzell 7fb185e583 Bug 1868001 - Part 1: Ignore Content-Disposition if DONT_RETARGET is set, r=smaug
This patch modifies the behaviour of loads when the DONT_RETARGET
nsIURILoader flag is set, making them ignore the Content-Disposition
header. This means that loads which cannot trigger downloads will
attempt to display handleable content which would otherwise be
downloaded.

This keeps overall behaviour of object/embed elements more similar to
their behaviour pre-Fission, while allowing them to load attachment PDFs
and Images as-if they were being displayed by a plugin.

This patch does not change the existing behaviour around
unknown/unhandleable resource types in object/embed elements.
In Gecko, object/embed elements are prevented from triggering downloads
or external protocol handlers during their initial load. Other browser
engines can trigger a download for an unknown resource type (or
sometimes an attachment resource).

The new pref dom.navigation.object_embed.allow_retargeting can be
enabled to instead trigger a download when loading these resources
within an object/embed element.

Differential Revision: https://phabricator.services.mozilla.com/D201645
2024-03-11 20:17:41 +00:00
Emilio Cobos Álvarez 77bd48c64e Bug 1883209 - Disable harder wayland's appmenu support. r=stransky
Until it has a final shape, at least, since there's ongoing work and
discussion in the MR.

Differential Revision: https://phabricator.services.mozilla.com/D203933
2024-03-11 17:43:38 +00:00
sunil mayya 655607212f Bug 1864817 - implement OnDataFinished for CSSLoader. r=jesup,necko-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D189403
2024-03-10 14:12:04 +00:00
Valentin Gosu 34b7da2258 Bug 1883626 - Avoid race between HttpChannelParent::Delete and HttpChannelParent::SendRedirectFailed r=necko-reviewers,kershaw
When HttpChannelParent::OnRedirectResult is called with an error code,
CompleteRedirect would end up calling SendRedirectFailed, then soon after
we'd call redirectChannel->Delete()

RecvRedirectFailed() then calls mRedirectChannelChild->Cancel() which races
against the Delete called by the main proces.

Differential Revision: https://phabricator.services.mozilla.com/D203601
2024-03-10 09:41:49 +00:00
Cosmin Sabou c047d6e970 Backed out changeset 9da36d4b3b14 (bug 1864817) for causing frequent StyleSheet related failures. CLOSED TREE 2024-03-09 03:43:15 +02:00
Cosmin Sabou 0f00df454f Backed out 3 changesets (bug 1879181) for causing gtest failures on ContentAnalysisTest.
Backed out changeset b2407a14159f (bug 1879181)
Backed out changeset 78303b2900e9 (bug 1879181)
Backed out changeset 25521d09c1de (bug 1879181)
2024-03-09 01:59:45 +02:00
sunil mayya b72114e181 Bug 1864817 - implement OnDataFinished for CSSLoader. r=jesup,necko-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D189403
2024-03-08 20:58:37 +00:00
Jan-Ivar Bruaroey 4cbdb31334 Bug 1882399 - Make RTCSessionDescription members readonly in Nightly cycle using pref media.peerconnection.description.legacy.enabled = false. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D203816
2024-03-08 20:58:08 +00:00
Jan-Ivar Bruaroey b75ea4dd09 Bug 1882399 - Add pref media.peerconnection.treat_warnings_as_errors to catch warnings in mochitests. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D203813
2024-03-08 20:58:07 +00:00
David P c76a1ddc8d Bug 1879181: Allow skipping content analysis for requests that match url list r=gstoll,win-reviewers
Check the URLs in the request against the prefs
browser.contentanalysis.allow_url_regex_list and
browser.contentanalysis.deny_url_regex_list, which are space-separated
lists of ECMAscript regexs that match against ASCII-encoded URLs.

Differential Revision: https://phabricator.services.mozilla.com/D203508
2024-03-08 20:28:09 +00:00
David P ad262e4950 Bug 1882601: Add content analysis config to enterprise policy r=gstoll,mkaply
Differential Revision: https://phabricator.services.mozilla.com/D203339
2024-03-08 19:37:04 +00:00
Cristian Tuns 72f6df8f51 Backed out changeset 4c5285764100 (bug 1883626) for causing build bustages in HttpChannelParent.cpp CLOSED TREE 2024-03-08 04:33:15 -05:00
Valentin Gosu ec021dbd0a Bug 1874464 - Turn on native HTTPS-RR DNS resolver on Nightly r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D198437
2024-03-08 09:12:06 +00:00
Valentin Gosu fad3d4e4eb Bug 1883626 - Avoid race between HttpChannelParent::Delete and HttpChannelParent::SendRedirectFailed r=necko-reviewers,kershaw
When HttpChannelParent::OnRedirectResult is called with an error code,
CompleteRedirect would end up calling SendRedirectFailed, then soon after
we'd call redirectChannel->Delete()

RecvRedirectFailed() then calls mRedirectChannelChild->Cancel() which races
against the Delete called by the main proces.

Differential Revision: https://phabricator.services.mozilla.com/D203601
2024-03-08 08:57:28 +00:00
dylan db2b454318 Bug 621429 - Added button to allow WPAD while using system proxy settings. r=necko-reviewers,fluent-reviewers,settings-reviewers,kershaw,bolsson,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D183429
2024-03-08 04:38:55 +00:00
sotaro d1064e447a Bug 1882005 - Block VideoProcessor-HDR on SDR content depends on driver version r=gfx-reviewers,jrmuizel
chromium blocks it when driver is not 550.00+.

pref gfx.webrender.video-true-hdr.nvidia is changed to a generic name gfx.webrender.overlay-vp-auto-hdr

Differential Revision: https://phabricator.services.mozilla.com/D203568
2024-03-08 01:38:56 +00:00
Gregory Pappas ea69b62538 Bug 1883217 - Remove unused defines in IDL files r=webdriver-reviewers,necko-reviewers,credential-management-reviewers,places-reviewers,dom-core,Standard8,valentin,mccr8,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D203347
2024-03-06 19:04:25 +00:00
Iulian Moraru e5cdcfa441 Backed out changeset 6ec2dda8f935 (bug 1874464) for causing Bug 1883938. CLOSED TREE 2024-03-06 19:36:43 +02:00
Emilio Cobos Álvarez 6c57980b8f Bug 1883132 - Suppress a11y instantiation on Win11 for the snap layouts feature. r=Jamie
This is not ideal, because they fall back to position the popup under
the cursor, but it's probably better.

The right thing to do would be for Windows to use the TITLEBARINFOEX
message. We should probably still land that code just so they can
eventually use it, seems worth doing anyways.

Differential Revision: https://phabricator.services.mozilla.com/D203423
2024-03-06 15:13:58 +00:00
Valentin Gosu 13e5cc5856 Bug 1874464 - Turn on native HTTPS-RR DNS resolver on Nightly r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D198437
2024-03-06 13:08:08 +00:00
Natalia Csoregi 98a58e605d Backed out 7 changesets (bug 1881620) for causing frequent media crashes. CLOSED TREE
Backed out changeset d07acf022aad (bug 1881620)
Backed out changeset c58d5ba5c317 (bug 1881620)
Backed out changeset 5f23b23fc038 (bug 1881620)
Backed out changeset 1d7ec3e9b00f (bug 1881620)
Backed out changeset fab988ca73ff (bug 1881620)
Backed out changeset dcafb1fadf9b (bug 1881620)
Backed out changeset 7a2fb26876e1 (bug 1881620)
2024-03-06 11:50:52 +02:00
Vincent Hilla 321d17ec2b Bug 1883724 - Disable Screen Wake Lock in release. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D203644
2024-03-05 22:28:28 +00:00
Cristian Tuns a414ebe1ef Backed out changeset b1dedc536b88 (bug 1883724) for causing build bustages with StaticPrefList.yaml CLOSED TREE 2024-03-05 15:35:45 -05:00
Vincent Hilla 9d265f33a4 Bug 1883724 - Disable Screen Wake Lock in release. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D203644
2024-03-05 18:19:58 +00:00
Paul Adenot d2f6ed95cf Bug 1878503 - Remove MOZ_FFVPX and the associated pref. r=glandium,media-playback-reviewers,geckoview-reviewers,alwu
ffvpx is now always compiled in, this is part a rationalization of the codec
libraries we're using.

Differential Revision: https://phabricator.services.mozilla.com/D202813
2024-03-05 16:06:49 +00:00
Boris Chiou e554c2f28c Bug 1868374 - Ship transform-box: content-box | stroke-box. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D195622
2024-03-05 14:56:34 +00:00
Norisz Fay f263bf8444 Backed out changeset 48bac688dfe1 (bug 1874464) for causing xpcshell failures on test_http2-proxy.js / test_retry_0rtt.js 2024-03-05 17:04:26 +02:00
Valentin Gosu dc88d7c600 Bug 1874464 - Turn on native HTTPS-RR DNS resolver on Nightly r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D198437
2024-03-05 10:39:49 +00:00
Greg Stoll 398bc40342 Bug 1882596 - verify signature of content analysis client r=handyman
Differential Revision: https://phabricator.services.mozilla.com/D203476
2024-03-05 02:06:32 +00:00
alwu 88281f4004 Bug 1881620 - part1 : enable media engine for encypted playback on Nightly and Dev Edition. r=media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D202511
2024-03-05 02:03:44 +00:00
Narcis Beleuzu 0f74acc748 Backed out changeset 852f9ed658e0 (bug 1874464) for xpcshell failure on test_retry_0rtt.js . CLOSED TREE 2024-03-05 02:42:08 +02:00
Valentin Gosu 9baabc1291 Bug 1874464 - Turn on native HTTPS-RR DNS resolver on Nightly r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D198437
2024-03-04 17:01:47 +00:00
Tom Ritter a4c504b6d2 Bug 1879154: Create the User Hardware Characteristics Ping r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D200992
2024-03-04 16:43:19 +00:00
Sean Feng 8f46bf2a0c Bug 1483828 - [Part 1] Disallow <tab> to move focus to root element r=smaug
Brings us on-par with Chrome and Safari

Differential Revision: https://phabricator.services.mozilla.com/D198436
2024-03-04 14:16:30 +00:00
Jens Stutte bf51a8ef09 Bug 1879814 - Rename network.cache.purgebyfrecency_minprogress_xxx to network.cache.purge_minprogress_xxx and use it for all purge variants. r=necko-reviewers,jesup,valentin
Disk operations may cause blocking IO, so for now we do not force any minprogress for the disk backed cache.

Differential Revision: https://phabricator.services.mozilla.com/D202172
2024-03-04 08:45:45 +00:00
Natalia Csoregi de714a36bc Backed out 4 changesets (bug 1879154) for causing bustage on nsUserCharacteristics.cpp. CLOSED TREE
Backed out changeset 499cae53f42d (bug 1879154)
Backed out changeset fdc6b48b7944 (bug 1879154)
Backed out changeset 2750454a061c (bug 1879154)
Backed out changeset 9890a85aacdd (bug 1879154)
2024-03-04 03:45:43 +02:00
Tom Ritter 52ae12cb44 Bug 1879154: Create the User Hardware Characteristics Ping r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D200992
2024-03-04 01:18:24 +00:00
Natalia Csoregi 2df76493a7 Backed out 4 changesets (bug 1879154) for causing bustage on nsUserCharacteristics.h. CLOSED TREE
Backed out changeset 62b681084f12 (bug 1879154)
Backed out changeset 0673192f62c4 (bug 1879154)
Backed out changeset 49bd1eba2ef6 (bug 1879154)
Backed out changeset 254b5503de48 (bug 1879154)
2024-03-03 23:18:33 +02:00
Tom Ritter 97e513a0c4 Bug 1879154: Create the User Hardware Characteristics Ping r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D200992
2024-03-03 20:22:20 +00:00
Björn Bidar 182fe12e8b Bug 1883184 - Initial pass at unity menubar support r=emilio
This implements the basic infrastructure to use use libdbusmenu to
export the Linux menubar.

For now, this is not integrated with the front-end, and there are some
remaining bugs, so it lands disabled by default behind the
widget.gtk.global-menu.enabled pref.

Differential Revision: https://phabricator.services.mozilla.com/D200259
2024-03-02 11:38:02 +00:00
Emilio Cobos Álvarez 97931898a0 Bug 1882853 - Enable align-content on blocks by default. r=jfkthame,dholbert,layout-reviewers
The implementation ended up not being terribly complex and even though
there's some compatibility risk (because align-content didn't use to
have an effect on blocks), chromium is on its way to ship this sooner
than us, so we'll find out if it's not compatible before this hits
release, if it isn't.

Differential Revision: https://phabricator.services.mozilla.com/D203156
2024-03-02 10:57:04 +00:00
David P f4b209b4f8 Bug 1882604: Make DLP agent timeout period a config setting r=gstoll
Differential Revision: https://phabricator.services.mozilla.com/D203306
2024-03-01 22:37:56 +00:00
Dave Townsend a7685d99a9 Bug 1864896: Autofix unused function arguments (modules/libpref). r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D202974
2024-03-01 20:52:28 +00:00
Dave Townsend 9ab0e7a50a Bug 1864896: Autofix unused function arguments (modules/libjar). r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D202973
2024-03-01 20:52:27 +00:00
Mike Hommey ee9ce3017a Bug 1882693 - Fix build failures in gfx/thebes when targeting iOS. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D203078
2024-03-01 00:02:57 +00:00
Michael Hughes 09024f2525 Bug 1880368 - change firefox and firefox-private protocols to firefox-bridge and firefox-private-bridge protocols r=nshukla,mossop
Differential Revision: https://phabricator.services.mozilla.com/D201879
2024-02-29 19:03:17 +00:00
Frédéric Wang 8d75a376ce Bug 1882144 - Remove layout.css.math-style.enabled and layout.css.math-depth.enabled prefs. r=layout-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D202940
2024-02-29 16:37:40 +00:00
Ben Visness 68ce590b2f Bug 1860816: Ship wasm multi-memory. r=rhunt
:)

Differential Revision: https://phabricator.services.mozilla.com/D201862
2024-02-28 17:05:32 +00:00
sotaro 26f74e078a Bug 1880387 - Add support of NVIDIA RTX Video TrueHDR for video playback r=gfx-reviewers,jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D201909
2024-02-28 11:20:33 +00:00
Iulian Moraru 1ed2858580 Backed out changeset aceeb8095d3a (bug 1880387) for causing nightly as release build bustages on DCLayerTree.cpp. 2024-02-28 07:16:25 +02:00
sotaro c44ac56b90 Bug 1880387 - Add support of NVIDIA RTX Video TrueHDR for video playback r=gfx-reviewers,jrmuizel
TrueHDR could be enabled only with nightly.

Differential Revision: https://phabricator.services.mozilla.com/D201909
2024-02-28 00:02:23 +00:00
Jan Varga 9c4ddf5bba Bug 1878841 - Add support for pausing IndexedDB connection thread during connection idle maintenance; r=dom-storage-reviewers,jari
Differential Revision: https://phabricator.services.mozilla.com/D200780
2024-02-27 20:59:25 +00:00
Iulian Moraru 8cc44430a4 Backed out 4 changesets (bug 1878841) for causing xpcshell failures on test_connection_idle_maintenance.js.
Backed out changeset 6dd4ac119065 (bug 1878841)
Backed out changeset 4001ea4b11b0 (bug 1878841)
Backed out changeset 40a429fa8f49 (bug 1878841)
Backed out changeset f22be1e1752b (bug 1878841)
2024-02-27 20:40:48 +02:00
Jan Varga 421a78193d Bug 1878841 - Add support for pausing IndexedDB connection thread during connection idle maintenance; r=dom-storage-reviewers,jari
Differential Revision: https://phabricator.services.mozilla.com/D200780
2024-02-27 17:18:15 +00:00
Ryan Hunt bc75aa21e2 Bug 1879179 - wasm: Merge function references flag into GC flag. r=bvisness
Function references is not useful on it's own without GC enabled. We
should just merge the flags into just 'GC'.

Differential Revision: https://phabricator.services.mozilla.com/D201872
2024-02-27 16:56:03 +00:00
Ryan Hunt 1fef284630 Bug 1879179 - wasm: Remove extended-const feature flag. r=bvisness
Extended const has shipped for a while and is stable. We can
remove the flag.

Differential Revision: https://phabricator.services.mozilla.com/D201871
2024-02-27 16:56:03 +00:00
Ryan Hunt 7715c08ab5 Bug 1879179 - wasm: Remove exceptions feature flag. r=bvisness
Exceptions has shipped for a while and is stable. We should
be able to remove the flag.

Differential Revision: https://phabricator.services.mozilla.com/D201870
2024-02-27 16:56:02 +00:00
Ryan Hunt ad5665f325 Bug 1879179 - wasm: Use JSPrefs for WasmFeatures.h. r=bvisness
Replace the part of WasmFeatures.h which would manually
read prefs through touching a bunch of Gecko stuff and
instead just use JSPrefs for that. Also use JSPrefs for
the shell instead of rolling our own shell flags. This
commit removes the 'stage' distinction because that only
changed how shell flags worked.

Differential Revision: https://phabricator.services.mozilla.com/D201869
2024-02-27 16:56:02 +00:00
fantasai 981ac7c72c Bug 1684236 - Implement 'align-content' on block containers. r=layout-reviewers,jfkthame
This is Fantasai's original patch, massively simplified:

 * We now can switch whether we're a BFC dynamically (bug 1765615), which
   simplifies the patch quite a lot.

 * I removed some changes that were specific to pagination but were untested.
   I left them as D202814, just in case we need some of those in the future.

All in all this makes the patch much more manageable.

Co-authored-by: Emilio Cobos Álvarez <emilio@crisal.io>

Differential Revision: https://phabricator.services.mozilla.com/D181858
2024-02-27 16:32:02 +00:00
Dimi 30fa2f4d8d Bug 1875254 - Enable Address Capture for US and CA regions in Release r=credential-management-reviewers,issammani
Differential Revision: https://phabricator.services.mozilla.com/D202832
2024-02-27 15:36:28 +00:00
Tooru Fujisawa 27a47f3b1d Bug 1081542 - Part 5: Move middlemouse.openNewWindow to StaticPrefList.yaml to access it from nsWindowWatcher::IsWindowOpenLocationModified. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D201933
2024-02-27 14:12:12 +00:00
Tooru Fujisawa 2716784ba5 Bug 1081542 - Part 4: Move browser.tabs.opentabfor.middleclick to StaticPrefList.yaml to access it from nsWindowWatcher::IsWindowOpenLocationModified. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D201932
2024-02-27 14:12:11 +00:00
Tooru Fujisawa c78707e125 Bug 1081542 - Part 2: Move browser.tabs.loadInBackground to StaticPrefList.yaml to access it from nsWindowWatcher::IsWindowOpenLocationModified. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D201930
2024-02-27 14:12:10 +00:00
Cristian Tuns 4e97787e18 Backed out 8 changesets (bug 1081542) for causing bc failures in browser_cancel_starting_autoscrolling_requested_by_background_tab.js CLOSED TREE
Backed out changeset 3cc96704d17f (bug 1081542)
Backed out changeset 9f3fe37b77ca (bug 1081542)
Backed out changeset 8d495120e6d2 (bug 1081542)
Backed out changeset ade6db42285d (bug 1081542)
Backed out changeset 56fb245cd38e (bug 1081542)
Backed out changeset c4530ae2b9e3 (bug 1081542)
Backed out changeset 758ad04a330e (bug 1081542)
Backed out changeset deb46de7b01c (bug 1081542)
2024-02-27 04:05:22 -05:00
Tooru Fujisawa f7f5d6a6d5 Bug 1081542 - Part 5: Move middlemouse.openNewWindow to StaticPrefList.yaml to access it from nsWindowWatcher::IsWindowOpenLocationModified. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D201933
2024-02-27 07:28:20 +00:00
Tooru Fujisawa d0e8751afa Bug 1081542 - Part 4: Move browser.tabs.opentabfor.middleclick to StaticPrefList.yaml to access it from nsWindowWatcher::IsWindowOpenLocationModified. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D201932
2024-02-27 07:28:20 +00:00
Tooru Fujisawa a444b0426e Bug 1081542 - Part 2: Move browser.tabs.loadInBackground to StaticPrefList.yaml to access it from nsWindowWatcher::IsWindowOpenLocationModified. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D201930
2024-02-27 07:28:19 +00:00
Frédéric Wang b005b82248 Bug 1872657 - Add fetchpriority support for `<link rel=preload as=image>`. r=valentin,smaug,manuel
This patch adds fetchpriority support for `<link rel=preload as=image>`
and equivalent HTTP Link header. The fetchpriority value is passed from
where the link is parsed down to `NewImageChannel` where the priority
is initially set. Currently, the default equals PRIORITY_LOW, but is
decreased a bit if LOAD_BACKGROUND flag is set (this is always the case
for link preload images, see `imgLoader::LoadImage`). Later, the
priority can be increased again depending on the category (see
`imgRequest::BoostPriority`).

In order to minimize the changes, the new calculation is to keep the
initial setting to PRIORITY_LOW, adjust it using a new
`network.fetchpriority.adjustments.*` preference depending on the
fetchpriority attributes, and then preserve further adjustments for
LOAD_BACKGROUND and `BoostPriority`.

For the default value `fetchpriority=auto`, there is no adjustment
i.e. we continue to start with PRIORITY_LOW. `fetchpriority=low/high`
are respectively mapped to PRIORITY_LOW/PRIORITY_HIGH which is simple
and consistent with the "Image" cases from Google's web.dev article
https://web.dev/articles/fetch-priority. These values could of course
be revised in the future after more experiments.

This change is covered by the following tests below. The expectations
is modified to match what is described above (i.e. map to PRIORITY_LOW
or PRIORITY_HIGH with adjustment due to LOAD_BACKGROUND):
- `link-initial-preload-image.h2.html`
- `link-dynamic-preload-image.h2.html`
- `kPipeHeaderPreloadImageLinks`

Based on a patch by Mirko Brodesser (mbrodesser@igalia.com)

Differential Revision: https://phabricator.services.mozilla.com/D197493
2024-02-27 06:33:48 +00:00
Norisz Fay f3ad092b32 Backed out 2 changesets (bug 1881620) causing multiple Media related failures CLOSED TREE
Backed out changeset 2bd01d77bc4d (bug 1881620)
Backed out changeset 2b6bef839c33 (bug 1881620)
2024-02-27 03:35:54 +02:00
alwu c3e6874982 Bug 1881620 - part1 : enable media engine for encypted playback on Nightly and Dev Edition. r=media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D202511
2024-02-26 22:24:52 +00:00
Hiroyuki Ikezoe 0d84054136 Bug 1871760 - Revert bug 1856088. r=botond
Two test cases attached in bug 1856088 now work with the previous commit and
work without `MergeableAbsolute`.

Differential Revision: https://phabricator.services.mozilla.com/D199841
2024-02-26 21:06:31 +00:00
John Lin d5e06859a5 Bug 1846796 - re-enable H.264 decoder on macOS for WebCodecs. r=chunmin
Also revert bug 1870346 to remove the pref that forces H.264 decoding on
macOS for testing.

Differential Revision: https://phabricator.services.mozilla.com/D202543
2024-02-26 18:43:14 +00:00
Stanca Serban b54de79827 Backed out changeset 621c8480cd35 (bug 1872657) for causing FetchPriority related bp-nu bustages in IconLoader.cpp. CLOSED TREE 2024-02-26 18:15:18 +02:00
Frédéric Wang c7734232ca Bug 1872657 - Add fetchpriority support for `<link rel=preload as=image>`. r=valentin,smaug,manuel
This patch adds fetchpriority support for `<link rel=preload as=image>`
and equivalent HTTP Link header. The fetchpriority value is passed from
where the link is parsed down to `NewImageChannel` where the priority
is initially set. Currently, the default equals PRIORITY_LOW, but is
decreased a bit if LOAD_BACKGROUND flag is set (this is always the case
for link preload images, see `imgLoader::LoadImage`). Later, the
priority can be increased again depending on the category (see
`imgRequest::BoostPriority`).

In order to minimize the changes, the new calculation is to keep the
initial setting to PRIORITY_LOW, adjust it using a new
`network.fetchpriority.adjustments.*` preference depending on the
fetchpriority attributes, and then preserve further adjustments for
LOAD_BACKGROUND and `BoostPriority`.

For the default value `fetchpriority=auto`, there is no adjustment
i.e. we continue to start with PRIORITY_LOW. `fetchpriority=low/high`
are respectively mapped to PRIORITY_LOW/PRIORITY_HIGH which is simple
and consistent with the "Image" cases from Google's web.dev article
https://web.dev/articles/fetch-priority. These values could of course
be revised in the future after more experiments.

This change is covered by the following tests below. The expectations
is modified to match what is described above (i.e. map to PRIORITY_LOW
or PRIORITY_HIGH with adjustment due to LOAD_BACKGROUND):
- `link-initial-preload-image.h2.html`
- `link-dynamic-preload-image.h2.html`
- `kPipeHeaderPreloadImageLinks`

Based on a patch by Mirko Brodesser (mbrodesser@igalia.com)

Differential Revision: https://phabricator.services.mozilla.com/D197493
2024-02-26 15:03:58 +00:00
Ziran Sun f2cbb52994 Bug 1866993 - Enable popover by default. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D194989
2024-02-26 10:08:16 +00:00
Gregory Pappas fe9782a65e Bug 1790700 - Show <input type='number'> spin buttons only on hover/focus, also hide them on Android r=emilio r=reland CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D202312
2024-02-25 03:14:08 +00:00
Iulian Moraru 1e3ab232b0 Backed out changeset 8d4c98c06aec (bug 1790700) to resolve a merge back central to autoland conflict - this will be relanded after. CLOSED TREE 2024-02-25 12:03:39 +02:00
Gregory Pappas 9ca7fc04b2 Bug 1790700 - Show <input type='number'> spin buttons only on hover/focus, also hide them on Android r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D202312
2024-02-25 03:14:08 +00:00
Cristian Tuns b8eb9f7912 Backed out changeset fedd91b7af1e (bug 1790700) for causing reftest failures in /not-other-type-unthemed-1.html CLOSED TREE 2024-02-24 21:06:56 -05:00
Gregory Pappas c89e89ffa8 Bug 1790700 - Show <input type='number'> spin buttons only on hover/focus, also hide them on Android r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D202312
2024-02-25 01:04:23 +00:00
Boris Chiou 9f6a2b2041 Bug 1805727 - Part 1: Support transition-behavior longhand in style. r=emilio
Add transition-behavior longhand property. This doesn't include layout
animation support.

Differential Revision: https://phabricator.services.mozilla.com/D200408
2024-02-23 21:41:48 +00:00
alwu bcd95b2e0e Bug 1881617 - enable 'media.eme.hdcp-policy-check.enabled' on Nightly and Dev Edition. r=media-playback-reviewers,padenot
Depends on D202508

Differential Revision: https://phabricator.services.mozilla.com/D202510
2024-02-23 17:52:56 +00:00
alwu f158f60327 Bug 1881614 - enable 'media.wmf.hevc.enabled' for media engine on Dev Edition. r=media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D202508
2024-02-23 17:11:12 +00:00
alwu 85e6b32c7d Bug 1881608 - enable 'media.eme.playready.enabled' on Nightly and Dev Edition. r=media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D202507
2024-02-23 16:43:45 +00:00
Paul Adenot ae9708f1fc Bug 1874789 - Make the new pref atomic.
Differential Revision: https://phabricator.services.mozilla.com/D202591
2024-02-23 15:30:52 +00:00
Andreas Pehrson 4b2edaa17a Bug 1874789 - Add a pref to allow disabling VOICE in cubeb. r=padenot
Intended as an escape valve and diagnosis tool in case someone has a device
setup that is troublesome with VPIO on macOS.

Differential Revision: https://phabricator.services.mozilla.com/D202405
2024-02-23 15:30:51 +00:00
Ziran Sun aa6bf5aefc Bug 1839319 - Add fetchpriority support for fetch() API. r=valentin,necko-reviewers,webidl,saschanaz,fredw
This is to add basic fetch priority support. It introduces preference of
fetch priority adjustment as per to recent discussions. We need to refine the
fetchpriority mapping taking into account of destination, which will be
addressed in Bug 1881040.

In addition, this changes the relervant prefs type to atomic type to accommodate
the access of the prefs off the main thread in the worker case.

Differential Revision: https://phabricator.services.mozilla.com/D200778
2024-02-23 15:14:17 +00:00
Sandor Molnar 35824cf6dd Backed out 2 changesets (bug 1874789) for causing assertion failures at media.getusermedia.microphone.prefer_voice_stream_with_processing.enabled CLOSED TREE
Backed out changeset 80e08d441c6c (bug 1874789)
Backed out changeset f0ab0afca52f (bug 1874789)
2024-02-23 17:12:41 +02:00
Andreas Pehrson c980d17fcf Bug 1874789 - Add a pref to allow disabling VOICE in cubeb. r=padenot
Intended as an escape valve and diagnosis tool in case someone has a device
setup that is troublesome with VPIO on macOS.

Differential Revision: https://phabricator.services.mozilla.com/D202405
2024-02-23 14:22:19 +00:00
Jon Coppeard 917ca0077d Bug 1881303 - Part 2: Expose eager nursery collection tunables as prefs r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D202476
2024-02-23 09:20:31 +00:00
James Teh 8d12f77056 Bug 1881190: Switch to a properly defined static pref for enabling of UI Automation. r=nlapre
Previously, we used an undefined (and thus hidden) pref, making it more difficult to toggle.
Also, we used GetBoolPref, which is slightly less efficient.
But mostly, this is just cleaner.

Differential Revision: https://phabricator.services.mozilla.com/D202383
2024-02-23 04:06:28 +00:00
Valentin Gosu 7be2dd861f Bug 1875000 - Avoid OOM in jar code r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D202307
2024-02-22 14:20:25 +00:00
Emilio Cobos Álvarez a56f40eee5 Bug 1881488 - Use a static pref for tooltip delay. r=masayuki,dom-core
It's 500 everywhere.

Differential Revision: https://phabricator.services.mozilla.com/D202419
2024-02-22 12:59:41 +00:00
sunil mayya 022e5ba65d Bug 1864817 - initialize STYLE_THREAD_POOL in Sevo_initialize. r=emilio,jesup
Differential Revision: https://phabricator.services.mozilla.com/D201022
2024-02-22 10:43:49 +00:00
Greg Stoll aff7a2dacd Bug 1878701 - Part 3: Use UX-suggested text for the DLP agent busy dialog r=handyman,fluent-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D200729
2024-02-21 22:59:53 +00:00
Stephen A Pohl e755967a21 Bug 1799332: Add a macOS Framework to replace the use of channel-prefs.js on macOS. r=glandium,mstange,KrisWright,bytesized
Differential Revision: https://phabricator.services.mozilla.com/D184711
2024-02-21 18:50:30 +00:00
Jens Stutte a8cc31504a Bug 1879814 - Raise network.cache.purgebyfrecency_minprogress_memory to 32. r=necko-reviewers,valentin
It is hard to predict reasonable values here. Sorting costs n*log2(n) comparisons and refptr swaps where n is the total number of cache entries. If we assume to be able to purge max. 10% of them, sorting a minimum of 32*10 entries takes 320*log2(320) ~= 2660 loop cycles. On the other hand 32 purges translate to probably 64 memory free operations, each of which might write a poison value block of max. 64 bytes each (see bug 1850008), resulting in a total write of 4096 bytes scattered on 64 memory locations plus some overhead for updating the hashtable.
For lower n nothing bad can happen, and for significantly higher n the sorting will always be the heavier part.

Differential Revision: https://phabricator.services.mozilla.com/D202171
2024-02-21 10:19:50 +00:00
Andrew Osmond 0fe9ca6a5f Bug 1795296 - Enable Direct2D backend with OffscreenCanvas. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D189533
2024-02-21 03:08:04 +00:00
Andrew Osmond 2358831abe Bug 1855742 - Part 4. Enable accelerated canvas backend with OffscreenCanvas. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D202287
2024-02-21 03:08:04 +00:00
Andrew Osmond 89415472e9 Bug 1855742 - Part 3. Allow recording based canvases with OffscreenCanvas. r=gfx-reviewers,lsalzman
It is disabled in this patch via the gfx.canvas.remote.allow-offscreen
pref. A follow up patch will enable this by default.

Differential Revision: https://phabricator.services.mozilla.com/D189532
2024-02-21 03:08:03 +00:00
Andrew Osmond 39d3e5d31c Bug 1855742 - Part 1. Make HTMLCanvasElement toDataURL and toBlob compatible with recordings. r=lsalzman
This patch makes us block on the DOM worker thread in order to
synchronize properly with canvas 2D recordings when toDataURL and toBlob
are called on an HTMLCanvasElement object which also called
transferControlToOffscreen and transferred it to a DOM worker.

Differential Revision: https://phabricator.services.mozilla.com/D202286
2024-02-21 03:08:02 +00:00
Greg Tatum 70d247ec06 Bug 1873743 - Stub out enough of remote settings to download; r=translations-reviewers,nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D198072
2024-02-21 02:58:51 +00:00
Sandor Molnar 1fbd02c1b7 Backed out 6 changesets (bug 1873743) for causing assertion failurest @ xpcom/threads/nsThreadManager.cpp CLOSED TREE
Backed out changeset 748e969e9203 (bug 1873743)
Backed out changeset 1f54d4417ebd (bug 1873743)
Backed out changeset 6baf7a096eba (bug 1873743)
Backed out changeset 4f9b7686df52 (bug 1873743)
Backed out changeset 2e9f3759da5a (bug 1873743)
Backed out changeset b8d384c0321a (bug 1873743)
2024-02-20 22:59:28 +02:00
Greg Tatum b046e5e4be Bug 1873743 - Stub out enough of remote settings to download; r=translations-reviewers,nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D198072
2024-02-20 18:20:06 +00:00
Sandor Molnar b1d213acb7 Backed out changeset 8e21fdfc60f0 (bug 1868001) for causing mochitest failures at dom/tests/mochitest/general/test_resource_timing_cross_origin.html CLOSED TREE 2024-02-20 20:36:30 +02:00
Nika Layzell ec657d1c80 Bug 1868001 - Ignore Content-Disposition if DONT_RETARGET is set, r=smaug
This patch modifies the behaviour of loads when the DONT_RETARGET
nsIURILoader flag is set, making them ignore the Content-Disposition
header. This means that loads which cannot trigger downloads will
attempt to display handleable content which would otherwise be
downloaded.

This keeps overall behaviour of object/embed elements more similar to
their behaviour pre-Fission, while allowing them to load attachment PDFs
and Images as-if they were being displayed by a plugin.

This patch does not change the existing behaviour around
unknown/unhandleable resource types in object/embed elements.
In Gecko, object/embed elements are prevented from triggering downloads
or external protocol handlers during their initial load. Other browser
engines can trigger a download for an unknown resource type (or
sometimes an attachment resource).

The new pref dom.navigation.object_embed.allow_retargeting can be
enabled to instead trigger a download when loading these resources
within an object/embed element.

Differential Revision: https://phabricator.services.mozilla.com/D201645
2024-02-20 17:33:57 +00:00
Robert Longson 3c4831f7fb Bug 1880689 - Remove SVGAElement.prototype.text r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D202084
2024-02-20 10:15:53 +00:00
Gregory Pappas 46bad4ecb4 Bug 1499547 - Remove DOMRequest r=webidl,smaug,emilio
Differential Revision: https://phabricator.services.mozilla.com/D202044
2024-02-19 20:53:49 +00:00
John Schanck 59f9935d38 Bug 1878725 - enable xyber768d00 handshake in desktop nightly. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D200717
2024-02-19 20:45:54 +00:00
Frédéric Wang b7757cf5b4 Bug 1880433 - Change internal priority of `fetchpriority=auto` to match when `network.fetchpriority` is disabled. r=valentin,necko-reviewers
This patch modifies defaults of `network.fetchpriority.adjustments.*`
preferences so that internal priority of `fetchpriority=auto` to matches
when `network.fetchpriority` is disabled (i.e. adjustment is 0) and
the extra minimal changes to ensure the order of internal priority values
for high, auto and low is unchanged. That way the current default
behavior for fetchpriority unspecified/auto won't change when we enable
the flag. We may decide to depart from that in the future though.

Differential Revision: https://phabricator.services.mozilla.com/D202065
2024-02-19 15:35:47 +00:00
Frédéric Wang 8b95523cd9 Bug 1880528 - Introduce preference for fetch priority adjustment of style load. r=valentin,necko-reviewers
This introduces preferences loading style. See D201997 for the
rationale, test coverage and why there is no behavior change.

Note that current behavior for deferred style is to always set
PRIORITY_LOW, so the fetchpriority attribute has no effect.

Some preference names could be more verbose to match the if
branches in `Loader::AdjustPriority` but note that it is not
clear whether "deferred preload style" can actually happen,
see bug 1879335.

Differential Revision: https://phabricator.services.mozilla.com/D202052
2024-02-19 13:35:40 +00:00
Frédéric Wang ede734680b Bug 1880528 - Introduce preference for fetch priority adjustment of <link rel=preload as=font/fetch>. r=valentin,necko-reviewers
This introduces preferences <link rel=preload as=font/fetch>.
See D201997 for the rationale, test coverage and why there is no
behavior change.

Differential Revision: https://phabricator.services.mozilla.com/D202047
2024-02-19 13:35:40 +00:00
Frédéric Wang 4b0b8b1ca2 Bug 1880528 - Introduce preference for fetch priority adjustment of scripts. r=valentin,necko-reviewers
This introduces preferences for non-link scripts. See D201997 for the
rationale, test coverage and why there is no behavior change.

Differential Revision: https://phabricator.services.mozilla.com/D202046
2024-02-19 13:35:39 +00:00
Frédéric Wang a4d4b33917 Bug 1880528 - Introduce preference for fetch priority adjustment of <link rel=preload as=script>. r=valentin,necko-reviewers
The fetchpriority attribute allows web developers to request some
adjustment to the internal priorities when fetching resources. In order
to give some flexibility for experimenting and choosing the values that
work best for Gecko, we will introduce new preferences to control
exactly how the internal priority is adjusted, depending on the value
auto/high/low of the fetchpriority attribute.

This is the first patch of a series introducing such preferences,
focusing on the case `<link rel=preload as=script>`. The following 3
integer preferences are introduced:

```
network.fetchpriority.adjustments.link-preload-script.low
network.fetchpriority.adjustments.link-preload-script.high
network.fetchpriority.adjustments.link-preload-script.auto
```

and are set so that we don't change current behavior (already
covered by tests). A test is also added to verify basic invariants
for such adjustments.

Differential Revision: https://phabricator.services.mozilla.com/D201997
2024-02-19 13:35:39 +00:00
Emilio Cobos Álvarez 47165ebb0f Bug 1868316 - Remove user-find, make inert not findable. r=dholbert
As per the HTML spec.

Differential Revision: https://phabricator.services.mozilla.com/D201906
2024-02-16 20:18:06 +00:00
Gregory Pappas a689de6f62 Bug 1880615 - Disable DOMRequest r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D202050
2024-02-16 16:21:26 +00:00
Stanca Serban 1acab4d1d1 Backed out changeset 313b43f262a9 (bug 1880615) for causing mochitests failures in test_domrequesthelper.xhtml. CLOSED TREE 2024-02-16 18:00:20 +02:00
Gregory Pappas 5ed46fe4f9 Bug 1880615 - Disable DOMRequest r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D202050
2024-02-16 14:53:20 +00:00
Cristian Tuns d65e0b8557 Backed out 3 changesets (bug 1878701) for causing remote failures in browser_PromptListener.js CLOSED TREE
Backed out changeset 2e05063bf9de (bug 1878701)
Backed out changeset 675a4ee7708c (bug 1878701)
Backed out changeset 2db4b9283ba5 (bug 1878701)
2024-02-14 16:26:16 -05:00
Brad Werth 91032acca4 Bug 1862223: Set 'full-screen-api.macos-native-full-screen' pref to true. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D200234
2024-02-14 19:58:42 +00:00
Greg Stoll eacb2481c6 Bug 1878701 - Part 3: Use UX-suggested text for the DLP agent busy dialog r=handyman,fluent-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D200729
2024-02-14 18:25:13 +00:00
Forrest Walker 747be92315 Bug 1876713 - Remove layout.css.overflow-overlay.enabled pref. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D201762
2024-02-14 17:41:49 +00:00
Emilio Cobos Álvarez 1311eb0c47 Bug 1877719 - Turn off overflow support on table cells in beta for now. r=layout-reviewers,tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D201777
2024-02-14 17:25:25 +00:00
Greg Stoll 143dc3245c Bug 1879182 - add a pref to make Content Analysis allow by default r=handyman
This will make DLP requests return Allow if the agent is not present or returns an error.

Differential Revision: https://phabricator.services.mozilla.com/D201277
2024-02-14 16:10:53 +00:00
Stanca Serban fe012122fa Backed out changeset 12efcdb2f38b (bug 1874464) for causing multiple failures. 2024-02-14 00:52:45 +02:00
Valentin Gosu 07bc5c649d Bug 1874464 - Turn on native HTTPS-RR DNS resolver on Nightly r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D198437
2024-02-13 20:22:14 +00:00
Matthew Gaudet 8985ec0427 Bug 1877824 - Enable EmulatesUndefined Fuse r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D201289
2024-02-13 18:35:42 +00:00
Matthew Gaudet a7cd601e5f Bug 1877824 - Switch Emulates Undefined Fuse to JS::Pref r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D201288
2024-02-13 18:35:41 +00:00
Valentin Gosu 3b1b5b351d Bug 1878506 - Add pref to make native HTTPS resolution exit early in automation r=necko-reviewers,kershaw
The purpose of this pref is to avoid breaking any tests that don't expect a
HTTPS record to be present. For example, if you're loading http://domain.com
in a test, and don't expect a HTTPS upgrade to happen, if that domain suddenly
adds a HTTPS record we might end up upgrading to HTTPS even in automation.

This pref does an early return with NS_ERROR_UNKNOWN_HOST just before doing
a call to the system API. This means we're still waiting in the DNS queue to
resolve the domain (simulating the same waiting times we might see
on users' computers), but we never actually use native DNS to resolve a HTTPS
record in automation.

Differential Revision: https://phabricator.services.mozilla.com/D200785
2024-02-13 09:47:06 +00:00
Natalia Csoregi 490f9ee48d Backed out 2 changesets (bug 1879954, bug 1878725) for causing failures on test_delegated_credentials.js. CLOSED TREE
Backed out changeset e7724c952412 (bug 1878725)
Backed out changeset 4390892ecb4b (bug 1879954)
2024-02-13 07:01:47 +02:00