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

17982 Коммитов

Автор SHA1 Сообщение Дата
Noemi Erli 279f3b6a42 Backed out changeset 550164313c4f (bug 1601179) for causing failures in test_async CLOSED TREE 2020-06-12 08:16:14 +03:00
Logan Smyth 7f4a5aeed0 Bug 1601179 - Enable async stacks but limit captured async stacks to debuggees. r=jorendorff,smaug
The 'asyncStack' flag on JS execution contexts is used as a general switch
to enable async stack capture across all locations in SpiderMonkey, but
this causes problems because it can at times be too much of a performance
burden to general and track all of these stacks.

Since the introduction of this option, we have only enabled it on Nightly
and DevEdition for non-mobile builds, which has left a lot of users unable
to take advantage of this data while debugging.

This patch enables async stack traces across all of Firefox, but introduces
a new pref to toggle the scope of the actual expensive part of async stacks,
which is _capturing_ them and keeping them alive in memory. The new pref
limits the capturing of async stack traces to only debuggees, unless an
explicit pref is flipped to capture async traces for all cases.

This means that while async stacks are technically enabled, and code could
manually capture a stack and pass it back to SpiderMonkey and see that stack
reflected in later captured stacks, SpiderMonkey itself and related async
DOM APIs, among others, will not capture stacks or pass them to SpiderMonkey,
so there should be no general change in performance by enabling the broader
feature itself, unless the user is actively debugging the page.

One affect of this patch is that if you have the debugger open and then close
it, objects that have async stacks associated with them will retain those
stacks and they will continue to show up in stack traces, no _new_ stacks
will be captured. jorendorff and I have decided that this is okay because
the expectation that the debugger fully revert every possible effect that it
could have on a page is a nice goal but not a strict requirement.

Differential Revision: https://phabricator.services.mozilla.com/D68503
2020-06-11 21:24:16 +00:00
Alexis Beingessner 0d843d258d Bug 1642721 - convert security.sandbox.logging.enabled to a StaticPref. r=bobowen
Depends on D78933

Differential Revision: https://phabricator.services.mozilla.com/D78934
2020-06-11 12:35:45 +00:00
Alexis Beingessner 83994a45b8 Bug 1642721 - convert the last two securit.sandbox.*.win32k VarCache prefs. r=bobowen
converts:
  * security.sandbox.rdd.win32k-disable
  * security.sandbox.gmp.win32k-disable

I'm assuming the pattern established by the other, newer, win32k StaticPrefs can
be followed here, and the xpcom checks aren't needed.

Differential Revision: https://phabricator.services.mozilla.com/D78933
2020-06-11 12:34:10 +00:00
Kartikaya Gupta 7451b0d0b2 Bug 1644271 - Enable the MVM pref by default. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D79230
2020-06-12 01:15:11 +00:00
Kartikaya Gupta f89c7c3302 Bug 1644271 - Add a pref to enable the MobileViewportManager. r=tnikkel
Currently false by default, so no functional change in the default
configuration.

Differential Revision: https://phabricator.services.mozilla.com/D79223
2020-06-12 01:15:40 +00:00
Kearwood Gilbert 8584903f39 Bug 1644579 - Allow VR backends to be enabled and disabled without restarting. Ensure that all other backends are disabled when the VR puppet is enabled. r=daoshengmu
Differential Revision: https://phabricator.services.mozilla.com/D78993
2020-06-10 19:04:19 +00:00
Razvan Maries 6425307954 Backed out 2 changesets (bug 1642667) for perma failures on test_peerConnection_basicAudioNATRelay.html. CLOSED TREE
Backed out changeset 94d3e7706178 (bug 1642667)
Backed out changeset f17d5aa45ecc (bug 1642667)
2020-06-12 00:46:08 +03:00
Andrea Marchesini c1c4f9f3ca Bug 1642667 - Isolate alt-srv and connection pool per first-party when privacy.partition.network_state is set to true - part 2 - tests, r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D78083
2020-06-10 13:38:24 +00:00
Paul Bone 9ae88523bb Bug 1550571 - Pref on Browsing Context preservation r=kmag,remote-protocol-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D77764
2020-06-10 06:51:36 +00:00
Dragana Damjanovic f5681bc3e2 Bug 1644377 - Put Draft-28 behind a pref. r=michal,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D79031
2020-06-10 15:48:43 +00:00
Alexis Beingessner b9bb5e1106 Bug 1642724 - convert network.http.sendOriginHeader to a StaticPref. r=KrisWright,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D78911
2020-06-10 01:18:52 +00:00
Alexis Beingessner 5ea808f2bd Bug 1642722 - convert the nsURILoader.cpp VarCache prefs to StaticPrefs. r=KrisWright
converts:
  * dom.largeAllocationHeader.enabled
  * general.document_open_conversion_depth_limit

Differential Revision: https://phabricator.services.mozilla.com/D78916
2020-06-09 23:03:55 +00:00
Emilio Cobos Álvarez 88714c5091 Bug 1471854 - Make print.always_print_silent a static pref. r=jwatt
So that it shows up in about:config (and also it's faster that way).

Differential Revision: https://phabricator.services.mozilla.com/D79117
2020-06-10 13:41:17 +00:00
neil 6b1f254a89 Bug 1641324 Remove the layout.css.scrollbar-width.enabled and layout.css.scrollbar-color.enabled prefs r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D78400
2020-06-10 13:16:34 +00:00
Narcis Beleuzu 86aa1a058e Backed out 2 changesets (bug 1642667) for mda failures on test_peerConnection_basicAudioNATRelay.html . CLOSED TREE
Backed out changeset c1672891baf5 (bug 1642667)
Backed out changeset 4745600e205a (bug 1642667)
2020-06-10 16:34:45 +03:00
Andrea Marchesini 3ba071fd19 Bug 1642667 - Isolate alt-srv and connection pool per first-party when privacy.partition.network_state is set to true - part 2 - tests, r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D78083
2020-06-09 11:55:21 +00:00
Kagami Sascha Rosylight 0046c51bb0 Bug 1644511 - Part 1: Make bidi.edit.caret_movement_style a static pref r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D79004
2020-06-10 00:33:51 +00:00
Denis Palmeiro 522b733636 Bug 1606652 - Speculatively off thread parse external scripts as soon as they are fetched. r=smaug
The changes proposed here will speculatively parse all external scripts off thread as soon as they are fetched, except for async, link preload, and non parser inserted scripts.  This should save us some time since currently all scripts are parsed right before execution or while they are blocking the dom parser.

Differential Revision: https://phabricator.services.mozilla.com/D76644
2020-06-10 00:45:26 +00:00
Jan Andre Ikenmeyer 4ea170003e Bug 1496639 - Disable DHE ciphers by default. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D66270
2020-06-09 19:34:23 +00:00
Dana Keeler 63919c509b Bug 1630434 - de-duplicate preloaded intermediates that may have been cached in cert9.db r=kjacobs,bbeurdouche
In general, PSM caches intermediates from verified certificate chains in the
NSS certdb. Before bug 1619021, this would include preloaded intermediates,
which is unnecessary because cert_storage has a copy of those certificates, and
so they don't need to take up time and space in the NSS certdb. This patch
introduces the intermediate preloading healer, which periodically runs on a
background thread, looks for these duplicate intermediates, and removes them
from the NSS certdb.

Differential Revision: https://phabricator.services.mozilla.com/D77152
2020-06-09 18:02:52 +00:00
Alexis Beingessner 68cabeb994 Bug 1642344 - convert dom.noopener.newprocess.enabled to a StaticPref. r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D77851
2020-06-09 14:45:54 +00:00
Alexis Beingessner fc174e020d Bug 1642344 - convert HTMLInputElement VarCache prefs to StaticPrefs. r=geckoview-reviewers,agi.
converts:
* dom.experimental_forms
* dom.forms.datetime.others
* dom.forms.color

Differential Revision: https://phabricator.services.mozilla.com/D77850
2020-06-09 14:45:50 +00:00
Alexis Beingessner cc942b6af6 Bug 1642344 - convert EventStateManager VarCache prefs to StaticPrefs. r=KrisWright,masayuki
converts:
* plugin.mousewheel.enabled
* mousewheel.autodir.enabled
* mousewheel.autodir.honourroot
* accessibility.accesskeycausesactivation
* ui.click_hold_context_menus

Differential Revision: https://phabricator.services.mozilla.com/D77849
2020-06-09 14:45:42 +00:00
Alexis Beingessner 06069b14e3 Bug 1642344 - convert converter.html2txt.always_include_ruby into a StaticPref. r=KrisWright
NOTE: this also removes a mysterious old comment that implied this code could run without libpref initializing
the value, in which case they picked a different default. I assume this is no longer a real configuration?

Differential Revision: https://phabricator.services.mozilla.com/D77848
2020-06-09 14:45:38 +00:00
Razvan Maries f761608e79 Backed out changeset bca9f7459a16 (bug 1643656) for reftests perma failures. CLOSED TREE 2020-06-09 18:24:48 +03:00
Dan Minor f8f95a8f04 Bug 1643155 - Rename obfuscate_host_addresses pref; r=ng,mkaply
Renaming this to blocklist, as this is a list of sites for which hostname
obfuscation is disabled.

Differential Revision: https://phabricator.services.mozilla.com/D78681
2020-06-09 09:30:04 +00:00
Emilio Cobos Álvarez 6b86e22f72 Bug 1643656 - Remove prefers-color-scheme: no-preference. r=gl,remote-protocol-reviewers,hiro,whimboo
It was removed from the spec. Bug 1643934 updates the WPT tests.

Differential Revision: https://phabricator.services.mozilla.com/D78834
2020-06-09 13:21:54 +00:00
Jon Coppeard ebd33b0e2f Bug 1639246 - Ship weak refs r=sfink,smaug
This renames the pref to remove 'experimental' and turns it on by default.

For integration with the CC, any DOM objects that are the target of a WeakRef or registered with a FinalizationRegistry have their wrappers preserved. WeakRef.deref() checks whether any wrapper is still preserved and returns undefined if not, to avoid giving out references to wrappers whose DOM object has been cycle collected.

Tests exercising browser integration are under js/xpconnect/tests/mochitest/.

Differential Revision: https://phabricator.services.mozilla.com/D77656
2020-06-09 11:20:45 +00:00
Masayuki Nakano 8954e9663b Bug 1636855 - Enable `editor.truncate_user_pastes` even in Nightly channel r=emilio
Mozilla consider that we should protect even Nightly testers from the behavior
change of bug 1320229.

And I forgot to modify the new mochitest for bug 1635224 which is a regression
of bug1320229.

Differential Revision: https://phabricator.services.mozilla.com/D78841
2020-06-09 08:47:31 +00:00
Tom Tung 492794a250 Bug 1641874 - Make the pref unchangeable at runtime; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D78282
2020-06-09 08:10:42 +00:00
Razvan Maries d6cd2e480b Backed out 2 changesets (bug 1641874) for perma failures on test_audioWorklet_WASM.html. CLOSED TREE
Backed out changeset df279d4082d8 (bug 1641874)
Backed out changeset 45045a6a1b24 (bug 1641874)
2020-06-09 11:05:26 +03:00
Tom Tung 322e512941 Bug 1641874 - Make the pref unchangeable at runtime; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D78282
2020-06-08 15:25:52 +00:00
Kashav Madan 2bf3a9f716 Bug 1641929 - Prevent fission.autostart from changing at runtime and mark it as do_not_use_directly, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D78826
2020-06-08 23:00:21 +00:00
Kris Taeleman ca4c948827 Bug 1643832 - Add Pref flag to enable shader precaching at startup. r=jnicol
Differential Revision: https://phabricator.services.mozilla.com/D78580
2020-06-08 08:18:34 +00:00
Masatoshi Kimura 8601daefcb Bug 1643910 - Remove ability to disable JSM global sharing. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D78602
2020-06-08 11:03:36 +00:00
Masayuki Nakano 72a41b4a70 Bug 1636855 - Disallow to paste longer text than `maxlength` value except in Nightly channel and early Beta r=emilio
Fix of bug 1320229 allowed to paste longer text than `maxlength` attribute of
`<input>` and `<textarea>` because it was thought that the longer text causes
"too long" invalidate state, makes users notified and prevent to submit
form data.

However, according to Bug 1636855 comment 7 (*1), it breaks a major enterprise
web app, SAP, at least because it sends form data without checking validity of
each form data and discards invalid data on server side silently.

According to bug 1636855 comment 24 (*2), one of new behavior's fault is
on Gecko side too.  The style of `<input>` element or `<textarea>` element
which has too long text after pasting is changed when it loses focus.
Therefore, users can post the data before they know pasted data is too
long if sending the form data with `Enter` key or something immediately
after pasting (i.e., without moving focus) web apps handle it by themselves.

On the other hand, the original bug report, bug 1320229, should be solved in
the future especially in password field because users may register password
which is cut by `maxlength` silently and they don't use builtin password
manager, only the pasted password is saved, and then, they won't be able to
login as the account.  This is really long standing issue of the web forms.
An article (*3) warned this to web developers in 2011.  Therefore, we should
keep going advance for solving this issue at least in Nightly channel to get
more feedback from testers and web developers.

1 https://bugzilla.mozilla.org/show_bug.cgi?id=1636855#c7
2 https://bugzilla.mozilla.org/show_bug.cgi?id=1636855#c24
3 https://www.christophermanning.org/writing/dont-use-maxlength-on-password-inputs

Differential Revision: https://phabricator.services.mozilla.com/D78613
2020-06-07 21:29:48 +00:00
Andrea Marchesini 8ad43f4d47 Bug 1522083 - Enable noopener by default for area and anchor elements with target=_blank and no rel attribute set, r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D67497
2020-06-05 14:31:26 +00:00
Timothy Nikkel 06a144b2a2 Bug 1643634. Let the WS_EX_LAYERED | WS_EX_TRANSPARENT flags on the compositor window ride the trains. r=sotaro
Now that bug 1632357 is fixed there is no known regression from using those flags. So let's get wider exposure to them even though direct manipulation isn't yet enabled by default.

Differential Revision: https://phabricator.services.mozilla.com/D78474
2020-06-05 09:43:30 +00:00
Dan Minor 7e4f4a65d2 Bug 1641600 - Re-enable rtx and add *.google.com to blocklist; r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D77815
2020-06-04 14:46:08 +00:00
Chris H-C 0ab50d164c Bug 1643395 - Allow configuring FOG server to localhost via pref r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D78347
2020-06-05 12:52:20 +00:00
Narcis Beleuzu 88034fc69a Backed out changeset 889d7cd14e4d (bug 1630434) for xpcshell failures on test_intermediate_preloads.js . CLOSED TREE 2020-06-05 11:08:57 +03:00
Gabriele Svelto 19363fa6c5 Bug 1637048 - Significantly increase the time we wait before killing a content process that hasn't finished shutting down r=jld
Differential Revision: https://phabricator.services.mozilla.com/D77905
2020-06-04 22:55:03 +00:00
Dana Keeler 1130f3ee6a Bug 1630434 - de-duplicate preloaded intermediates that may have been cached in cert9.db r=kjacobs,bbeurdouche
In general, PSM caches intermediates from verified certificate chains in the
NSS certdb. Before bug 1619021, this would include preloaded intermediates,
which is unnecessary because cert_storage has a copy of those certificates, and
so they don't need to take up time and space in the NSS certdb. This patch
introduces the intermediate preloading healer, which periodically runs on a
background thread, looks for these duplicate intermediates, and removes them
from the NSS certdb.

Differential Revision: https://phabricator.services.mozilla.com/D77152
2020-06-05 00:44:52 +00:00
Martin Thomson e610b0e676 Bug 1643229 - Disable TLS 1.0 in release channels, r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D78215
2020-06-05 00:29:13 +00:00
Emma Malysz c2ded60e72 Bug 1610134: revert late writes from nsTerminator. r=dthayer
After investigating the potential to reduce the nsTerminator's crash timeout from
1 min, to 20s, and then finally 40s, we have decided to this does not provide
significant gains to justify increasing the amount of shutdown hang crashes
and potential to lose data. We should maintain the crash timeout at 1 min.

Differential Revision: https://phabricator.services.mozilla.com/D77939
2020-06-04 19:18:21 +00:00
Farooq AR 8b7017979f Bug 1636418 - Rename WebSockets codebase to Messages. r=Honza,bomsy
Differential Revision: https://phabricator.services.mozilla.com/D76724
2020-06-04 14:12:14 +00:00
Butkovits Atila 8257764785 Backed out 3 changesets (bug 1641600) for failures at test_peerConnection_constructedStream.html. CLOSED TREE
Backed out changeset 41a85b7d3e5e (bug 1641600)
Backed out changeset 249782af96bb (bug 1641600)
Backed out changeset 86c2932e66d3 (bug 1641600)
2020-06-04 15:06:33 +03:00
Dan Minor 4362998da5 Bug 1641600 - Re-enable rtx and add *.google.com to blocklist; r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D77815
2020-06-03 21:02:04 +00:00
Mark Hammond 350c376c1a Bug 1634615 - flip the pref to enable the rust browser.storage.sync implementation. r=lina,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D78171
2020-06-04 06:11:45 +00:00