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

13384 Коммитов

Автор SHA1 Сообщение Дата
Sean Feng ec21b3c0a4 Bug 1734997 - Prototype the Prioritized Task Scheduling API r=smaug
Spec: https://wicg.github.io/scheduling-apis/

Differential Revision: https://phabricator.services.mozilla.com/D133494
2022-04-19 19:08:44 +00:00
Jan Horak 705f8983d6 Bug 1759840 Add support for location portal; r=emilio
The Firefox in flatpak has no access to the wireless networks to determine
accurate geolocation. We have to use the location portal instead which
provides the current location based on the nearby wireless accesspoints
or other methods.

Differential Revision: https://phabricator.services.mozilla.com/D142329
2022-04-19 11:42:38 +00:00
Molnar Sandor 509c3805f9 Backed out changeset 1529955a0df7 (bug 1759840) for causing build bustage in geolocation/Geolocation CLOSED TREE 2022-04-19 12:41:47 +03:00
Jan Horak f674f55333 Bug 1759840 Add support for location portal; r=emilio
The Firefox in flatpak has no access to the wireless networks to determine
accurate geolocation. We have to use the location portal instead which
provides the current location based on the nearby wireless accesspoints
or other methods.

Differential Revision: https://phabricator.services.mozilla.com/D142329
2022-04-19 09:02:55 +00:00
David Parks fab26ea630 Bug 1759558: Enable widget.windows.hide_cursor_when_typing by default r=cmartin
Differential Revision: https://phabricator.services.mozilla.com/D143850
2022-04-18 20:00:59 +00:00
Chun-Min Chang 2c01e7fdbf Bug 1238038 - Allow opening multiple devices r=padenot
This patch allows website users to open multiple microphones in the same
MediaTrackGraph.

Depends on D138189

Differential Revision: https://phabricator.services.mozilla.com/D138726
2022-04-18 18:45:36 +00:00
Emilio Cobos Álvarez d73e5f9faf Bug 1765106 - Define move-to-rect pref in all gtk builds.
MANUAL PUSH: Tier2 bustage fix CLOSED TREE
2022-04-18 11:37:00 +02:00
Razvan Cojocaru ad4c559a95 Bug 1758158 - nsWindow's initialize_prefs should use static prefs instead. r=emilio
Put mozilla.widget.raise-on-setfocus, widget.transparent-windows
and widget.wayland.use-move-to-rect in StaticPrefList.yaml, then
get rid of gRaiseWindows, gTransparentWindows and gUseMoveToRect
from widget/gtk/nsWindow.cpp.

Differential Revision: https://phabricator.services.mozilla.com/D143885
2022-04-18 01:09:03 +00:00
Shane Hughes 7810a6da05 Bug 1747343 - Add pref to set default action for new mimetypes. r=Gijs,fluent-reviewers,preferences-reviewers
When downloading a file, we check for existing mime types and construct
a new one if it's unrecognized. Mime types have a flag,
alwaysAskBeforeHandling, that determines whether the unknown content
type dialog should be opened before handling the file. Before bug
1733492, the default value for that flag was simply true. Since the new
downloads flow is intended to avoid unnecessary steps, the default value
was changed to the inverted value of the new downloads panel
improvements pref. This patch adds a new pref that the mime info
constructor will read in configuring the flag's value. If the
improvements pref is not enabled, then the flag will be true, so the UCT
dialog will open. If the improvements pref is enabled, then it'll use
the value of the new pref. Also add a an interface for the pref to the
about:preferences UI, and automatically migrate a false value for
browser.download.improvements_to_download_panel to a true value for this
pref. I'm updating some tangentially related test files since they
happen to be touched slightly by this change. Strictly speaking they
would still work, but if the pref value was somehow changed from the
default they would fail.

Differential Revision: https://phabricator.services.mozilla.com/D143002
2022-04-15 18:13:11 +00:00
Emilio Cobos Álvarez 9d3a8715e7 Bug 1764339 - Turn dom.window.content.untrusted.enabled off on release. r=smaug,saschanaz
We did it for early-beta in bug 1632143, for nightly even earlier. No
regressions in two years, sounds like flipping is warranted.

Differential Revision: https://phabricator.services.mozilla.com/D143496
2022-04-13 14:53:46 +00:00
Emilio Cobos Álvarez 300700e7ac Bug 1764134 - Enable inert attribute by default on early-beta and earlier. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D143388
2022-04-13 09:25:44 +00:00
criss 1ce796a4ee Backed out changeset fa6795d107b1 (bug 1745005) for causing multiple failures. CLOSED TREE 2022-04-13 13:23:03 +03:00
Tom Schuster 43b158ae1a Bug 1745005 - Add showPicker() to <input> elements. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D142754
2022-04-13 07:35:57 +00:00
Bryce Seager van Dyk cba5151aea Bug 1760527 - Use content signature instead of cert pinning everywhere for GMP updates. r=Gijs
This sets up prefs so by default any release will use the content signature path
for GMP updates, rather than cert pinning. This intentionally leaves in place
the old cert pinning machinery so that we can still use if we need to
- Compare the new and old for things like debugging.
- Revert these changes in the case of regressions (either by shipping a patch or
  something like normandy).

This patch is also small to enable it to be uplifted easily.

Once we're sure this new path is good, a larger patch can follow up to remove
the cert pinning code + rework our tests.

Differential Revision: https://phabricator.services.mozilla.com/D141891
2022-04-13 06:59:57 +00:00
Butkovits Atila f90c8918d4 Backed out changeset 543a78ca4fa9 (bug 1747343) for causing mochitest failures at browser_bug676619.js. CLOSED TREE 2022-04-13 03:31:53 +03:00
Shane Hughes 9a0bc90754 Bug 1747343 - Add pref to set default action for new mimetypes. r=Gijs,fluent-reviewers,preferences-reviewers
When downloading a file, we check for existing mime types and construct
a new one if it's unrecognized. Mime types have a flag,
alwaysAskBeforeHandling, that determines whether the unknown content
type dialog should be opened before handling the file. Before bug
1733492, the default value for that flag was simply true. Since the new
downloads flow is intended to avoid unnecessary steps, the default value
was changed to the inverted value of the new downloads panel
improvements pref. This patch adds a new pref that the mime info
constructor will read in configuring the flag's value. If the
improvements pref is not enabled, then the flag will be true, so the UCT
dialog will open. If the improvements pref is enabled, then it'll use
the value of the new pref. Also add a an interface for the pref to the
about:preferences UI, and automatically migrate a false value for
browser.download.improvements_to_download_panel to a true value for this
pref. I'm updating some tangentially related test files since they
happen to be touched slightly by this change. Strictly speaking they
would still work, but if the pref value was somehow changed from the
default they would fail.

Differential Revision: https://phabricator.services.mozilla.com/D143002
2022-04-12 22:32:45 +00:00
Tim Huang 15012d29dc Bug 1761207 - Extend the expiration time of the storage access permission given by the redirect heuristic. r=anti-tracking-reviewers,bvandersloot
This patch extends the expiration time of the storage access permission
given by the redirect heuristic to 30 days. This matches to the
expiration time of the permission given by other heuristics.

Differential Revision: https://phabricator.services.mozilla.com/D142431
2022-04-12 19:34:36 +00:00
Kagami Sascha Rosylight a6fe0cdad4 Bug 1764099 - Enable TransformStream and ReadableStream.pipeThrough on Nightly r=mgaudet,emilio,smaug
Differential Revision: https://phabricator.services.mozilla.com/D143405
2022-04-12 14:05:46 +00:00
Emilio Cobos Álvarez 39d7652297 Bug 1656363 - Implement prefers-contrast: custom and let prefers-contrast ride the trains. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D143198
2022-04-12 09:07:18 +00:00
Henrik Skupin 7960d0832b Bug 1759998 - [remote] Only accept system-local loopback WebSocket connections for clients. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D143396
2022-04-12 04:31:08 +00:00
Molnar Sandor 75a5ae5043 Backed out 2 changesets (bug 1686654) for causing mochitest and reftest failures. CLOSED TREE
Backed out changeset 9af11a2b5add (bug 1686654)
Backed out changeset 60d43ba90696 (bug 1686654)
2022-04-11 22:55:59 +03:00
Nicolas Silva 4e2f9e9b31 Bug 1686654 - Reenable active SVG images. r=gfx-reviewers,jrmuizel
Flipping this pref lets us use WebRender display items for a subset of SVG images and rectangles.

Differential Revision: https://phabricator.services.mozilla.com/D143130
2022-04-11 18:14:58 +00:00
Andrew Osmond 64d20603a3 Bug 1763801 - Enable OffscreenCanvas on zoom.us without subdomains. r=gfx-reviewers,jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D143271
2022-04-08 13:21:03 +00:00
Makoto Kato 28844e8f80 Bug 1639087 - Add dragcaret event by accessible caret. r=TYLin,smaug
To support magnifying glass on GeckoView, I would like to add `dragcaret`
event and, clientX and clientX in CaretStateChangedEvent chrome event.

Actually, accessible caret fires `presscaret` and `releasecaret` when
accessbile caret is pressed or released. But when dragging this caret, no
chrome event is fired. Since magnifying glass listens to moving this caret,
I would like `dargcaret` for GeckoView.

Also, Users' dragging point is necessary to set better position of magnifying
glass windows. So I also want client point of dragging point on `presscaret`
and `dragcaret` event.

This event and properties are on layout.accessiblecaret.magnifier.enabled=true,
So this can be only for GeckoView.

Differential Revision: https://phabricator.services.mozilla.com/D137965
2022-04-08 05:11:48 +00:00
Andrew Osmond ac4171c757 Bug 1763643 - Turn on SVG image blob recordings. r=gfx-reviewers,lsalzman
This should reduce our memory footprint by no longer requiring us to
fully rasterize SVG images when used as an image map. It should also
move the cost of rasterization off the main thread during display list
building to worker threads during scene building.

Differential Revision: https://phabricator.services.mozilla.com/D143190
2022-04-07 16:19:00 +00:00
sotaro c24f60bb9d Bug 1763280 - Enable avoid copying hardware decoded video on intel GPU on Window on nightly r=jrmuizel,gfx-reviewers
Blocked intel drivers are from chromium's "disable_dxgi_zero_copy_video" in gpu_driver_bug_list.json

Differential Revision: https://phabricator.services.mozilla.com/D143017
2022-04-07 14:38:17 +00:00
Alexandre Lissy 57f891080f Bug 1755316 - Perform audio decoding on PUtilityAudioDecoder r=alwu,nika,jld,bobowen,haik
Differential Revision: https://phabricator.services.mozilla.com/D139593
2022-04-07 10:04:51 +00:00
Bryce Seager van Dyk d38ad284ad Bug 1732416 - Change media.decoder-doctor.wmf-disabled-is-failure to atomic bool. r=alwu
This pref should be a RelaxedAtomicBool to avoid races.

Differential Revision: https://phabricator.services.mozilla.com/D143088
2022-04-06 21:49:41 +00:00
irwp f7009a7249 Bug 1762909 - Remove dead Adobe Flash hang code in BrowserGlue r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D143073
2022-04-06 20:13:08 +00:00
Niklas Baumgardner 36fa44eb8d Bug 1757219 - Add small, medium, and large font sizes for PiP subtitles. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D142245
2022-04-06 14:33:54 +00:00
Kagami Sascha Rosylight ef908df177 Bug 1755147 - Disable `dom.webidl.crosscontext_hasinstance.enabled` on EARLY_BETA_OR_EARLIER r=peterv,edgar
Differential Revision: https://phabricator.services.mozilla.com/D138676
2022-04-06 13:08:11 +00:00
Emilio Cobos Álvarez 0fdc6328bd Bug 1762428 - Print via parent on Android. r=agi,whimboo,webdriver-reviewers
This proxies the printing operation via the parent like we do everywhere
else.

Otherwise we try to create anonymous files in the child process which is
forbidden.

Differential Revision: https://phabricator.services.mozilla.com/D142971
2022-04-06 11:58:52 +00:00
Timothy Nikkel a70b5ad77a Bug 1757928. Make the swipe events sent by SwipeTracker have the same scale. r=hiro
Bug 1753146 doubled the success threshold for Windows only, but browser/base/content/browser-gestureSupport.js at https://searchfox.org/mozilla-central/rev/26a1b0fce12e6dd495a954c542bb1e7bd6e0d548/browser/base/content/browser-gestureSupport.js#739 multiplies the values present in swipe events by 4 to determine opacity; so it it assuming the value 0.25 is the success threshold.

This patch first reverts bug 1753146 and then fixes it in a different way, so that the success threshold still has the same value and hence we don't need to modify browser-gestureSupport.js (so that all the code depending on this is in one one). We double the kWholePagePixelSize on Windows (and turn it into a pref) so that we don't regress bug 1753146. This is equivalent because the numeric value computed in SwipeTracker::ComputeSwipeSuccess will be the same, since the values mGestureAmount and mCurrentVelocity all have a division by kWholePagePixelSize when they are computed in SwipeTracker::ProcessEvent. There is one difference though: the velocity twitch tolerance comparison in SwipeTracker::ComputeSwipeSuccess will be slightly different. I think that's okay though.

Differential Revision: https://phabricator.services.mozilla.com/D140185
2022-04-06 09:51:17 +00:00
Byron Campen 2840754ec9 Bug 1763207: Enable webrtc socket process by default on release. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D142988
2022-04-05 21:43:10 +00:00
Jeff Muizelaar a4c8bf3727 Bug 1762966 - Add a pref to force the number of dropped frames to 0. r=alwu
I want to use this to help debug resolution changes caused by frame
drops.

Differential Revision: https://phabricator.services.mozilla.com/D142870
2022-04-05 21:02:53 +00:00
Zaggy1024 83ecc37711 Bug 1760804 - Use MFT CLSIDs for decoder instantiation instead of MFTEnumEx, as it caused a performance regression in process startup. r=alwu
WMFDecoderModule will now cache supported stream types upon decoder process startup. Only one task will be dispatched to the MTA thread where all support will be determined at once.

MFTDecoder now will call all functions necessary to fully free memory on its WMF objects.

Preference media.wmf.vp9.enabled can now be changed without restarting.

Differential Revision: https://phabricator.services.mozilla.com/D142002
2022-04-05 17:03:01 +00:00
Jan Rio Krause 057785b6d5 Bug 1519200 - Remove `NS_ERROR_FILE_TARGET_DOES_NOT_EXIST` in favor of `NS_ERROR_FILE_NOT_FOUND`. r=xpcom-reviewers,nika,dom-storage-reviewers,jstutte
Differential Revision: https://phabricator.services.mozilla.com/D77575
2022-04-05 15:17:03 +00:00
Butkovits Atila 393fc50e58 Backed out 4 changesets (bug 1735746) for causing failures at browser_protocol_custom_sandbox.js. CLOSED TREE
Backed out changeset 703dfd92c775 (bug 1735746)
Backed out changeset 3b06ed08d93b (bug 1735746)
Backed out changeset 9968278b9efe (bug 1735746)
Backed out changeset 49f2e283115d (bug 1735746)
2022-04-05 16:04:29 +03:00
Paul Zuehlcke dd7683cee3 Bug 1735746 - Add a pref and limit external protocol sandbox blocking to Nightly. r=ckerschb,farre
Depends on D141131

Differential Revision: https://phabricator.services.mozilla.com/D141132
2022-04-05 11:31:54 +00:00
Frederik Braun 30ca834b74 Bug 1752475 - Change nsICookie/CookieStruct to implicitly flip SameSite in getter func r=dveditz,dragana,freddyb
Given that we only support samesite lax/strict/none in our storage schema,
it's useful to introduce a default value, as required by the spec.
However, that would it hard to distinguish between none/lax when we switch
the default.
So, instead of doing that we use the peculiarities of our current schema
to our advantage: There's a "sameSite" attribute and a "rawSameSite"
attribute, where the latter is the literal value we received from the
server. With this patch, we'll interpret the "sameSite" attribute
based on the laxByDefault pref. This also has the advantage that various
front-end code (e.g., in DevTools) is always reading the "sameSite"
value of nsICookies.

Differential Revision: https://phabricator.services.mozilla.com/D137460
2022-04-05 08:20:25 +00:00
Lee Salzman 244b3a114a Bug 1762523 - Add performance profiling to DrawTargetWebgl. r=aosmond,gfx-reviewers
This adds OnEvent hooks to DrawTargetWebgl for various events so that
profile counters may be maintained each frame. These profile counters
try to determine if a software fallback happened or an uncacheable event
occurs that requires either uploading data to the GPU or reading back
from the GPU, events which can cause substantial slowdown if they happen
repeatedly even without an explicit fallback to software rasterization.

When it is determined a threshold has been reached (as controlled by
some prefs), RequiresRefresh() in PersistentBufferProvider is used to
signal that we should recreate the PersistentBufferProvider of a different
type and thus disable acceleration.

Differential Revision: https://phabricator.services.mozilla.com/D142646
2022-04-04 15:50:48 +00:00
Edgar Chen c82b0711e1 Bug 1760560 - Remove directory upload API; r=smaug
HTMLInputElement.getFilesAndDirectories is used for testing Directory API, so
still keep it but mark as chrome only.

Differential Revision: https://phabricator.services.mozilla.com/D142444
2022-04-04 09:54:34 +00:00
criss e78cd417a0 Backed out changeset a8db18c94b60 (bug 1760804) for causing regression 2022-04-03 01:51:42 +03:00
Zaggy1024 c32d1979b3 Bug 1760804 - Use MFT CLSIDs for decoder instantiation instead of MFTEnumEx, as it caused a performance regression in process startup. r=alwu
WMFDecoderModule will now cache supported stream types upon decoder process startup. Only one task will be dispatched to the MTA thread where all support will be determined at once.

MFTDecoder now will call all functions necessary to fully free memory on its WMF objects.

Preference media.wmf.vp9.enabled can now be changed without restarting.

Differential Revision: https://phabricator.services.mozilla.com/D142002
2022-04-02 03:39:20 +00:00
John Lin f7e32e7270 Bug 1741244 - p1: support software MFT video encoders. r=alwu,media-playback-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D135766
2022-04-02 01:20:24 +00:00
Tim Giles 33fa70370a Bug 1762649 - Fix credit card supported countries to use 'GB' code instead of 'UK'. r=sgalich
Differential Revision: https://phabricator.services.mozilla.com/D142724
2022-04-01 20:35:37 +00:00
Ryan Hunt a4ec0a0687 Bug 1762619 - wasm: Disable code caching. r=yury
Differential Revision: https://phabricator.services.mozilla.com/D142707
2022-04-01 19:35:34 +00:00
Emilio Cobos Álvarez b9e7c7653c Bug 1762088 - Implement parsing / serialization for container{,-type,-name} CSS properties. r=firefox-style-system-reviewers,layout-reviewers,boris
Two noteworthy details that may seem random otherwise:

 * Moving values around in nsStyleDisplay is needed so that the struct
   remains under the size limit that we have to avoid jumping allocator
   buckets.

 * All the test expectation churn is because tests depend on
   `container-type: size` parsing to run, and now they run. Tests for
   the relevant bits I implemented are passing, with the only exception
   of some `container-name-computed.html` failures which are
   https://github.com/w3c/csswg-drafts/issues/7181. Safari agrees with
   us there.

Other notes when looking at the spec and seeing how it matches the
implementation:

 * `container` syntax doesn't match spec, but matches tests and sanity:
   https://github.com/w3c/csswg-drafts/issues/7180

 * `container-type` syntax doesn't _quite_ match spec, but matches tests
   and I think it's a spec bug since the definition for the missing
   keyword is gone:
   https://github.com/w3c/csswg-drafts/issues/7179

Differential Revision: https://phabricator.services.mozilla.com/D142419
2022-03-31 22:56:20 +00:00
Cristian Tuns 55a349ee51 Backed out changeset 92e64531995a (bug 1761207) for causing mochitest failures on browser_contentBlockingTelemetry.js CLOSED TREE 2022-03-31 17:26:42 -04:00
Tim Huang 4db8589284 Bug 1761207 - Extend the expiration time of the storage access permission given by the redirect heuristic. r=anti-tracking-reviewers,bvandersloot
This patch extends the expiration time of the storage access permission
given by the redirect heuristic to 30 days. This matches to the
expiration time of the permission given by other heuristics.

Differential Revision: https://phabricator.services.mozilla.com/D142431
2022-03-31 20:05:23 +00:00
Jamie Nicol 6ff477fa62 Bug 1761972 - Allow GPU process to ride the trains on Android. r=agi
This was previously held back to nightly-only due to crashes not being
reported, but that has since been addressed by
https://github.com/mozilla-mobile/android-components/pull/11872

Differential Revision: https://phabricator.services.mozilla.com/D142334
2022-03-31 19:26:51 +00:00
Emilio Cobos Álvarez 881f8f938a Bug 1762109 - Make the XLink setup a bit saner. r=smaug
Make Link and SVGAElement agree on XLink handling, and make it more
explicit that SVGAElement needs to be a bit more special for SMIL.

Remove dead MathML XLink code.

Differential Revision: https://phabricator.services.mozilla.com/D142546
2022-03-31 14:33:57 +00:00
Tim Huang 21609aed82 Bug 1761826 - Enable disallowing relaxing referrer policies. r=anti-tracking-reviewers,bvandersloot
Differential Revision: https://phabricator.services.mozilla.com/D142433
2022-03-31 11:54:49 +00:00
Narcis Beleuzu 7d206f2561 Merge mozilla-central to autoland 2022-03-31 00:50:32 +03:00
Narcis Beleuzu 625c3d0c8a Merge autoland to mozilla-central. a=merge 2022-03-31 00:47:35 +03:00
Emilio Cobos Álvarez f4373cd7fb Bug 1761690 - Let overlay scrollbars on GTK ride the trains. r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D142173
2022-03-30 18:58:30 +00:00
Emilio Cobos Álvarez d30fa2e715 Bug 1761690 - Let Windows 11 overlay scrollbars ride the trains. r=mhowell
(Tweak the pref name to match the gtk name, using dash rather than underscore).

Differential Revision: https://phabricator.services.mozilla.com/D142174
2022-03-30 18:58:10 +00:00
Emilio Cobos Álvarez ea070a59f9 Bug 277178 - Move focus to a fragment identifier (#fragment) if it's focusable. r=smaug
Co-authored-by: Takeshi Kurosawa <taken.spc@gmail.com>

Differential Revision: https://phabricator.services.mozilla.com/D141824
2022-03-30 18:01:48 +00:00
Ryan VanderMeulen 9e6651225a Backed out changeset d7b31fe38fc7 (bug 1758540) for causing Fenix UI test issues. 2022-03-30 13:40:04 -04:00
Edgar Chen 047205f5cf Bug 1761978 - Get rid of pref dom.events.asyncClipboard; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D142338
2022-03-30 13:12:40 +00:00
stransky 215660defb Bug 1761942 [RDD] Limit maximal number of RDD process restarts r=alwu
Add media.rdd-process.max-crashes preference value to control how many times we restard RDD process before we throw decoding error message.

Differential Revision: https://phabricator.services.mozilla.com/D142326
2022-03-30 11:37:37 +00:00
Dana Keeler e2267a307d Bug 1735386 - adjust revocation checking for EV certificate intermediates to match Baseline Requirements r=jschanck
The Baseline Requirements no longer require an OCSP URI for EV certificate
intermediates. Since OneCRL covers intermediates anyways, OCSP checking for
intermediates can be skipped entirely.

Differential Revision: https://phabricator.services.mozilla.com/D142369
2022-03-30 01:35:26 +00:00
Csoregi Natalia 99b98ae493 Backed out changeset 0acc23548adf (bug 1752475) for causing multiple cookies failures. CLOSED TREE 2022-03-30 01:31:06 +03:00
Frederik Braun ea88fe841f Bug 1752475 - Change nsICookie/CookieStruct to implicitly flip SameSite in getter func r=dveditz,dragana
Given that we only support samesite lax/strict/none in our storage schema,
it's useful to introduce a default value, as required by the spec.
However, that would it hard to distinguish between none/lax when we switch
the default.
So, instead of doing that we use the peculiarities of our current schema
to our advantage: There's a "sameSite" attribute and a "rawSameSite"
attribute, where the latter is the literal value we received from the
server. With this patch, we'll interpret the "sameSite" attribute
based on the laxByDefault pref. This also has the advantage that various
front-end code (e.g., in DevTools) is always reading the "sameSite"
value of nsICookies.

Differential Revision: https://phabricator.services.mozilla.com/D137460
2022-03-29 20:16:36 +00:00
Eitan Isaacson 9ad7f135df Bug 1758540 - Pref on accessibility cache in Android. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D141638
2022-03-29 20:12:25 +00:00
Andreas Farre ad3237f8a4 Bug 1740226 - Enable monitoring login attempts to mark a site high-value. r=agi
Differential Revision: https://phabricator.services.mozilla.com/D140024
2022-03-29 14:38:24 +00:00
Paul Adenot 89f2f7638b Bug 1761339 - Fix define to change the audiosink depth on M1 Macs. r=alwu DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D141988
2022-03-29 11:40:01 +00:00
sotaro a85bae612a Bug 1760724 - Let video overlay ride the trains to release on intel GPU on Windows r=gfx-reviewers,lsalzman
pref gfx.webrender.dcomp-video-overlay-win-force-enabled was added to enable video overlay even when it is blocked.

Differential Revision: https://phabricator.services.mozilla.com/D141712
2022-03-29 02:47:18 +00:00
Butkovits Atila f60ac86be0 Backed out 2 changesets (bug 1728331) for causing failures at RTCPeerConnection-videoDetectorTest.html. CLOSED TREE
Backed out changeset b6649f0253c5 (bug 1728331)
Backed out changeset e9242af1224d (bug 1728331)
2022-03-29 00:04:47 +03:00
Nika Layzell 66b31a7ed2 Bug 1728331 - Part 1: Avoid cycling between processes when navigating within a tab, r=smaug
This patch replaces the previous process selection infrastructure with a
new setup implemented entirely in C++, which should more accurately
track the set of processes in use, and should encourage re-use of the
existing content process when navigating by not counting the current
tab.

This approach intentionally allows for process switching to another
process during navigation if there is uneven load between processes to
encourage balanced process use.

I think this may also fix some of the session restore issues with many
tabs using the same process, rather than being spread over 4, as we now
track a tab earlier in its lifecycle before the BrowserParent instance
is created.

Differential Revision: https://phabricator.services.mozilla.com/D126405
2022-03-28 16:18:04 +00:00
Julian Descottes 367c2737cd Bug 1609100 - Remove devtools.enabled preference r=devtools-reviewers,nchevobbe
Depends on D141468

All usage of this preference should now have been removed.
We don't plan to disable devtools completely, but only to disable the F12 shortcut.

Differential Revision: https://phabricator.services.mozilla.com/D141469
2022-03-28 11:12:08 +00:00
Tim Huang da2bf8f151 Bug 1734328 - Part 1: Add prefs to control whether we ignore the less restricted referrer policies for top navigations. r=ckerschb,annevk
The patch adds two prefs to control whether we ignore the less
restricted referrer policies for top navigation. For Web compatibility,
we still need to allow less restricted referrer policies for top
navigations. We will allow it in the standard mode and still disallow it
in the strict mode and private browsing window.

Differential Revision: https://phabricator.services.mozilla.com/D141866
2022-03-28 10:32:51 +00:00
Norisz Fay 66797d7700 Backed out 5 changesets (bug 1609100) for causing mochitest failures on browser_check_identity_state.js CLOSED TREE
Backed out changeset 521cbbae0914 (bug 1609100)
Backed out changeset e22daee724f0 (bug 1609100)
Backed out changeset e5c4afe5dd66 (bug 1609100)
Backed out changeset e6ae2c01908e (bug 1609100)
Backed out changeset 3e59351660ab (bug 1609100)
2022-03-28 13:11:58 +03:00
Julian Descottes 2166787b4e Bug 1609100 - Remove devtools.enabled preference r=devtools-reviewers,nchevobbe
Depends on D141468

All usage of this preference should now have been removed.
We don't plan to disable devtools completely, but only to disable the F12 shortcut.

Differential Revision: https://phabricator.services.mozilla.com/D141469
2022-03-28 08:57:37 +00:00
Andrew Osmond 117accba1a Bug 1760786 - Ensure we only use WebGL in the content process on Android for DOM workers. r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D141724
2022-03-25 23:50:24 +00:00
Emilio Cobos Álvarez 829400449f Bug 1760579 - layout.css.moz-locale-dir.content.enabled. r=dholbert
We successfully removed these from content in bug 1740230 (Firefox 96).

Differential Revision: https://phabricator.services.mozilla.com/D141727
2022-03-25 14:59:00 +00:00
Emilio Cobos Álvarez dd020d602a Bug 1760342 - Remove :-moz-lwtheme-{brighttext,darktext}. r=dao,Gijs
They are just convenience for :root[lwthemetextcolor="light"] (and dark,
respectively), but they generally shouldn't be used for dark mode
theming. In the past it was the only way to do it but now we have
prefers-color-scheme.

While at it, change lwthemetextcolor to be "lwtheme-brighttext" for
consistency with similar code we have for popups etc, and move it to
_setDarkModeAttributes.

While at it, remove layout.css.moz-lwtheme.content.enabled (which is
false always, we unshipped these from content successfully).

Differential Revision: https://phabricator.services.mozilla.com/D141593
2022-03-25 14:58:59 +00:00
Kershaw Chang f63cffee0e Bug 1755902 - P2: Support port-prefixed query for HTTPS RR, r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D141718
2022-03-25 12:15:03 +00:00
Emilio Cobos Álvarez 0010cb6fc4 Bug 1761356 - Remove devtools auto theme notification. r=jdescottes
I think it's fair to say that this is not a new feature anymore. This avoids
showing the notification every time a developer uses devtools on a local build
or so (with a clean profile).

Differential Revision: https://phabricator.services.mozilla.com/D142000
2022-03-25 03:38:08 +00:00
Ryan VanderMeulen 106476ec17 Backed out changeset f4f7fa5023f3 (bug 1758540) for causing Fenix topcrashes and breaking UI tests. 2022-03-24 14:45:43 -04:00
John Schanck fb069da104 Bug 1761109 - Make check-revocations mode the default CRLite mode. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D141895
2022-03-23 20:27:22 +00:00
Ryan Hunt 7f0395a3a1 Bug 1759217 - wasm: Let exception-handling ride the trains. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D141700
2022-03-23 14:52:50 +00:00
Emilio Cobos Álvarez 985e75ca3c Bug 1760965 - Remove IntersectionObserver prefs that have been enabled by default for a long time. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D141830
2022-03-23 09:59:13 +00:00
Emilio Cobos Álvarez b75c39ad35 Bug 1760734 - Put overflow: -moz-hidden-unscrollable behind a pref on Nightly. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D141759
2022-03-23 08:41:51 +00:00
Hiroyuki Ikezoe 9f93403b9d Bug 1760918 - Disable partial pre-render animations on all channels. r=boris
The reason why we change the `OMTAdiv`'s width value is that with the original
200px width, the elment in question will be overflowed in our mochitest iframe.

Differential Revision: https://phabricator.services.mozilla.com/D141812
2022-03-23 03:38:49 +00:00
smolnar 456a4aba93 Backed out changeset 19b7a733941f (bug 1760918) for causing mochitest failures in test_transitions_per_property. CLOSED TREE 2022-03-23 04:51:25 +02:00
Hiroyuki Ikezoe 8a3b4e548f Bug 1760918 - Disable partial pre-render animations on all channels. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D141812
2022-03-23 00:33:28 +00:00
Matthew Gaudet 6450bc232b Bug 1759597 - Enable WritableStreams and pipeTo by default r=smaug
* TextEncoder stream tests now fail, rather than error
* WritableStreams are exosed on worker interfacess now; and broken-then is fixed too
* Fix interface semantics

Differential Revision: https://phabricator.services.mozilla.com/D141125
2022-03-22 20:33:04 +00:00
Andrew Osmond 78afd0ab38 Bug 1760663 - Add blocklist support for WebGPU. r=gfx-reviewers,nical
This patch just adds the plumbing to allow for baked in blocklist rules
or the downloadable blocklist to prevent certain configurations from
getting WebGPU. It does not add any rules.

It also changes us from allowing WebGPU only in nightly, including
tests, to not release and not beta. This allows try to run the WebGPU
tests as expected, since even try builds forked from mozilla-central are
not considered nightly builds by CI (or so it seems).

Differential Revision: https://phabricator.services.mozilla.com/D141682
2022-03-22 15:22:39 +00:00
Bob Owen fddcd3ad5d Bug 1759168: Enable win32k lockdown for content processes by default. r=gcp
Differential Revision: https://phabricator.services.mozilla.com/D141606
2022-03-21 19:12:48 +00:00
Eitan Isaacson 40f4e1faa4 Bug 1758540 - Pref on accessibility cache in Android. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D141638
2022-03-21 18:59:34 +00:00
Butkovits Atila c3cbd0c056 Backed out changeset 653e9dc63dd5 (bug 1759597) for causing wpt failures complaining about pipe. 2022-03-18 23:18:20 +02:00
Luca Greco 026eb6d7cf Bug 1754441 - Add prefs to control InstallTrigger/InstallTriggerImpl visibility. r=mixedpuppy,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D138452
2022-03-18 20:02:54 +00:00
Matthew Gaudet a2036d6aef Bug 1759597 - Enable WritableStreams and pipeTo by default r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D141125
2022-03-18 19:30:58 +00:00
Yury Delendik 6c4cf3e439 Bug 1759909 - Enable AVX support for Wasm SIMD by default in Nightly. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D141265
2022-03-18 15:07:31 +00:00
sotaro 56ef111fbd Bug 1667303 - video scaling at VideoProcessor for overlay video if possible r=gfx-reviewers,jrmuizel
Video scaling by VideoProcessor is expected to reduce GPU usage.

Differential Revision: https://phabricator.services.mozilla.com/D91392
2022-03-18 14:46:05 +00:00
Nick Alexander 52e65cee71 Bug 1675829 - Allow disabling the cookie database in the profile with `network.cookie.noPersistentStorage`. r=baku
Firefox background tasks use a new temporary profile directory for
every invocation.  We would like to write as little data as possible
into the temporary profile directory in this mode.  This patch allows
to make the persistent cookie storage discard cookies just like
private cookie storage.

This approach simply uses that the base `CookieStorage` class is close
to sufficient already.  There may be a performance impact with more
virtual invocations, but none of these functions seem likely to be
hot.

Differential Revision: https://phabricator.services.mozilla.com/D139910
2022-03-18 04:20:02 +00:00
Zaggy1024 b2ffa025f0 Bug 1652945 - Added support for the Windows Media Foundation AV1 decoder for hardware decoding. r=alwu
The method of creating decoder MFTs was replaced with MFEnumEx queries in order to get an instance of the AV1 decoder.

Differential Revision: https://phabricator.services.mozilla.com/D138884
2022-03-17 20:39:51 +00:00
Emilio Cobos Álvarez 3d2bf29691 Bug 1750932 - Add color_scheme / content_color_scheme properties to theme API. r=robwu,dao
This allows themes to override our light / dark theme heuristics if they
choose to, so that we don't have to complicate the heuristics too much.

This is specially useful for themes with images, where the image might
be "light", but still have enough contrast with light text. A good
example is the theme mentioned in bug 1749837 comment 0.

The semantics are:

 * color_scheme: If set, overrides the general "toolbar theme" (so
   window and context menu appearance and so on), otherwise we fall back
   to heuristics.

 * content_color_scheme: If set, overrides the color scheme for the
   content area. Otherwise we fall back to color_scheme if present, or
   heuristics otherwise.

One thing that I didn't include was a sort of "system" option, which
might be useful to say "this theme is neutral, and works both for light
and dark themes". Let me know if you think that's a must-have, otherwise
I think it's probably worth deferring to a follow-up if it's needed at
all.

Differential Revision: https://phabricator.services.mozilla.com/D136354
2022-03-17 14:44:03 +00:00
Chris Peterson 80561e26dc Bug 1731523 - Part 2: Remove "Firefox 100" Nimbus experiment code. r=necko-reviewers,kershaw
This Nimbus experiment code was added in bug 1719070 to test if sending a "Firefox 100" UA string causes any major webcompat problems.

The moz.build change was added in bug 1724635 to fix a Thunderbird build break. MOZ_BUILD_APP_IS_BROWSER = true when building Firefox, false when building Thunderbird.

Differential Revision: https://phabricator.services.mozilla.com/D126408
2022-03-17 02:18:12 +00:00
alwu 32c5c1966b Bug 1757436 - turn on the pref 'media.ffmpeg.customized-buffer-allocation' by default. r=media-playback-reviewers,jrmuizel,bryce
Differential Revision: https://phabricator.services.mozilla.com/D141263
2022-03-17 01:08:27 +00:00
Randell Jesup fcaf70841e Bug 1207753 - Add MOZ_UNANNOTATED to all Mutexes/Monitors r=nika,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D140849
2022-03-16 18:47:08 +00:00
Noemi Erli 2390d257e6 Backed out changeset 12a59e5a50bf (bug 1207753) for causing build bustage CLOSED TREE 2022-03-16 18:32:51 +02:00
Randell Jesup 4b033a5256 Bug 1207753 - Add MOZ_UNANNOTATED to all Mutexes/Monitors r=nika,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D140849
2022-03-16 16:16:14 +00:00
Matthew Gaudet 4186ebdfcc Bug 1759605 - Expose missing ReadableStream interfaces (as defined by WebIDL) r=saschanaz,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D141126
2022-03-16 15:28:03 +00:00
Butkovits Atila 927ad62c6a Backed out changeset a68ee4b09f92 (bug 1207753) for causing Hazard bustages. CLOSED TREE 2022-03-16 14:38:14 +02:00
Randell Jesup 7d4b5fae04 Bug 1207753 - Add MOZ_UNANNOTATED to all Mutexes/Monitors r=nika,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D140849
2022-03-16 12:01:14 +00:00
Miko Mynttinen 30b3853699 Bug 1759514 - Disable stacking context display item reuse in Nightly r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D140980
2022-03-15 18:30:38 +00:00
Molly Howell 6fcf79ed42 Bug 1759724 - Enable PIP text tracks by default for nightly. r=pip-reviewers,kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D141121
2022-03-15 16:57:08 +00:00
Agi Sferro ad8c52c54f Bug 1759592 - Make GPU process nightly only. r=jnicol
We're not getting crash reports for the GPU process (addressed in
https://github.com/mozilla-mobile/android-components/issues/11358#issuecomment-1067268657)
so we're making it nightly on Android only until we fix that.

Differential Revision: https://phabricator.services.mozilla.com/D141031
2022-03-15 15:59:50 +00:00
Mike Conley 1e204d26b9 Bug 1749576 - Make the wireframe structure more space efficient and add a versioning member. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D140872
2022-03-15 15:24:58 +00:00
edguloien 7b9d1e2937 Bug 1752621 - Improve http/2 prefs: changing spdy prefs to http2, making them static prefs and updating the tests. r=dragana,necko-reviewers,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D139941
2022-03-15 08:54:01 +00:00
Martin Robinson c7ed0eb07c Bug 1759130 - Add support for parsing the `content-visibility` property from the CSS Contain specification r=emilio
Add initial parsing support for the CSS `content-visibility` attribute.
Currently these parsed values have no effect.

Differential Revision: https://phabricator.services.mozilla.com/D140834
2022-03-14 12:33:55 +00:00
Emilio Cobos Álvarez eb5240e59b Bug 1759421 - Disable origin trials for now.
These weren't supposed to _both_ land as enabled.

Differential Revision: https://phabricator.services.mozilla.com/D140953
2022-03-14 10:45:47 +00:00
Sean Feng ed08c116bb Bug 1752558 - Enable browser.soft_reload.only_force_validate_top_level_document in all channels r=nika
We have this experimented in EARLY_BETA_OR_EARLIER for a while, and
it's been looking good. So let's enable it everywhere!

Differential Revision: https://phabricator.services.mozilla.com/D140793
2022-03-11 18:44:52 +00:00
Julia Cwiek 2ae754db9d Bug 1704587 - Remove expired telemetry probe preferences.read_user_js r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D111758
2022-03-11 18:25:52 +00:00
Dimi 7a19097167 Bug 1681985 - P5. Support calling fathom ruleset in both c++ and js r=tgiles,sgalich
Support calling cc heuristic with 3 options:
1. Old regular expression matching heuristic
2. Fathom JS implementation
3. Fathom Native implementation

Depends on D137270

Differential Revision: https://phabricator.services.mozilla.com/D137274
2022-03-11 11:46:00 +00:00
Masayuki Nakano 75a4321f48 Bug 1742933 - part 11: Create a pref to get back the traditional behavior r=m_kato
For avoiding simple back-out of the patches when we get serious regression
reports, we should have a pref to disable the new pref.

Differential Revision: https://phabricator.services.mozilla.com/D140475
2022-03-11 09:21:36 +00:00
Sean Feng 1e3521802c Bug 1732082 - Enable layout.css.grid-item-baxis-measurement.enabled in all channels r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D140647
2022-03-09 20:42:14 +00:00
David Parks 57827f5207 Bug 1757463: Support "Hide pointer while typing" on Windows r=cmartin
We need to hide the pointer when we detect a keypress and unhide it when we get any mouse event or window deactivation.  We only do this if the Windows "Hide pointer while typing" setting is turned on (it is on by default).  We currently also put this behind the Firefox pref "widget.windows.hide_cursor_when_typing".

Differential Revision: https://phabricator.services.mozilla.com/D139896
2022-03-09 20:09:41 +00:00
sotaro 092d920221 Bug 1758601 - Enable YUV video overlay on Window on nightly r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D140593
2022-03-09 14:04:38 +00:00
Chris Peterson 809cd2a13e Bug 1598759 - Remove support for Large-Allocation HTTP header. r=nika,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D140459
2022-03-09 03:18:04 +00:00
sotaro 5c83146e2c Bug 1723207 - Avoid copying hardware decoded video data if possible on Windows r=media-playback-reviewers,gfx-reviewers,jrmuizel,alwu
Differential Revision: https://phabricator.services.mozilla.com/D140196
2022-03-08 23:13:34 +00:00
Jamie Nicol 39e1eed1ce Bug 1331109 - Enable GPU process on Android. r=gfx-reviewers,aosmond
Differential Revision: https://phabricator.services.mozilla.com/D138144
2022-03-08 22:39:39 +00:00
Emilio Cobos Álvarez 6ea61a050a Bug 1756500 - Implement key verification for origin trials. r=keeler,nkulatova
Somewhat straight-forward. Add a test key so that we can add some tests
for this.

Differential Revision: https://phabricator.services.mozilla.com/D139402
2022-03-08 15:24:16 +00:00
Paul Adenot cb266dbd32 Bug 1757618 - Use smaller ring buffer on anything but m1 macs. r=media-playback-reviewers,alwu
Differential Revision: https://phabricator.services.mozilla.com/D140218
2022-03-08 07:44:36 +00:00
stransky bb82deeeba Bug 1755323 [Wayland] Added widget.wayland.use-move-to-rect preference to control popup placement r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D140341
2022-03-05 08:01:26 +00:00
Iulian Moraru 2b026c26c5 Bug 1757862 - Backed out changeset cc7587d06ab4 for breaking Linux 32-bit beta v99 builds. CLOSED TREE 2022-03-05 05:12:43 +02:00
Matthew Gregan 7f03eb2dd4 Bug 1757862 - Re-enable AudioIPC IPC rework for Linux. r=cubeb-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D140156
2022-03-05 05:06:00 +02:00
Iulian Moraru 2a6ac4b2a8 Backed out changeset cc7587d06ab4 (bug 1757862) for breaking Linux 32-bit beta v99 builds. CLOSED TREE 2022-03-05 01:06:00 +02:00
Csoregi Natalia ed39c78974 Backed out changeset 2adaaea4fb76 (bug 1758087) as per developer's request. CLOSED TREE 2022-03-04 22:58:31 +02:00
Dave Townsend aa882ba6a2 Bug 1758087: Add about:doherror to inform the user that the DoH connection has failed. r=Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D140311
2022-03-04 19:53:49 +00:00
Sean Feng f61ec1c3d7 Bug 1741671 - Enable BFCache for pages with beforeunload event listeners on Desktop r=smaug
The changes only made it works in SHIP(session-history-in-parent) only.

Differential Revision: https://phabricator.services.mozilla.com/D131715
2022-03-03 19:13:47 +00:00
Matthew Gregan 808afbbab0 Bug 1757862 - Re-enable AudioIPC IPC rework for Linux. r=cubeb-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D140156
2022-03-03 10:58:52 +00:00
smolnar 945b016bdb Backed out changeset 4d8f7af7950c (bug 1331109) backed out on devs request. 2022-03-03 00:30:23 +02:00
Jamie Nicol f0dae3b112 Bug 1331109 - Enable GPU process on Android. r=gfx-reviewers,aosmond
Differential Revision: https://phabricator.services.mozilla.com/D138144
2022-03-02 21:01:56 +00:00
Emilio Cobos Álvarez d825fb6d4c Bug 1757647 - Implement Windows 11 overlay scrollbars. r=cmartin
Put it behind a pref for nightly and early beta for now.

Differential Revision: https://phabricator.services.mozilla.com/D139987
2022-03-02 12:02:00 +00:00
Jed Davis 9082363e4e Bug 1129492 - Remove X11 access from the Linux content process sandbox. r=gcp,jgilbert
Background: The X11 protocol has a very permissive security model;
clients have essentially full access to the windows of other clients,
and to global resources like input devices.  Previously, our sandbox
policy for content processes needed to allow access to the X server;
this limited its effectiveness against a dedicated attacker.

This patch turns on the `security.sandbox.content.headless` pref added
in bug 1640345, which removes the sandbox policy rules that allowed
making new X11 connections, as well as opening the Xauthority file,
reading hardware info needed by Mesa, etc.  It also runs content
processes in headless mode (whence the name) so they won't connect to a
display server at startup.

This also removes access to the Wayland compositor: the sandbox policy
never allowed that (as of when socket connections became default-deny),
but now content processes won't connect to it at startup.  Wayland is
more capability-oriented so this is less significant for security, but at
a minimum it removes unnecessary attack surface.

Note that if the `webgl.out-of-process` pref is turned off, WebGL
will break unless `security.sandbox.content.headless` is also turned
off.  (Similarly, `widget.non-native-theme.enabled` is needed to render
scrollbars and form controls in content.)  As a result, this patch
adjusts the job definitions used by CI to test in-process WebGL so that
that they will continue to work.

Differential Revision: https://phabricator.services.mozilla.com/D138613
2022-03-01 20:36:18 +00:00
Jed Davis a4c23e82dd Bug 1638466 - Enable out-of-process WebGL on Linux. r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D138612
2022-03-01 20:36:18 +00:00
Cristian Tuns 1a0b214ad9 Backed out 2 changesets (bug 1741671) for causing wpt failures on back-forward-cache/events.html CLOSED TREE
Backed out changeset 7fffe4e20ea8 (bug 1741671)
Backed out changeset fc9c97d475c2 (bug 1741671)
2022-03-01 14:44:53 -05:00
Sean Feng 3380a4df7d Bug 1741671 - Enable BFCache for pages with beforeunload event listeners on Desktop r=smaug
The changes only made it works in SHIP(session-history-in-parent) only.

Differential Revision: https://phabricator.services.mozilla.com/D131715
2022-03-01 18:50:45 +00:00
Nicolas B. Pierron 95eb456ef7 Bug 1753709 - JavaScript: Add a preference to switch between delazification strategies. r=arai
This patch changes the way we parse JavaScript coming from Necko while loading
web pages, by adding an about:config flag named
javascript.options.delazification.strategy which is used to select between:

 0 - On Demand
 1 - Concurrent Depth First
 255 - Parse Everything Eagerly

Previously, we moved from On-demand delazification, to parsing everything
eagerly to improve responsiveness of the browser, but we knew that more room for
optimization exists.

This toogle is meant to explore the space of delazification strategies, such
that we can parse functions of JavaScript files on an helper thread, while the
JavaScript file is being executed on the main thread. The space of
delazification strategies goes from ordering the order in which functions are
processed, as well as filtering functions which are processed. Not all functions
have to be delazified, and if the main thread needs a function which is not
parsed yet, it will fallback to parsing it on-demand.

Differential Revision: https://phabricator.services.mozilla.com/D138034
2022-03-01 15:00:03 +00:00
Cameron McCormack 844fb17be9 Bug 1607913 - Use Consolas instead of Courier New in Windows monospace font prefs. r=jfkthame
A number of tests (and expectations) are updated here to either avoid
accidentally relying on the size of Courier New on Windows, or to
explicitly use Courier New instead of monospace, where it's harder to
work out how to rewrite the test correctly.

Differential Revision: https://phabricator.services.mozilla.com/D87222
2022-03-01 11:03:42 +00:00
Kershaw Chang 5d9af4370c Bug 1756979 - Enable strict-trr-fallback on nightly, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D139585
2022-03-01 10:43:21 +00:00
Masayuki Nakano ce7e13d87c Bug 1745877 - Get rid of `CreateElementTransaction` r=m_kato
It's already disabled since 96 and now is late 97 cycle in the release channel,
but I've not gotten regression reports about this.  Therefore, we should get
rid of it from the tree completely, then, we can make
`HTMLEditor::CreateAndInsertElementWithTransaction` greater for its callers.

Depends on D139717

Differential Revision: https://phabricator.services.mozilla.com/D139718
2022-02-28 23:27:58 +00:00
Emilio Cobos Álvarez 8724285359 Bug 1757402 - Add basic native context menu support on GTK. r=stransky
I had this written somewhere in a branch, but given bug 1419151, I
cleaned it up a bit and turned it into an actual patch that works.

Behind a pref for now, because at the very least it needs:

 * Support for some testing-only functions.
 * Support for custom icons (for web extensions and so on).

The key point is that this adds the relevant code to map a XUL menu to a
GMenuModel, which we could then export via
`g_dbus_connection_export_menu_model()`, which seems like a much simpler
approach to support stuff like bug 1419151.

See the MenuModel class in NativeMenuGtk as for how is this done.

Differential Revision: https://phabricator.services.mozilla.com/D139845
2022-02-28 14:53:24 +00:00
Jan Horak c1822b61d2 Bug 1712555 Remove obsolete print portal; r=emilio
We no longer need to use the print portal, the gtk is doing that for us
for the system print dialog and the native print dialog uses GtkPrintJob
which sends jobs to the cups print backend.

Differential Revision: https://phabricator.services.mozilla.com/D139594
2022-02-28 10:47:50 +00:00
Emilio Cobos Álvarez 8c99b6befb Bug 1754522 - Limit cross-document content loadable via <svg:use>. r=dholbert
It seems Blink / WebKit run this even if in the same document, but it
seems less-potentially-breaking to restrict this to the cross-document
case.

Though at least on the test-case it seems it's loading from the same
origin, which is a bit dubious to restrict...

Differential Revision: https://phabricator.services.mozilla.com/D138369
2022-02-26 16:17:17 +00:00
Valentin Gosu 0f858ab5ad Bug 1675054 - Enable brotli encoding for trustworthy URLs, not just for https r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D95855
2022-02-25 16:21:26 +00:00
Cristian Tuns 8871543441 Backed out 2 changesets (bug 1741671) for causing wpt and mochitest failures on events.html CLOSED TREE
Backed out changeset 782650de8717 (bug 1741671)
Backed out changeset 6928411c8730 (bug 1741671)
2022-02-24 14:06:28 -05:00
Sean Feng ffc85d161a Bug 1757025 - Enable layout.css.grid-item-baxis-measurement.enabled in EARLY_BETA_OR_EARLIER r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D139615
2022-02-24 17:59:40 +00:00
Sean Feng 1a229dabcd Bug 1741671 - Enable BFCache for pages with beforeunload event listeners on Desktop r=smaug
The changes only made it works in SHIP(session-history-in-parent) only.

Differential Revision: https://phabricator.services.mozilla.com/D131715
2022-02-24 16:45:48 +00:00
Chris Martin 0c100013ef Bug 1750742 - Enable Win32k Lockdown by default in Nightly r=bobowen
It's time to graduate Win32k lockdown from Nightly Experiments to default on
Nightly.

Differential Revision: https://phabricator.services.mozilla.com/D139487
2022-02-24 13:01:39 +00:00
Butkovits Atila 8986084415 Backed out 5 changesets (bug 1741244) for causing high frequency failures at test_capture_throttled.html. CLOSED TREE
Backed out changeset 84d347955733 (bug 1741244)
Backed out changeset a3782e11e270 (bug 1741244)
Backed out changeset 492163502bd8 (bug 1741244)
Backed out changeset 481fb3a2b3c6 (bug 1741244)
Backed out changeset 77104570d24e (bug 1741244)
2022-02-24 09:56:57 +02:00
John Lin 7dbc14300f Bug 1741244 - p1: support software MFT video encoders. r=alwu,media-playback-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D135766
2022-02-23 22:44:55 +00:00
Marian-Vasile Laza f72e3a889c Backed out changeset 052d3687f4f0 (bug 1750742) for causing marionette test failures. CLOSED TREE 2022-02-23 13:31:19 -08:00
Tyler Kabaker df9553d63a Bug 1594828 - Changed Reader Mode color scheme preference to be based off of browser content theme. r=mtigley,niklas
Differential Revision: https://phabricator.services.mozilla.com/D136072
2022-02-23 18:26:34 +00:00
Narcis Beleuzu 6799f1b983 Backed out 10 changesets (bug 1752332) for bc failures on browser_preferences_usage.js
Backed out changeset 5c475692133f (bug 1752332)
Backed out changeset 7fb5f0cc44f6 (bug 1752332)
Backed out changeset e8b2a80aa796 (bug 1752332)
Backed out changeset 593e5e138927 (bug 1752332)
Backed out changeset a8832dc94d1b (bug 1752332)
Backed out changeset b10197a1ed67 (bug 1752332)
Backed out changeset 8de253223dbc (bug 1752332)
Backed out changeset be908bb7a985 (bug 1752332)
Backed out changeset 26796b527442 (bug 1752332)
Backed out changeset 1a875dc06058 (bug 1752332)
2022-02-23 20:43:01 +02:00
Tom Ritter 83c4461b1b Bug 1752332: Do not sanitize anything for non-content processes r=KrisWright
For now we are not concerned about other utility processes
so we will give them all a pass.

Differential Revision: https://phabricator.services.mozilla.com/D138688
2022-02-23 15:31:11 +00:00
Tom Ritter 7bc5d83d88 Bug 1752332: Add preferences that control whether we send user data and/or crash r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D138687
2022-02-23 15:31:11 +00:00
Tom Ritter 65b0860ea5 Bug 1752332: Crash if a pref is accessed that shouldn't be r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D138686
2022-02-23 15:31:10 +00:00
Tom Ritter c115461ae9 Bug 1752332: Improve the blocklisting behavior r=KrisWright
We sanitize a preference (when sending from the parent
process) if it is in the blocklist, or if does not
have a Default value (i.e. it is dynamically named).
There is an exception list for dynamically named
preferences we know we need though.

In subprocesses, we know if a preference was sanitized
by checking its Sanitized bit.

Differential Revision: https://phabricator.services.mozilla.com/D138685
2022-02-23 15:31:10 +00:00
Tom Ritter 56a792a4a3 Bug 1752332: Remove browser.startup from blocklist r=KrisWright
browser.startup.homepage.abouthome_cache.enabled is accessed
in content processes it turns out.

Differential Revision: https://phabricator.services.mozilla.com/D138683
2022-02-23 15:31:09 +00:00
Tom Ritter 1c8c5ab5d0 Bug 1752332: Rename ShouldSyncPreference to ShouldSanitizePreference r=necko-reviewers,KrisWright,dragana
This simplifies the number of negations needed,
and makes things easy to understand.  I think
anyway; I know that without renaming it I made
several annoying-to-diagnose negation errors...

Differential Revision: https://phabricator.services.mozilla.com/D138682
2022-02-23 15:31:09 +00:00
Tom Ritter 69c064a961 Bug 1752332: Move ShouldSyncPreferences to Preferences module r=KrisWright
While we do so, also add a boolean argument to indicate
if we are in a _Content_ process or some other type of
subprocess, which I expect we will need later.

Differential Revision: https://phabricator.services.mozilla.com/D138681
2022-02-23 15:31:08 +00:00
Tom Ritter 62ea762c4d Bug 1752332: Add in a sanitize property for prefs, and only serialize the user value if we're not sanitized r=KrisWright
We want to eventually crash if a blocklisted preference
is accessed.  In order to do this, we do need to
populate the preference in the pref hashmap of the
subprocess; otherwise when we look up a blocklisted
pref we will just not find anything. We could try to
put the blocklist check at that point; but this won't
work for StaticPrefs; we'd also need to put the blocklist
check there.

Performing a list iteration and string comparison on
every Static Pref call is not acceptable when we can
just populate a bit and check it.

Differential Revision: https://phabricator.services.mozilla.com/D138679
2022-02-23 15:31:07 +00:00
Chris Martin ea14fc6b48 Bug 1750742 - Enable Win32k Lockdown by default in Nightly r=bobowen
It's time to graduate Win32k lockdown from Nightly Experiments to default on
Nightly.

Differential Revision: https://phabricator.services.mozilla.com/D139487
2022-02-23 14:57:04 +00:00
Kershaw Chang cbf6f791da Bug 1600309 - P2: Don't use socket porcess when it crashes too many times, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D134904
2022-02-23 11:55:59 +00:00
Tom Ritter d6682db9e7 Bug 1752331: Expose a HasDefaultValue preference r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D137149
2022-02-22 19:30:02 +00:00
Cristian Tuns c82feaecab Backed out 3 changesets (bug 1753709) for causing mochitest failures on test_delazification_strategy.html CLOSED TREE
Backed out changeset b908fc38d2d3 (bug 1753709)
Backed out changeset 56a169a692b9 (bug 1753709)
Backed out changeset 224f4cf66993 (bug 1753709)
2022-02-22 11:44:40 -05:00
Nicolas B. Pierron 01430ae030 Bug 1753709 - JavaScript: Add a preference to switch between delazification strategies. r=arai
This patch changes the way we parse JavaScript coming from Necko while loading
web pages, by adding an about:config flag named
javascript.options.delazification.strategy which is used to select between:

 0 - On Demand
 1 - Concurrent Depth First
 255 - Parse Everything Eagerly

Previously, we moved from On-demand delazification, to parsing everything
eagerly to improve responsiveness of the browser, but we knew that more room for
optimization exists.

This toogle is meant to explore the space of delazification strategies, such
that we can parse functions of JavaScript files on an helper thread, while the
JavaScript file is being executed on the main thread. The space of
delazification strategies goes from ordering the order in which functions are
processed, as well as filtering functions which are processed. Not all functions
have to be delazified, and if the main thread needs a function which is not
parsed yet, it will fallback to parsing it on-demand.

Differential Revision: https://phabricator.services.mozilla.com/D138034
2022-02-22 14:59:17 +00:00
Cristian Tuns a224eb8387 Backed out changeset a04a58abafff (bug 1675054) for causing multiple regressions a=backout 2022-02-22 06:31:20 -05:00
Gabriele Svelto 75390b7d30 Bug 1752906 - Enable WebMIDI r=bholley
This also adjusts our mochitests so that they know we're exposing the WebMIDI
objects publicly, modifies the way permissions are granted and adjusts our
web platform tests to account for known failures.

Differential Revision: https://phabricator.services.mozilla.com/D137486
2022-02-21 21:11:12 +00:00
Marian-Vasile Laza 3f7e0b2d4f Backed out 3 changesets (bug 1753709) for causing build bustages on ScriptLoader.cpp. CLOSED TREE
Backed out changeset eb7704e8a30c (bug 1753709)
Backed out changeset 193409767cf2 (bug 1753709)
Backed out changeset 891174ee20ee (bug 1753709)
2022-02-21 09:45:40 -08:00
Nicolas B. Pierron e6b364b472 Bug 1753709 - JavaScript: Add a preference to switch between delazification strategies. r=arai
This patch changes the way we parse JavaScript coming from Necko while loading
web pages, by adding an about:config flag named
javascript.options.delazification.strategy which is used to select between:

 0 - On Demand
 1 - Concurrent Depth First
 255 - Parse Everything Eagerly

Previously, we moved from On-demand delazification, to parsing everything
eagerly to improve responsiveness of the browser, but we knew that more room for
optimization exists.

This toogle is meant to explore the space of delazification strategies, such
that we can parse functions of JavaScript files on an helper thread, while the
JavaScript file is being executed on the main thread. The space of
delazification strategies goes from ordering the order in which functions are
processed, as well as filtering functions which are processed. Not all functions
have to be delazified, and if the main thread needs a function which is not
parsed yet, it will fallback to parsing it on-demand.

Differential Revision: https://phabricator.services.mozilla.com/D138034
2022-02-21 17:26:03 +00:00
sotaro cdebea3bbc Bug 1732739 - Enable session change handling of window occlusion on Windows for nightly and early beta r=gfx-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D138981
2022-02-21 14:20:17 +00:00
Emilio Cobos Álvarez bf5002dc0f Bug 1755419 - Don't use default system timeout for settings proxy. r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D139094
2022-02-21 11:54:08 +00:00
Valentin Gosu b5b5de4192 Bug 1675054 - Enable brotli encoding for trustworthy URLs, not just for https r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D95855
2022-02-20 21:20:50 +00:00
Shane Caraveo 028c447051 Bug 1753308 fix extension startup in tests, remove delayed startup pref r=rpl,robwu
Differential Revision: https://phabricator.services.mozilla.com/D137699
2022-02-19 15:52:26 +00:00
Narcis Beleuzu 145cf11df1 Backed out changeset 465b14796810 (bug 1752906) for wpt failures on idlharness.https.window.html . CLOSED TREE 2022-02-18 22:29:59 +02:00
Narcis Beleuzu 23a25cba49 Backed out changeset aa8767c463fc (bug 1741671) for dt failures on browser_navigateEvents.js 2022-02-18 22:26:05 +02:00
Sean Feng b83a6a038f Bug 1741671 - Enable BFCache for pages with beforeunload event listeners on Desktop r=smaug
The changes only made it works in SHIP(session-history-in-parent) only.

Differential Revision: https://phabricator.services.mozilla.com/D131715
2022-02-18 19:28:07 +00:00
Gabriele Svelto c5431a3251 Bug 1752906 - Enable WebMIDI r=bholley
This also adjusts our mochitests so that they know we're exposing the WebMIDI
objects publicly, modifies the way permissions are granted and adjusts our
web platform tests to account for known failures.

Differential Revision: https://phabricator.services.mozilla.com/D137486
2022-02-18 19:04:09 +00:00
Tom Schuster 7e06e476d4 Bug 1734241 - Implement ReadableStream.pipeTo. r=smaug,mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D135448
2022-02-18 10:30:15 +00:00
Iulian Moraru 9807ab4555 Backed out changeset 21d7dfa0dfee (bug 1734241) for causing bp-hybrid bustages on ReadableStreamPipeTo.cpp. CLOSED TREE 2022-02-18 02:51:13 +02:00
Tom Schuster df8616f118 Bug 1734241 - Implement ReadableStream.pipeTo. r=smaug,mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D135448
2022-02-17 21:49:43 +00:00
mcheang 9e18125789 Bug 1755996 - Add pref for removal of search engine infobar. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D139044
2022-02-17 20:17:23 +00:00
Sergey Galich 2924bdb35f Bug 1653486 - Replace all non-user-facing references to "master" password. r=dimi,tgiles,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D138113
2022-02-17 17:29:57 +00:00
Andrew Osmond 7b655cecb8 Bug 1751721 - Add Zoom to the OffscreenCanvas domain allowlist and turn it on for users. r=gfx-reviewers,lsalzman,jgilbert
This will allow users to use gallery view with the web client for Zoom
in Firefox.

Differential Revision: https://phabricator.services.mozilla.com/D136836
2022-02-17 01:43:24 +00:00
David Parks af5370612f Bug 1720353: Implement new navigator.{plugins,mimeTypes,pdfViewerSupported} specs r=peterv
This implements the new HTML spec for these fields, which now serve hard-coded values, depending on whether or not PDFs are supported.  The values were deemed important to maintain web compatibility.  The spec can be found in section 8.9.1.6:

https://html.spec.whatwg.org/multipage/system-state.html#pdf-viewing-support

The web-compat test for this can be found at:

https://wpt.live/html/webappapis/system-state-and-capabilities/the-navigator-object/plugins-and-mimetypes.html

This patch follows the spec for the PDF plugins if "pdfjs.disabled" is false.  It also produces empty plugin arrays if "pdfjs.disabled" is true, as per the spec.  Both cases are tested by the wpt.live page.

Differential Revision: https://phabricator.services.mozilla.com/D133291
2022-02-17 01:33:00 +00:00
Butkovits Atila a5c87638dd Backed out changeset 18c11a93ef16 (bug 1752906) for causing failures at midi-reporting.https.html. CLOSED TREE 2022-02-17 00:09:42 +02:00
Emilio Cobos Álvarez 74d0665b85 Bug 1755737 - Make layout.css.dpi a static pref. r=jfkthame,layout-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D138921
2022-02-16 21:13:58 +00:00
Gabriele Svelto 5315d8ad19 Bug 1752906 - Enable WebMIDI r=bholley
This also adjusts our mochitests so that they know we're exposing the WebMIDI
objects publicly.

Differential Revision: https://phabricator.services.mozilla.com/D137486
2022-02-16 20:47:24 +00:00
Butkovits Atila 20e27a3364 Backed out 2 changesets (bug 1755737) for causing failures at browser_test_feature_preferencereads.js. CLOSED TREE
Backed out changeset c2609661965d (bug 1755737)
Backed out changeset 34596510350a (bug 1755737)
2022-02-16 21:53:03 +02:00
Sean Feng a0b0570da8 Bug 1755722 - Use viewport distance as the root margins for lazyload in EARLY_BETA_OR_EARLIER r=emilio
This is for experimenting the best value for the root margins.

Differential Revision: https://phabricator.services.mozilla.com/D138907
2022-02-16 18:04:25 +00:00
Emilio Cobos Álvarez 47d1f077af Bug 1755737 - Make layout.css.dpi a static pref. r=jfkthame,layout-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D138921
2022-02-16 17:39:57 +00:00
Marian-Vasile Laza 28f5fc0dc0 Backed out 3 changesets (bug 1753709) for causing build bustages on ScriptLoader.cpp. CLOSED TREE
Backed out changeset 8d2f548f2b46 (bug 1753709)
Backed out changeset 9d41db9f2e17 (bug 1753709)
Backed out changeset 13dbf5b806ec (bug 1753709)
2022-02-16 18:51:37 +02:00
Nicolas B. Pierron 85b56fc607 Bug 1753709 - JavaScript: Add a preference to switch between delazification strategies. r=arai
This patch changes the way we parse JavaScript coming from Necko while loading
web pages, by adding an about:config flag named
javascript.options.delazification.strategy which is used to select between:

 0 - On Demand
 1 - Concurrent Depth First
 255 - Parse Everything Eagerly

Previously, we moved from On-demand delazification, to parsing everything
eagerly to improve responsiveness of the browser, but we knew that more room for
optimization exists.

This toogle is meant to explore the space of delazification strategies, such
that we can parse functions of JavaScript files on an helper thread, while the
JavaScript file is being executed on the main thread. The space of
delazification strategies goes from ordering the order in which functions are
processed, as well as filtering functions which are processed. Not all functions
have to be delazified, and if the main thread needs a function which is not
parsed yet, it will fallback to parsing it on-demand.

Differential Revision: https://phabricator.services.mozilla.com/D138034
2022-02-16 11:01:33 +00:00
Frederik Braun 30828a6a49 Bug 1754301 - remove pref security.csp.enable r=ckerschb,mccr8
This removes the pref `security.csp.enable` and amends various callers
in dom/, which no longer have to take this pref into consideration.

Furthermore, we can remove the test in dom/base/test/browser_bug593387.js
The test used the pref to test that external content can be embedded into
about:plugins, which is historic baggage from a previous architecture of
said page that we no longer require. It's also an anti-pattern that we
do not want to support any longer. In fact, the test had to jump through
additional hoops to make that work at all.

Differential Revision: https://phabricator.services.mozilla.com/D138661
2022-02-15 16:03:27 +00:00
Kris Wright 375555b717 Bug 1755457 - Fix build bustage related to StaticPrefList.yaml. r=emilio
Changes @EARLY_BETA_OR_EARLIER@ to @IS_EARLY_BETA_OR_EARLIER@ to fix an undefined variable bustage.

Differential Revision: https://phabricator.services.mozilla.com/D138771
2022-02-15 13:25:48 +00:00
Sammy Khamis 2a1602c0ab Bug 1754899: Call sync after location change r=markh,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D138505
2022-02-15 07:06:51 +00:00
Kagami Sascha Rosylight a7a6e060cf Bug 1755335 - Add skeleton code for TransformStream{,DefaultController} r=mgaudet,emilio
Differential Revision: https://phabricator.services.mozilla.com/D138672
2022-02-15 01:43:00 +00:00
Noemi Erli dde4c6d4c6 Backed out changeset c5467bc3fb5a (bug 1755335) for causing bustage in WritableStreamDefaultWriter.cpp CLOSED TREE 2022-02-15 02:28:30 +02:00
Kagami Sascha Rosylight 48750a127c Bug 1755335 - Add skeleton code for TransformStream{,DefaultController} r=mgaudet,emilio
Differential Revision: https://phabricator.services.mozilla.com/D138672
2022-02-14 23:35:53 +00:00
Cristian Tuns de7fa4b360 Backed out changeset b2749184f16a (bug 1755335) for causing build bustages on TransformStream.webidl CLOSED TREE 2022-02-14 17:43:19 -05:00
Kagami Sascha Rosylight 93f704f156 Bug 1755335 - Add skeleton code for TransformStream{,DefaultController} r=mgaudet,emilio
Differential Revision: https://phabricator.services.mozilla.com/D138672
2022-02-14 22:25:11 +00:00
Hiroyuki Ikezoe 554dfc9c32 Bug 1753146 - Add preferences for tweaking swipe gestures. r=tnikkel
And use 2x threshold value to trigger each SwipeGesture for Windows.

Differential Revision: https://phabricator.services.mozilla.com/D138237
2022-02-14 22:12:20 +00:00
John Schanck 2654fbb629 Bug 1753071 - Add a "confirm revocations" mode to CRLite. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D137553
2022-02-14 18:55:21 +00:00
Butkovits Atila 320943abcd Backed out changeset f93a4ff5c045 (bug 1331109) for causing Bug 1644486. CLOSED TREE 2022-02-14 19:26:35 +02:00
Nicolas Silva 72508c0bdd Bug 1754834 - Temporarily ignore will-change:opacity. r=jrmuizel
Enable the pref for a few weeks on Nightly to see if it causes major regressions.

Differential Revision: https://phabricator.services.mozilla.com/D138467
2022-02-14 14:15:56 +00:00
Eden Chuang cd1eab9729 Bug 1754786 - Enable NavigationPreload API. r=dom-worker-reviewers,aryx,jstutte
Differential Revision: https://phabricator.services.mozilla.com/D138530
2022-02-14 09:44:10 +00:00
Emilio Cobos Álvarez 85a60cbac3 Bug 1147847 - Enable GTK overlay scrollbars on Nightly and Early Beta. r=stransky
Let's try.

Depends on D138502

Differential Revision: https://phabricator.services.mozilla.com/D138503
2022-02-14 07:43:42 +00:00
Emilio Cobos Álvarez c7de191b45 Bug 1147847 - Allow users to enable overlay scrollbars on Linux from about:preferences. r=Gijs,fluent-reviewers,preferences-reviewers
We might want to do this on Windows 11 as well, but Windows 11 has a
system-wide preference with UI so let's not do that just yet at least,
UI-exposed preference.

Differential Revision: https://phabricator.services.mozilla.com/D138502
2022-02-14 07:43:42 +00:00
Cristian Tuns 3419e72275 Backed out 4 changesets (bug 1600309) for causing networking crashes CLOSED TREE
Backed out changeset ae7282e60012 (bug 1600309)
Backed out changeset 0d8b02a8db17 (bug 1600309)
Backed out changeset c7262d966a28 (bug 1600309)
Backed out changeset e5503a84beea (bug 1600309)
2022-02-12 05:00:04 -05:00
Cristian Tuns 3f972b34cb Backed out 2 changesets (bug 1720353) for casuing reftest failures on 1113005.html CLOSED TREE
Backed out changeset d02b8df13ab0 (bug 1720353)
Backed out changeset e3593056496d (bug 1720353)
2022-02-12 04:34:08 -05:00
Lee Salzman 8346a766e0 Bug 1754130 - Implement SharedContext for sharing WebGL state among many DrawTargetWebgls. r=aosmond
Within DrawTargetWebgl, this implements a SharedContext class to store both the WebGL context and
also related resources for drawing with it. Not a lot of new code has actually been added as this
was mostly accomplished by refactoring as much drawing code as possible that touched the WebGL
context to be moved into SharedContext, while leaving any code that was only dealing with Skia
software rasterization still within DrawTargetWebgl itself as well as individual framebuffer state
that is unique to each DrawTargetWebgl instance.

Before DrawTargetWebgl can use SharedContext to draw, it must use SetTarget to install its framebuffer
as the one that the WebGL context will draw to as well as to learn details about the viewport and
other per-framebuffer state. All of the high-level cache state that was previously on DrawTargetWebgl
has now moved into SharedContext, so that SharedContext can easily access this for drawing as well
as to provide for the goal of simplifying resource limiting.

Differential Revision: https://phabricator.services.mozilla.com/D138117
2022-02-11 19:49:55 +00:00
Paul Adenot 0630b647a3 Bug 1754006 - Increase the processed media queue size and threshold in AudioSink. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D138028
2022-02-11 16:58:51 +00:00
Marian-Vasile Laza 610558649b Backed out 3 changesets (bug 1754130) for causing mochitest failures. CLOSED TREE
Backed out changeset 7fea32057b92 (bug 1754130)
Backed out changeset 1ac8f10e0025 (bug 1754130)
Backed out changeset 3d56b847ddf9 (bug 1754130)
2022-02-11 18:30:11 +02:00
David Parks 532e4bcbe5 Bug 1720353: Implement new navigator.{plugins,mimeTypes,pdfViewerSupported} specs r=peterv
This implements the new HTML spec for these fields, which now serve hard-coded values, depending on whether or not PDFs are supported.  The values were deemed important to maintain web compatibility.  The spec can be found in section 8.9.1.6:

https://html.spec.whatwg.org/multipage/system-state.html#pdf-viewing-support

The web-compat test for this can be found at:

https://wpt.live/html/webappapis/system-state-and-capabilities/the-navigator-object/plugins-and-mimetypes.html

This patch follows the spec for the PDF plugins if "pdfjs.disabled" is false.  It also produces empty plugin arrays if "pdfjs.disabled" is true, as per the spec.  Both cases are tested by the wpt.live page.

Differential Revision: https://phabricator.services.mozilla.com/D133291
2022-02-11 15:59:01 +00:00
Lee Salzman fc2d848bbe Bug 1754130 - Implement SharedContext for sharing WebGL state among many DrawTargetWebgls. r=aosmond
Within DrawTargetWebgl, this implements a SharedContext class to store both the WebGL context and
also related resources for drawing with it. Not a lot of new code has actually been added as this
was mostly accomplished by refactoring as much drawing code as possible that touched the WebGL
context to be moved into SharedContext, while leaving any code that was only dealing with Skia
software rasterization still within DrawTargetWebgl itself as well as individual framebuffer state
that is unique to each DrawTargetWebgl instance.

Before DrawTargetWebgl can use SharedContext to draw, it must use SetTarget to install its framebuffer
as the one that the WebGL context will draw to as well as to learn details about the viewport and
other per-framebuffer state. All of the high-level cache state that was previously on DrawTargetWebgl
has now moved into SharedContext, so that SharedContext can easily access this for drawing as well
as to provide for the goal of simplifying resource limiting.

Differential Revision: https://phabricator.services.mozilla.com/D138117
2022-02-11 15:36:29 +00:00
Dimi e661e480a4 Bug 1753588 - Restrict the number of form looked up while checking whether autofilling a username-only form r=tgiles,sgalich
This patch adds a pref "signon.usernameOnlyForm.formThreshold" to limit
the number of form we processed while receiving "PWMGR_NUM_FORM_HAS_POSSIBLE_USERNAME_EVENT_PER_DOC"
event. This improves the performance while loading a page with multiple username-only likely form.

Differential Revision: https://phabricator.services.mozilla.com/D138121
2022-02-11 12:59:20 +00:00
Kershaw Chang 769849b41a Bug 1600309 - P2: Don't use socket porcess when it crashes too many times, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D134904
2022-02-11 10:55:53 +00:00
Jan de Mooij 1a9d7292a8 Bug 1754837 - Enable the megamorphic property cache. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D138468
2022-02-11 10:03:00 +00:00
criss 369ae61fb6 Backed out changeset 5936869f553d (bug 1753588) for causing failures on test_basic_form_honor_autocomplete_off.html. CLOSED TREE 2022-02-11 12:13:35 +02:00
Dimi f6b81eaac0 Bug 1753588 - Restrict the number of form looked up while checking whether autofilling a username-only form r=tgiles,sgalich
This patch adds a pref "signon.usernameOnlyForm.formThreshold" to limit
the number of form we processed while receiving "PWMGR_NUM_FORM_HAS_POSSIBLE_USERNAME_EVENT_PER_DOC"
event. This improves the performance while loading a page with multiple username-only likely form.

Differential Revision: https://phabricator.services.mozilla.com/D138121
2022-02-11 08:28:38 +00:00
Csoregi Natalia ae252d9945 Backed out changeset 5fcbba2f8f8c (bug 1720353) for failures on test_bug1281963.html. CLOSED TREE 2022-02-10 19:42:46 +02:00
David Parks 06f68c4eda Bug 1720353: Implement new navigator.{plugins,mimeTypes,pdfViewerSupported} specs r=peterv
This implements the new HTML spec for these fields, which now serve hard-coded values, depending on whether or not PDFs are supported.  The values were deemed important to maintain web compatibility.  The spec can be found in section 8.9.1.6:

https://html.spec.whatwg.org/multipage/system-state.html#pdf-viewing-support

The web-compat test for this can be found at:

https://wpt.live/html/webappapis/system-state-and-capabilities/the-navigator-object/plugins-and-mimetypes.html

This patch follows the spec for the PDF plugins if "pdfjs.disabled" is false.  It also produces empty plugin arrays if "pdfjs.disabled" is true, as per the spec.  Both cases are tested by the wpt.live page.

Differential Revision: https://phabricator.services.mozilla.com/D133291
2022-02-10 16:57:24 +00:00
Chun-Min Chang 69e592414a Bug 1754610 - Make media.clockdrift.buffering unsigned r=padenot
The `media.clockdrift.buffering`'s type was set to signed integer when
introducing `AudioDriftCorrection` in Bug 1637234 (D74884), but the
buffering type of the `AudioDriftCorrection` was changed to unsigned in
Bug 1656438 (D89777). The `media.clockdrift.buffering` should be updated
to the unsigned integer as well.

Differential Revision: https://phabricator.services.mozilla.com/D138378
2022-02-10 16:15:40 +00:00
Emilio Cobos Álvarez 8edbf17a70 Bug 1754275 - Add a 1s timeout to DBUS call to reveal files. r=stransky
This should be much more acceptable than e.g. 25 seconds to open the
file manager.

Differential Revision: https://phabricator.services.mozilla.com/D138288
2022-02-10 12:19:59 +00:00
Karl Dubost e8a8c45314 Bug 1637922. Disables netinfo in some tests. r=annevk,webidl,peterv
Adds comment on keeping the code instead of removing it.

Differential Revision: https://phabricator.services.mozilla.com/D126447
2022-02-10 05:52:38 +00:00
Karl Dubost ad563f28c6 Bug 1637922. Disables dom.netinfo.enabled everywhere. r=annevk
Differential Revision: https://phabricator.services.mozilla.com/D126431
2022-02-10 05:52:37 +00:00
Jonathan Kew a1c5d47ba6 Bug 1587094 - Create a pref to control whether we use DirectWrite's bold simulation or multi-strike synthetic bold; default to multi-strike for webfonts. r=lsalzman
This is designed to mitigate the problem of third-party fonts that render poorly
under DirectWrite's bold simulation, by using multi-strike synthetic bold (like
we use on macOS) instead.

The behavior is controlled by a pref, so that we can readily switch between
using DWrite's bold simulation for all fonts (pref=2, our current behavior);
using it only for installed fonts and falling back to multi-strike for webfonts
(pref=1, new behavior); or never using the DWrite simulation (pref=0).

Differential Revision: https://phabricator.services.mozilla.com/D137584
2022-02-09 12:07:05 +00:00
Emilio Cobos Álvarez 2ef346a2f5 Bug 1754225 - Allow using dark themed scrollbars on GTK too. r=stransky,mstange
This is faster and more straight-forward code than the old
ShouldUseDarkScrollbar shenanigans, and allows to have dark-themed
scrollbars.

Differential Revision: https://phabricator.services.mozilla.com/D138077
2022-02-09 11:27:16 +00:00
Julien Wajsberg cfce22c3c8 Bug 1754195 - [profiler] Use the active tab view in nightly only r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D138163
2022-02-09 11:15:58 +00:00
Butkovits Atila 7a0ca71a26 Merge mozilla-central to autoland. CLOSED TREE 2022-02-09 12:07:17 +02:00
Butkovits Atila c12a59323e Backed out changeset c885ece84961 (bug 1587094) for causing graphics crashes (bug 1754385). a=backout 2022-02-09 11:54:44 +02:00
Eden Chuang b7678a86ba Bug 1750515 - Enable NavigationPreload API on Nightly. r=dom-worker-reviewers,smaug
Depends on D137599

Differential Revision: https://phabricator.services.mozilla.com/D136215
2022-02-09 07:14:26 +00:00
Marian-Vasile Laza a9f8213954 Backed out 3 changesets (bug 1750515, bug 1753025) for causing wpt failures on idlharness.https.any... CLOSED TREE
Backed out changeset 9771e7cbe148 (bug 1750515)
Backed out changeset f671d5206b88 (bug 1753025)
Backed out changeset 99bacb6a3d92 (bug 1753025)
2022-02-09 00:10:47 +02:00
Jamie Nicol dbfce4d8f3 Bug 1331109 - Enable GPU process on Android. r=gfx-reviewers,aosmond
Differential Revision: https://phabricator.services.mozilla.com/D138144
2022-02-08 20:54:16 +00:00
Tim Giles a887c814a4 Bug 1745973 - Add UK, FR, DE to credit card autofill supported countries pref. r=sgalich,dimi
Depends on D135553

Differential Revision: https://phabricator.services.mozilla.com/D135076
2022-02-08 19:31:59 +00:00
Tim Giles 7d4695982b Bug 1745248 - Allow each autofill feature to detect if it should be enabled depending on search region. r=dimi,sgalich,preferences-reviewers,skhamis,LougeniaBailey
Differential Revision: https://phabricator.services.mozilla.com/D133818
2022-02-08 19:31:58 +00:00
Eden Chuang 0430fc154e Bug 1750515 - Enable NavigationPreload API on Nightly. r=dom-worker-reviewers,smaug
Depends on D137599

Differential Revision: https://phabricator.services.mozilla.com/D136215
2022-02-08 18:12:34 +00:00
Narcis Beleuzu 0541c7f30f Backed out 2 changesets (bug 1754006) for mda failures on test_bug1113600.html CLOSED TREE
Backed out changeset f22af4b15704 (bug 1754006)
Backed out changeset 078521a5c82b (bug 1754006)
2022-02-08 21:14:53 +02:00
Emilio Cobos Álvarez 20a681b496 Bug 1753830 - Add a pref to allow disabling themed scrollbar colors. r=stransky
This is useful for testing.

Differential Revision: https://phabricator.services.mozilla.com/D137937
2022-02-08 16:36:12 +00:00
Paul Adenot 7a98b07c0b Bug 1754006 - Increase the processed media queue size and threshold in AudioSink. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D138028
2022-02-08 16:07:43 +00:00
Jan de Mooij 2388a4f6f8 Bug 1753633 part 6 - Add a pref for megamorphic cache, disabled by default. r=iain
We can probably use the shell flag for different Watchtower optimizations so that's
just --enable-watchtower

Differential Revision: https://phabricator.services.mozilla.com/D137853
2022-02-08 15:23:36 +00:00
criss e40ae5e2cc Backed out 3 changesets (bug 1637922) for causing failures on test_worker_interfaces.html. CLOSED TREE
Backed out changeset 6676088e5fdf (bug 1637922)
Backed out changeset 469353b7c340 (bug 1637922)
Backed out changeset e9ffc2ed8f4d (bug 1637922)
2022-02-08 18:28:53 +02:00
criss 3b218d4269 Backed out 3 changesets (bug 1753025, bug 1750515) for causing build bustages on Logging.h
Backed out changeset c07607b89a61 (bug 1750515)
Backed out changeset 09f9724c8c1c (bug 1753025)
Backed out changeset 90e9e803f010 (bug 1753025)
2022-02-08 17:52:43 +02:00
Karl Dubost 6d0ce643f6 Bug 1637922. Disables netinfo in some tests. r=annevk,webidl,peterv
Adds comment on keeping the code instead of removing it.

Differential Revision: https://phabricator.services.mozilla.com/D126447
2022-02-08 15:02:33 +00:00
Karl Dubost d104796ec4 Bug 1637922. Disables dom.netinfo.enabled everywhere. r=annevk
Differential Revision: https://phabricator.services.mozilla.com/D126431
2022-02-08 15:02:32 +00:00
Jonathan Kew 559f2ace9c Bug 1587094 - Create a pref to control whether we use DirectWrite's bold simulation or multi-strike synthetic bold; default to multi-strike for webfonts. r=lsalzman
This is designed to mitigate the problem of third-party fonts that render poorly
under DirectWrite's bold simulation, by using multi-strike synthetic bold (like
we use on macOS) instead.

The behavior is controlled by a pref, so that we can readily switch between
using DWrite's bold simulation for all fonts (pref=2, our current behavior);
using it only for installed fonts and falling back to multi-strike for webfonts
(pref=1, new behavior); or never using the DWrite simulation (pref=0).

Differential Revision: https://phabricator.services.mozilla.com/D137584
2022-02-08 14:40:02 +00:00
Eden Chuang f78aaff856 Bug 1750515 - Enable NavigationPreload API on Nightly. r=dom-worker-reviewers,smaug
Depends on D137599

Differential Revision: https://phabricator.services.mozilla.com/D136215
2022-02-08 11:01:22 +00:00
Chris Peterson a0c975962b Bug 1753805 - Add pref for enterprise users to override the User-Agent string's Firefox version. r=necko-reviewers,valentin
Firefox version 100 will ship on 2022-05-03. The Webcompat team can use Firefox's site interventions to spoof a version 99 UA for individual sites broken by a three-digit version number. But Firefox’s site interventions can’t override the UA for enterprise intranet sites we don't know about.

This patch adds a new "network.http.useragent.forceVersion" pref that enterprise admins can set to a known-good UA version (like 99) in an enterprise policy file. If the pref has a non-zero value, then override the User-Agent string's Firefox version. The value 0 means use the default Firefox version.

We can remove this pref in Firefox 103 after the next ESR is branched (version 102 on 2022-06-28). Enterprise users can use ESR 102 with forceVersion pref = 99 until the next ESR in mid-2023. Hopefully they can fix their broken intranet sites by that time.

Differential Revision: https://phabricator.services.mozilla.com/D137929
2022-02-08 05:03:10 +00:00
Norisz Fay 671b353782 Backed out changeset 49dc772ff0cd (bug 1587094) for causing multiple crashes CLOSED TREE 2022-02-08 05:30:51 +02:00
Timothy Nikkel 6e793fddd7 Bug 1753885. Enable swipe to navigate on Windows on nightly only. r=hiro
Disabled everywhere in bug 1751124 but it's in good enough shape to still get testing in nightly at least.

Differential Revision: https://phabricator.services.mozilla.com/D137949
2022-02-07 21:51:16 +00:00
Jonathan Kew aef8a0d1a8 Bug 1587094 - Create a pref to control whether we use DirectWrite's bold simulation or multi-strike synthetic bold; default to multi-strike for webfonts. r=lsalzman
This is designed to mitigate the problem of third-party fonts that render poorly
under DirectWrite's bold simulation, by using multi-strike synthetic bold (like
we use on macOS) instead.

The behavior is controlled by a pref, so that we can readily switch between
using DWrite's bold simulation for all fonts (pref=2, our current behavior);
using it only for installed fonts and falling back to multi-strike for webfonts
(pref=1, new behavior); or never using the DWrite simulation (pref=0).

Differential Revision: https://phabricator.services.mozilla.com/D137584
2022-02-07 20:54:52 +00:00
Nils Ohlmeier 9463c0c845 Bug 1749802: remove media.peerconnection.rtpsourcesapi.enable. r=ng,emilio
Differential Revision: https://phabricator.services.mozilla.com/D135761
2022-02-07 20:14:12 +00:00
Emilio Cobos Álvarez 70d562520d Bug 1748181 - Provide a pref to make scrollbar-width: thin behave as auto. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D137898
2022-02-07 18:14:31 +00:00
Katherine Patenio 24b8dcb47f Bug 1748884 - add PIP support for WebVTT supported videos r=mtigley,mhowell,niklas
This patch integrates WebVTT support for Picture in Picture that can be enabled/disabled via a pref.

Differential Revision: https://phabricator.services.mozilla.com/D135576
2022-02-07 18:05:43 +00:00
chadb 0fd311aba3 Bug 1753117: Add pref for UI changes to Reader Mode. r=niklas,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D137913
2022-02-07 17:26:08 +00:00
Dan Minor 4f9789ad15 Bug 1751936 - Add aShouldSerializeFn as argument to SerializePreferences; r=tjr
Currently we filter preferences sent to the content process when they are updated,
but do not apply this filter to the initial serialization of preferences. This
adds a filter function as an argument to SerializePreference that allows for the
caller to control which preferences are serialized.

Differential Revision: https://phabricator.services.mozilla.com/D137474
2022-02-07 16:44:17 +00:00
Jens Stutte 6db10fc0dc Bug 1753932: Add JS stack dump and debug assertion on late preference writes. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D138002
2022-02-07 14:00:06 +00:00
Valentin Gosu 613521582a Bug 1564310 - Allow fallback in strict mode for request timeouts r=necko-reviewers,kershaw
We don't actually want to fail requests that time out. So if the retry
also times out we just fallback to native as usual.

Depends on D137931

Differential Revision: https://phabricator.services.mozilla.com/D137932
2022-02-07 09:04:45 +00:00
Valentin Gosu 5337335d54 Bug 1564310 - Increase the DoH timeout period in strict fallback mode r=necko-reviewers,kershaw
The new default is 6 seconds.

Differential Revision: https://phabricator.services.mozilla.com/D137931
2022-02-07 09:04:44 +00:00
Emilio Cobos Álvarez 07f4f275f6 Bug 1753408 - Remove ResizeObserver pref. r=webidl,smaug
The front-end relies on it and we've shipped it for a long time, not
worth keeping the pref.

Differential Revision: https://phabricator.services.mozilla.com/D137864
2022-02-04 16:44:22 +00:00
Kershaw Chang 38dd45cdd7 Bug 1750413 - Give http3 and http2 more priority when selecting alpn, r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D137139
2022-02-04 12:11:44 +00:00
Karl Tomlinson 26fb64f5cb Bug 1740824 add a pref to turn off focus requirements for enumerateDevices() r=jib
and "devicechange" events.

Differential Revision: https://phabricator.services.mozilla.com/D137616
2022-02-04 00:00:06 +00:00
Andrew Osmond 193a13db35 Bug 1746750 - Part 3. Implement partial OffscreenCanvasRenderingContext2D. r=lsalzman,webidl,smaug
This patch adds a partial OffscreenCanvasRenderingContext2D
implementation. It is missing anything text and UI related, including
CanvasFilters, CanvasUserInterface, CanvasText, CanvasTextDrawingStyles,
and CanvasHitRegions.

Differential Revision: https://phabricator.services.mozilla.com/D135354
2022-02-03 20:00:25 +00:00
Nicolas Silva 89a8f2b82c Bug 1753442 - Add a pref to ignore will-change:opacity. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D137755
2022-02-03 15:48:33 +00:00
criss 049f3e8d32 Merge autoland to mozilla-central. a=merge 2022-02-03 11:23:11 +02:00
Mike Hommey ae8b1653f8 Bug 1752248 - Remove moz:distributionID and moz:official substitutions. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D137094
2022-02-03 03:42:58 +00:00
Iulian Moraru 39e3ddd037 Backed out 4 changesets (bug 1746750) as per request. CLOSED TREE
Backed out changeset bf79a6b72d87 (bug 1746750)
Backed out changeset 87dde3962558 (bug 1746750)
Backed out changeset 08e0ff1804f6 (bug 1746750)
Backed out changeset 4a3da2db3bc0 (bug 1746750)
2022-02-03 03:24:42 +02:00
Andrew Osmond 1c3016c525 Bug 1746750 - Part 3. Implement partial OffscreenCanvasRenderingContext2D. r=lsalzman,webidl,smaug
This patch adds a partial OffscreenCanvasRenderingContext2D
implementation. It is missing anything text and UI related, including
CanvasFilters, CanvasUserInterface, CanvasText, CanvasTextDrawingStyles,
and CanvasHitRegions.

Differential Revision: https://phabricator.services.mozilla.com/D135354
2022-02-02 23:25:51 +00:00
Iulian Moraru a18d0affe9 Backed out 4 changesets (bug 1745248) for causing issues with credit card sync. a=backout
Backed out changeset 324a6acb8612 (bug 1745248)
Backed out changeset f54ce6b7dd26 (bug 1745248)
Backed out changeset c7212ce535e4 (bug 1745248)
Backed out changeset 06d57e874522 (bug 1745248)
2022-02-03 00:50:29 +02:00
Iulian Moraru b24416ecd3 Backed out changeset a852bd41f51c (bug 1745973) for causing issues with credit card sync. 2022-02-03 00:45:36 +02:00
Csoregi Natalia 5139fa51ef Backed out changeset 951a331c6511 (bug 1748884) for causing failures on browser_text_tracks_webvtt_2.js. CLOSED TREE 2022-02-02 23:54:36 +02:00
Iulian Moraru 30f1186aa5 Backed out 4 changesets (bug 1746750) for causing mochitest webgl failures on test_2_conformance2__offscreencanvas__offscreencanvas-sync.html. CLOSED TREE
Backed out changeset 011f75653bfb (bug 1746750)
Backed out changeset 9c2aca08a507 (bug 1746750)
Backed out changeset cccf6afc3ce9 (bug 1746750)
Backed out changeset 36fedb339908 (bug 1746750)
2022-02-02 23:28:30 +02:00
Katherine Patenio 0bf254ca30 Bug 1748884 - add PIP support for WebVTT supported videos r=mtigley,mhowell,niklas
This patch integrates WebVTT support for Picture in Picture that can be enabled/disabled via a pref.

Differential Revision: https://phabricator.services.mozilla.com/D135576
2022-02-02 19:31:54 +00:00
Kagami Sascha Rosylight a8cd0edb38 Bug 1753207 - Use dom.streams.byte_streams.enabled to cover byte stream interfaces r=evilpie,emilio
Differential Revision: https://phabricator.services.mozilla.com/D137653
2022-02-02 18:56:49 +00:00
Valentin Gosu 3ead68f530 Bug 1753248 - Disable strict-trr-fallback until we fix the timeout issues r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D137664
2022-02-02 17:38:13 +00:00
Andrew Osmond 48f822060f Bug 1746750 - Part 3. Implement partial OffscreenCanvasRenderingContext2D. r=lsalzman,webidl,smaug
This patch adds a partial OffscreenCanvasRenderingContext2D
implementation. It is missing anything text and UI related, including
CanvasFilters, CanvasUserInterface, CanvasText, CanvasTextDrawingStyles,
and CanvasHitRegions.

Differential Revision: https://phabricator.services.mozilla.com/D135354
2022-02-02 16:41:26 +00:00
Tom Ritter 031bff7b2d Bug 1751494 - Add the win32k experiment enrollment prefs and infrastructure r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D136803
2022-02-02 16:33:11 +00:00
Matthew Gaudet 53dc60f71c Bug 1750284 - Rename stream feature exposure prefs r=webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D137494
2022-02-02 16:28:34 +00:00
Karl Tomlinson a9dda47334 Bug 1753131 - use fake device name changes to test devicechange events r=jib
"media.ondevicechange.fakeDeviceChangeEvent.enabled" does not change any
devices and so will not generate any events if/when no-op devicechange events
are filtered out.

The test is rearranged to reduce the wait for no event and run some steps in
parallel, so that the test runs in half the time.  This benefit will
accumulate as more scenarios are added to the test.

Differential Revision: https://phabricator.services.mozilla.com/D132906
2022-02-02 09:18:18 +00:00
Yulia Startsev 0aa0304c7e Bug 1750955 - add pref to turn off Array Grouping; r=evilpie
Differential Revision: https://phabricator.services.mozilla.com/D137279
2022-02-02 09:00:39 +00:00
Hiroyuki Ikezoe ef0e6ea3cf Bug 1751124 - Disable SwipeTracker on Windows. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D137576
2022-02-02 02:12:55 +00:00
Butkovits Atila d9654d9638 Backed out 2 changesets (bug 1750284, bug 1750634) for causing wpt failures at global.html. CLOSED TREE
Backed out changeset 00d4eefcf59b (bug 1750634)
Backed out changeset 118975879e05 (bug 1750284)
2022-02-02 01:40:54 +02:00
Matthew Gaudet 677ba0f7dc Bug 1750284 - Rename stream feature exposure prefs r=webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D137494
2022-02-01 22:43:22 +00:00
Bryce Seager van Dyk 2d296e8968 Bug 1749804 - Increase media.eme.max-throughput-ms to 500. r=alwu
This allows for faster playback rates of EME media. This should allow up to ~5
times speed. Users in the wild have reported this value working without bustage,
so we have some evidence this is a safe value.

Differential Revision: https://phabricator.services.mozilla.com/D137563
2022-02-01 20:29:24 +00:00
Emilio Cobos Álvarez e2e408cd72 Bug 1752862 - Allow some customization of the GTK kinetic scroll parameters. r=botond
This doesn't change behavior by default, but should allow users to tweak
them and provide feedback as to which scroll speed is better for them.

It seems for some people at least the current speed is too much. The
"pixel" mode I implemented should behave exactly like GNOME web, in
terms of scroll speed.

Differential Revision: https://phabricator.services.mozilla.com/D137472
2022-02-01 14:20:23 +00:00
Dragana Damjanovic 85327ac928 Bug 1751170 - Rename http3.enabled pref r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D137192
2022-02-01 12:04:40 +00:00
Cristian Tuns 1ad3bc1249 Backed out 3 changesets (bug 1749477, bug 1750955) for causing reftest failures on unscopables.js CLOSED TREE
Backed out changeset d63e96d23111 (bug 1749477)
Backed out changeset faf29999cc23 (bug 1749477)
Backed out changeset 0ed606582c39 (bug 1750955)
2022-02-01 05:07:12 -05:00
Yulia Startsev 0fb1dde9df Bug 1750955 - add pref to turn off Array Grouping; r=evilpie
Differential Revision: https://phabricator.services.mozilla.com/D137279
2022-02-01 09:04:02 +00:00
Sandor Molnar 2c1eb10c28 Backed out changeset f1df30c0190a (bug 1752906) for causing multiple failures in MIDI. CLOSED TREE 2022-02-01 01:06:30 +02:00
Gabriele Svelto 911a373812 Bug 1752906 - Enabled Web MIDI by default r=bholley
This turns on Web MIDI by default on Windows, macOS and Linux.
Still off on Android where we don't have support yet.

Differential Revision: https://phabricator.services.mozilla.com/D137486
2022-01-31 21:25:44 +00:00
Ryan Hunt d4d2cb3a35 Bug 1750040 - wasm: Enable wasm exception handling in nightly. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D136630
2022-01-31 15:03:52 +00:00
Chris Peterson ee7c342835 Bug 1748798 - Add 'forceVersion100' pref to make user testing of Firefox 100 UA string easier. r=preferences-reviewers,necko-reviewers,Gijs,valentin
Monitor Firefox 100 experiment enrollment in the parent process. If the user gets enrolled in the experiment, the parent process will set the forceVersion100 pref in other processes. The forceVersion100 pref can also be set by the "Firefox 100" option in the Nightly Experiments settings.

Chrome has a similar chrome://flags/#force-major-version-to-100 flag for testing a Chrome 100 UA.

Differential Revision: https://phabricator.services.mozilla.com/D135315
2022-01-30 00:38:31 +00:00
stransky 6162647fa5 Bug 1752097 [Linux] Remove SW decoding to dmabuf textures r=alwu,media-playback-reviewers
Removing SW decoding to dmabuf surfaces in favour of decode to shm surfaces (Bug 1713276).

Differential Revision: https://phabricator.services.mozilla.com/D137032
2022-01-29 19:50:24 +00:00
Iulian Moraru 07ff452d48 Backed out changeset d06323898333 (bug 1751170) for causing multiple build bustages on StaticPrefListAll.h.stub. CLOSED TREE 2022-01-29 00:15:20 +02:00
Dragana Damjanovic b8b1d555dc Bug 1751170 - Rename http3.enabled pref r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D137192
2022-01-28 21:55:45 +00:00