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

19610 Коммитов

Автор SHA1 Сообщение Дата
Nika Layzell e667f33046 Bug 1725270 - Add testing pref to get old about:blank process selection behavior, r=jesup
Adds a pref to perform about:blank document loads which have system
triggering principals within the existing process, rather than doing a
process switch. This can be used in performance tests which load
about:blank and do not expect process switches.

Differential Revision: https://phabricator.services.mozilla.com/D122405
2021-08-13 19:11:40 +00:00
Jon Coppeard 3ae7384840 Bug 1725584 - Add browser prefs for more GC parameters r=smaug
Depends on D122600

Differential Revision: https://phabricator.services.mozilla.com/D122601
2021-08-13 13:58:25 +00:00
sanketh 0689bd0869 Bug 531915 - part 6 - optionally use fdlibm's sin, cos, and tan in jsmath r=tjr,arai
Adds a new preference javascript.options.use_fdlibm_for_sin_cos_tan (default
false) and uses fdlibm for Math.sin, Math.cos, and Math.tan conditioned on it.

Differential Revision: https://phabricator.services.mozilla.com/D119426
2021-08-13 11:57:07 +00:00
sanketh 84f294db2b Bug 531915 - part 5 - build and export sin, cos, and tan from fdlibm r=arai
Differential Revision: https://phabricator.services.mozilla.com/D119425
2021-08-13 11:57:06 +00:00
sanketh 3fe5fa4059 Bug 531915 - part 4 - rem pio2 fixups r=arai
Differential Revision: https://phabricator.services.mozilla.com/D119424
2021-08-13 11:57:06 +00:00
sanketh 6ce4ce9c3b Bug 531915 - part 3 - add back needed rounding helpers and emulate freebsd internal double types ?tjr r=arai
Differential Revision: https://phabricator.services.mozilla.com/D119423
2021-08-13 11:57:06 +00:00
sanketh 2c782c8089 Bug 531915 - part 2 - update fdlibm local patches 4, 8, and 9 r=arai
Differential Revision: https://phabricator.services.mozilla.com/D119422
2021-08-13 11:57:05 +00:00
sanketh 8d898c13b9 Bug 531915 - part 1 - update fdlibm to import files needed for sin, cos, and tan r=arai
Differential Revision: https://phabricator.services.mozilla.com/D119420
2021-08-13 11:57:05 +00:00
Emilio Cobos Álvarez ad5e89ee0d Bug 1722886 - Add a way to override prefers-color-scheme for content without messing with widget values. r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D122455
2021-08-13 11:02:38 +00:00
Christoph Kerschbaumer 4c90be2a98 Bug 1685479 - Flip pref dom.block_download_insecure r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D100993
2021-08-13 09:33:15 +00:00
Narcis Beleuzu 5956c10a41 Backed out 10 changesets (bug 1665776) for mda failures on test_peerConnection_basicH264Video.html. CLOSED TREE
Backed out changeset 495d29e49600 (bug 1665776)
Backed out changeset def1b1ef88a0 (bug 1665776)
Backed out changeset d6c3bea02005 (bug 1665776)
Backed out changeset b5aecfe25f9f (bug 1665776)
Backed out changeset 76ab66d90c6b (bug 1665776)
Backed out changeset d5bd2b250b28 (bug 1665776)
Backed out changeset e8dc6645692d (bug 1665776)
Backed out changeset a1e00e5bd88f (bug 1665776)
Backed out changeset 3f6ff34fda68 (bug 1665776)
Backed out changeset 8d2f96b977ea (bug 1665776)
2021-08-13 04:34:55 +03:00
John Lin 8e4871f297 Bug 1665776 - p10: enable platform encoder for WebRTC in debug builds. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D121027
2021-08-12 22:12:16 +00:00
Andrew Osmond ddabc1b810 Bug 1725388 - Remove pref/envvars that can disable WebRender. r=jrmuizel
MOZ_WEBRENDER=0 now does nothing -- you will either get HW-WR or SW-WR
depending on the platform configuration. The pref
gfx.webrender.force-legacy-layers is removed. This leaves no
configuration option to disable WebRender.

MOZ_WEBRENDER=1 will continue to force WR on, which will ensure in CI we
get HW-WR unless gfx.webrender.software is true.

Differential Revision: https://phabricator.services.mozilla.com/D122474
2021-08-12 20:28:53 +00:00
Iulian Moraru 68dacf122d Backed out 2 changesets (bug 1725388) for causing multiple failures. CLOSED TREE
Backed out changeset cb961c255c8c (bug 1725388)
Backed out changeset 4ee9abeebd43 (bug 1725388)
2021-08-12 19:21:05 +03:00
stransky e72d41676c Bug 1725149 [Wayland] Implement async clipboard, r=rmader
When widget.wayland.async-clipboard.enabled use async clipboard and D&D handlers provided by Gtk.

Differential Revision: https://phabricator.services.mozilla.com/D122353
2021-08-12 14:07:58 +00:00
Andrew Osmond 43a2a6d05e Bug 1725388 - Remove pref/envvars that can disable WebRender. r=jrmuizel
MOZ_WEBRENDER=0 now does nothing -- you will either get HW-WR or SW-WR
depending on the platform configuration. The pref
gfx.webrender.force-legacy-layers is removed. This leaves no
configuration option to disable WebRender.

MOZ_WEBRENDER=1 will continue to force WR on, which will ensure in CI we
get HW-WR unless gfx.webrender.software is true.

Differential Revision: https://phabricator.services.mozilla.com/D122474
2021-08-12 13:54:25 +00:00
Valentin Gosu 78e48c51d2 Bug 669675 - Use Tokenizer in ParseRealm r=necko-reviewers,dragana
We also import the testcases from http://test.greenbytes.de/tech/tc/httpauth/
as unit tests.

This patch adds a network.auth.use_new_parse_realm pref in case this change
causes any regressions.

Depends on D112605

Differential Revision: https://phabricator.services.mozilla.com/D112594
2021-08-12 12:39:25 +00:00
Iulian Moraru 538f123b07 Backed out 6 changesets (bug 531915) for causing build bustages. CLOSED TREE
Backed out changeset 65cf5929d5f2 (bug 531915)
Backed out changeset c9d70e46dfca (bug 531915)
Backed out changeset a4824d5f29fd (bug 531915)
Backed out changeset 9ec88b43d7a1 (bug 531915)
Backed out changeset 5f15204ccca9 (bug 531915)
Backed out changeset 14c95ef3dc44 (bug 531915)
2021-08-12 13:33:31 +03:00
sanketh 21ef77522a Bug 531915 - part 6 - optionally use fdlibm's sin, cos, and tan in jsmath r=tjr,arai
Adds a new preference javascript.options.use_fdlibm_for_sin_cos_tan (default
false) and uses fdlibm for Math.sin, Math.cos, and Math.tan conditioned on it.

Differential Revision: https://phabricator.services.mozilla.com/D119426
2021-08-12 09:59:03 +00:00
sanketh 468c33c7ab Bug 531915 - part 5 - build and export sin, cos, and tan from fdlibm r=arai
Differential Revision: https://phabricator.services.mozilla.com/D119425
2021-08-12 09:59:02 +00:00
sanketh 707e44ec4c Bug 531915 - part 4 - rem pio2 fixups r=arai
Differential Revision: https://phabricator.services.mozilla.com/D119424
2021-08-12 09:59:02 +00:00
sanketh 8dc9e8a52f Bug 531915 - part 3 - add back needed rounding helpers and emulate freebsd internal double types ?tjr r=arai
Differential Revision: https://phabricator.services.mozilla.com/D119423
2021-08-12 09:59:02 +00:00
sanketh 474a039e5c Bug 531915 - part 2 - update fdlibm local patches 4, 8, and 9 r=arai
Differential Revision: https://phabricator.services.mozilla.com/D119422
2021-08-12 09:59:01 +00:00
sanketh 5887beb7b8 Bug 531915 - part 1 - update fdlibm to import files needed for sin, cos, and tan r=arai
Differential Revision: https://phabricator.services.mozilla.com/D119420
2021-08-12 09:59:01 +00:00
Edgar Chen 615ac5c5e6 Bug 1688878 - Use StaticPrefs for dom.event.coalesce_mouse_move pref; r=smaug
And rename it a bit to align with the pref for touchmove

Differential Revision: https://phabricator.services.mozilla.com/D122386
2021-08-12 09:31:04 +00:00
Valentin Gosu 57e3894d7d Bug 1722925 - Avoid unnecessary string copies by nsCString constructor r=necko-reviewers,kershaw CLOSED TREE
Since the Find method does not exist on nsACString, I had to use std::search
to find the "data:" substring in the spec.

Differential Revision: https://phabricator.services.mozilla.com/D122082
2021-08-12 07:40:58 +00:00
Valentin Gosu d97def2f41 Bug 1722925 - Remove NS_MutatorMethod in favor of templated nsIURIMutator::Apply r=necko-reviewers,kershaw
This basically reverts the changes in 5caa81103c00 (bug 1435671). In that bug
we switched from having a templated method to using a templated function
that returned a lambda because the templated method caused a binary size
regression on windows (MSVC). Since Firefox 67 we no longer support MSVC.
Using a lambda also required capturing the arguments by value, so it was
slightly inefficient.

This patch removes NS_MutatorMethod and makes the Apply method a template.
This improves perfomance as we can just pass the arguments to the called
function, without worrying about needing to copy them.
Since MSVC is not supported anymore, and clang and gcc didn't report a
binary size regression, this is a much better solution.

Differential Revision: https://phabricator.services.mozilla.com/D122081
2021-08-12 07:40:58 +00:00
Iulian Moraru 32090542c0 Backed out 2 changesets (bug 1722925) for causing reftest failures in color_quads. CLOSED TREE
Backed out changeset 95a6eacbef27 (bug 1722925)
Backed out changeset 2e2a98aeca5c (bug 1722925)
2021-08-12 12:22:34 +03:00
Valentin Gosu 32b251ca35 Bug 1722925 - Avoid unnecessary string copies by nsCString constructor r=necko-reviewers,kershaw
Since the Find method does not exist on nsACString, I had to use std::search
to find the "data:" substring in the spec.

Differential Revision: https://phabricator.services.mozilla.com/D122082
2021-08-12 07:40:58 +00:00
Valentin Gosu c6b1fa7e03 Bug 1722925 - Remove NS_MutatorMethod in favor of templated nsIURIMutator::Apply r=necko-reviewers,kershaw
This basically reverts the changes in 5caa81103c00 (bug 1435671). In that bug
we switched from having a templated method to using a templated function
that returned a lambda because the templated method caused a binary size
regression on windows (MSVC). Since Firefox 67 we no longer support MSVC.
Using a lambda also required capturing the arguments by value, so it was
slightly inefficient.

This patch removes NS_MutatorMethod and makes the Apply method a template.
This improves perfomance as we can just pass the arguments to the called
function, without worrying about needing to copy them.
Since MSVC is not supported anymore, and clang and gcc didn't report a
binary size regression, this is a much better solution.

Differential Revision: https://phabricator.services.mozilla.com/D122081
2021-08-12 07:40:58 +00:00
Bryce Seager van Dyk e60bdc3d0a Bug 1724781 - Add org.mozilla.clearkey_with_protection_query keysystem to key system access code. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D122143
2021-08-11 19:07:23 +00:00
Narcis Beleuzu 625f7a5de1 Backed out changeset 4f793a75cd93 (bug 1724072) for geckoview failures . CLOSED TREE 2021-08-10 19:19:35 +03:00
Dana Keeler 2a64c08522 Bug 1724072 - allow enabling 3DES only when deprecated versions of TLS are enabled r=rmf
Chrome has removed 3DES completely[0], but we're still seeing some uses of it
in telemetry. Our assumption is that this is either due to old devices that
can't be upgraded, and hence probably use TLS 1.0, or servers that bafflingly
choose 3DES when there are other, better, ciphersuites in common.
This patch allows 3DES to only be enabled when deprecated versions of TLS are
enabled. This should protect users against the latter case (where 3DES is
unnecessary) while allowing them to use it in the former case (where it may be
necessary).

NB: The only 3DES ciphersuite gecko makes possible to enable is
TLS_RSA_WITH_3DES_EDE_CBC_SHA. This patch also changes the preference
corresponding to this ciphersuite from "security.ssl3.rsa_des_ede3_sha" to
"security.ssl3.deprecated.rsa_des_ede3_sha".

[0] https://www.chromestatus.com/feature/6678134168485888

Differential Revision: https://phabricator.services.mozilla.com/D121797
2021-08-10 15:25:37 +00:00
Edgar Chen 89f9ad2708 Bug 1723521 - Part 3: Implement and ship ElementInternals.shadowRoot; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D121566
2021-08-10 15:15:37 +00:00
Jan Varga 4311e5674b Bug 1599979 - Enable LSNG on Release; r=dom-storage-reviewers,jari,jstutte
Differential Revision: https://phabricator.services.mozilla.com/D121941
2021-08-10 14:53:34 +00:00
Andrew McCreight 9a1e961b28 Bug 1724946 - Remove XP_BEOS from Preferences.cpp. r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D122250
2021-08-10 14:53:19 +00:00
Nika Layzell aa9b1db7d6 Bug 1650089 - Part 3: Rework DocumentChannel-triggered process switches to support null principals, r=annyG,kmag
This is a large refactoring of the DocumentChannel process switch codepath,
with the end goal of being better able to support future process switch
requirements such as dynamic isolation on android, as well as the immediate
requirement of null principal handling.

The major changes include:
1. The logic is in C++ and has less failure cases, meaning it should be harder
   for us to error out unexpectedly and not process switch.
2. Process selection decisions are more explicit, and tend to rely less on
   state such as the current remoteType when possible. This makes reasoning
   about where a specific load will complete easier.
3. Additional checks are made after a "WebContent" behavior is selected to
   ensure that if an existing document in the same BCG is found, the load will
   finish in the required content process. This should make dynamic checks such
   as Android's logged-in site isolation easier to implement.
4. ProcessIsolation logging is split out from DocumentChannel so that it's
   easier to log just the information related to process selection when
   debugging.
5. Null result principal precursors are considered when performing process
   selection.

Other uses of E10SUtils for process selection have not yet been migrated to the
new design as they have slightly different requirements. This will be done in
follow-up bugs.

Differential Revision: https://phabricator.services.mozilla.com/D120673
2021-08-10 14:31:17 +00:00
Nicklas Boman cd8acaa740 Bug 1308105 - Replace PL_strpbrk with strpbrk r=xpcom-reviewers,kmag
Differential Revision: https://phabricator.services.mozilla.com/D116933
2021-08-10 11:30:39 +00:00
Masayuki Nakano ace90e9307 Bug 1717760 - Disable `KeyEvent.initKeyEvent` by default r=smaug
Now, Gecko is the only browser to support undocumented `KeyEvent.initKeyEvent`.
We should drop it by default because `typeof KeyboardEvent.initKeyEvent` is
used at least in a major web-site and which causes not working the web-site.

Differential Revision: https://phabricator.services.mozilla.com/D121029
2021-08-10 03:51:38 +00:00
Mats Palmgren 14c9063444 Bug 1706080 - [css-fonts] Implement 'font-synthesis: small-caps'. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D114313
2021-08-09 21:41:34 +00:00
Paul Zuehlcke 2cffa3f5c4 Bug 1724386 - Cache InternalStorageAllowedCheck on inner window. r=timhuang,nika
Differential Revision: https://phabricator.services.mozilla.com/D120833
2021-08-09 16:50:42 +00:00
Barret Rennie 247bd59b37 Bug 1703356 - Support color-mix() in non-sRGB color spaces r=emilio
Out of gamut colours are currently clipped into sRGB.

Differential Revision: https://phabricator.services.mozilla.com/D120561
2021-08-09 16:16:40 +00:00
Alexandru Michis ad486327b2 Backed out 2 changesets (bug 1723204) for causing xpcshell failures in ValidateScriptFilename
CLOSED TREE

Backed out changeset 83e5baac01a9 (bug 1723204)
Backed out changeset 2ee6c94f35b3 (bug 1723204)
2021-08-09 18:33:15 +03:00
Bob Owen 3b32b0316b Bug 1724195: Turn on CET compatible modules only for the rdd process on Nightly. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D121866
2021-08-09 15:14:50 +00:00
Tom Ritter 0d2fa9bec2 Bug 1723204: Wire up a crash for Javascript Load Telemetry r=ckerschb,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D121417
2021-08-09 14:42:31 +00:00
Tom Ritter 4e042e9603 Bug 1723204: Infrastructure for causing a crash at most N times r=KrisWright,ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D121416
2021-08-09 14:42:31 +00:00
Emilio Cobos Álvarez e42b1228c4 Bug 1283388 - Implement datetime-local UI. r=Gijs
This only shows the date picker for now (matches Safari). Seems fine
since we don't enable the time picker by default.

Differential Revision: https://phabricator.services.mozilla.com/D113116
2021-08-09 10:36:13 +00:00
Emilio Cobos Álvarez 929cccabba Bug 1724674 - Disable bug 1723921 for now due to compat issues.
https://github.com/w3c/csswg-drafts/issues/6501 was open to determine
what to do here.

Differential Revision: https://phabricator.services.mozilla.com/D122078
2021-08-09 09:53:44 +00:00
Butkovits Atila d98f54bd68 Backed out changeset 8aef29efdec2 (bug 1283388) for causing failures in test_MozEditableElement_setUserInput.html. CLOSED TREE 2021-08-07 15:18:46 +03:00
Emilio Cobos Álvarez 9809dfd285 Bug 1283388 - Implement datetime-local UI. r=Gijs
This only shows the date picker for now (matches Safari). Seems fine
since we don't enable the time picker by default.

Differential Revision: https://phabricator.services.mozilla.com/D113116
2021-08-07 10:43:36 +00:00