23638 Commits

Author SHA1 Message Date
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