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

682558 Коммитов

Автор SHA1 Сообщение Дата
Nicolas Chevobbe 721aadf5c6 Bug 1591874 - Move VariablesView files to devtools/client/storage. r=miker.
Since the storage inspector is the last consumer of the VariablesView,
it makes sense to move the component directly in the storage inspector
folder.
Since it can't have a controller, the bits where we were checking this
are removed.

Differential Revision: https://phabricator.services.mozilla.com/D54734

--HG--
extra : moz-landing-system : lando
2019-12-03 10:10:56 +00:00
Nicolas Chevobbe c632d39c32 Bug 1529917 - Remove VariablesViewController.jsm. r=miker.
It isn't used anywhere, so we can safely remove it.

Differential Revision: https://phabricator.services.mozilla.com/D54733

--HG--
extra : moz-landing-system : lando
2019-12-03 10:10:13 +00:00
Marco Vega 3defbe3b72 Bug 1589334 - Enable ESLint for all of devtools/shared (manual changes). r=Standard8,jdescottes,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D51090

--HG--
extra : moz-landing-system : lando
2019-12-03 08:39:59 +00:00
Marco Vega 02f9c81edb Bug 1589334 - Enable ESLint for all of devtools/shared/ (automatic changes). r=Standard8,jdescottes
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D51089

--HG--
extra : moz-landing-system : lando
2019-12-03 10:11:13 +00:00
Jon Coppeard 82d4bd1aeb Bug 1600238 - Finalize FinalizationGroup objects in the foreground to avoid depdendency on when holdings objects are finalized r=sfink
The holdings objects can be foreground or background finalized, but HeapPtr's destructor depends on the referent's arena to have not been released. Making FinalizationGroups foreground finalized achieves this.

Differential Revision: https://phabricator.services.mozilla.com/D55302

--HG--
extra : moz-landing-system : lando
2019-12-02 22:33:45 +00:00
Jon Coppeard af9f55e67f Bug 1600018 - Skip processing FinalizationGroups where the CCWs from the target to the FinalizationGroup object have been nuked r=sfink
Where a FinalizationGroup and its target are in different compartments they are linked by a CCW from a map in the target's zone to the FinalizationGroup. This deals with what happens if we nuke the CCWs between these two compartments. I think the sensible thing to do in this case is to not call the FinalizationGroup's callback and effectively forget about the registrations. Nuking CCWs happens when compartments are known to be dead and therefore this is similar to the way don't call callbacks on shutdown.

Depends on D55114

Differential Revision: https://phabricator.services.mozilla.com/D55115

--HG--
extra : moz-landing-system : lando
2019-12-02 20:18:23 +00:00
shindli 469391a18b Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-12-03 11:52:46 +02:00
shindli 8bc2475224 Merge autoland to mozilla-central. a=merge 2019-12-03 11:47:34 +02:00
Kershaw Chang a1a7f14884 Bug 1600678 - Use IPDL refcounted for DNSRequest r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D55475

--HG--
extra : moz-landing-system : lando
2019-12-02 18:28:49 +00:00
Valentin Gosu 2fc5985a45 Bug 1598430 - Make sure that we record the NETWORK_ID_ONLINE telemetry at the right time r=michal
We perform this check in the first OnDataAvailable, instead of doing it in
OnStopRequest in case a network down event occurs after the data has arrived
but before we fire OnStopRequest. That would cause us to report a missing
networkID, even though it was not empty while receiving data.

Differential Revision: https://phabricator.services.mozilla.com/D55574

--HG--
extra : moz-landing-system : lando
2019-12-03 07:35:11 +00:00
Marco Bonardo a331739d6c Bug 1599618 - Fix browser_stop_pending.js in Fission mode. r=adw
The origin switch causes a process switch that makes us load about:blank first.
For the scope of the test we can just check we don't revert to the original url
and we finally set the expected one.

Differential Revision: https://phabricator.services.mozilla.com/D55524

--HG--
extra : moz-landing-system : lando
2019-12-03 01:23:25 +00:00
Marco Bonardo 4b9e5194b2 Bug 1599839 - Merge sources and acceptableSources in UrlbarQueryContext. r=adw,mixedpuppy
Rename acceptableSources to just sources, merge it with the existing sources property.

Differential Revision: https://phabricator.services.mozilla.com/D55082

--HG--
extra : moz-landing-system : lando
2019-12-02 17:20:39 +00:00
Julian Descottes b913159811 Bug 1534871 - Request longer timeout in browser_aboutdebugging_devtoolstoolbox_tooltip_markupview.js r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D55433

--HG--
extra : moz-landing-system : lando
2019-12-03 08:27:23 +00:00
Simon Giesecke ad71342ccb Bug 1597211 - Introduce InitializedOnce class template. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D54894

--HG--
extra : moz-landing-system : lando
2019-12-02 18:57:20 +00:00
Simon Giesecke 94fbcaa76d Bug 1587126 - Declare that scoped enums should be used. r=dom-workers-and-storage-reviewers,janv,asuth
Depends on D55117

Differential Revision: https://phabricator.services.mozilla.com/D55118

--HG--
extra : moz-landing-system : lando
2019-12-02 23:13:26 +00:00
Simon Giesecke 0e60a75792 Bug 1600066 - Added clarification on use of already_AddRefed. r=dom-workers-and-storage-reviewers,janv,asuth
Differential Revision: https://phabricator.services.mozilla.com/D55117

--HG--
extra : moz-landing-system : lando
2019-12-03 08:14:57 +00:00
Henri Sivonen 8f73b57bca Bug 1600561 - Handle eCompositionCommitAsIs in ContentCacheInParent::OnCompositionEvent. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D55417

--HG--
extra : moz-landing-system : lando
2019-12-02 15:27:29 +00:00
Thomas Nguyen e93180d18b Bug 1598470 - Reduce number of supported features in Feature Policy r=baku
Differential Revision: https://phabricator.services.mozilla.com/D54200

--HG--
extra : moz-landing-system : lando
2019-12-02 16:31:09 +00:00
Thomas Nguyen 18482671c9 Bug 1595720 - Disable fullscreen in third party by default r=baku
Differential Revision: https://phabricator.services.mozilla.com/D54194

--HG--
extra : moz-landing-system : lando
2019-12-02 16:01:09 +00:00
Edgar Chen fa196a13e6 Bug 1600608 - Remove duplicated declaration of JS_IsArrayBufferViewObject; r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D55447

--HG--
extra : moz-landing-system : lando
2019-12-02 22:34:46 +00:00
Drew Willcoxon 70d3caf1ee Bug 1599360 - Use AppUpdater.jsm in aboutDialog-appUpdater.js when preffed on, and use the current implementation when preffed off r=rstrong
Summary of changes:

* Copy aboutDialog-appUpdater.js to a new aboutDialog-appUpdater-legacy.js file
* Update aboutDialog-appUpdater.js: Rewrite it to use the new AppUpdater.jsm when the `browser.aboutDialogNewAppUpdater` pref is true, and load aboutDialog-appUpdater-legacy.js otherwise
* In toolkit/mozapps/update/tests/browser, add new browser.legacy.ini and browser.legacy.bits.ini files that do not set `browser.aboutDialogNewAppUpdater` to true, so that the old implementation is still tested
* Update browser.ini and browser.bits.ini files to set `browser.aboutDialogNewAppUpdater` to true so that the new implementation is tested

If all this is OK, I'll file another bug for removing the legacy stuff once we merge.

Differential Revision: https://phabricator.services.mozilla.com/D54837

--HG--
rename : browser/base/content/aboutDialog-appUpdater.js => browser/base/content/aboutDialog-appUpdater-legacy.js
rename : toolkit/mozapps/update/tests/browser/browser.bits.ini => toolkit/mozapps/update/tests/browser/browser.legacy.bits.ini
rename : toolkit/mozapps/update/tests/browser/browser.ini => toolkit/mozapps/update/tests/browser/browser.legacy.ini
extra : moz-landing-system : lando
2019-12-03 06:01:32 +00:00
Drew Willcoxon b0910d87b8 Bug 1599360 - Factor out appUpdater from aboutDialog-appUpdater.js into a jsm module r=rstrong
Differential Revision: https://phabricator.services.mozilla.com/D54677

--HG--
rename : browser/base/content/aboutDialog-appUpdater.js => browser/modules/AppUpdater.jsm
extra : moz-landing-system : lando
2019-12-03 06:01:32 +00:00
Ted Campbell fe7d53a432 Bug 1566466 - Clean up relazification conditions. r=jandem a=backout-reversal DONTBUILD
Move the relazification decisions to JSScript since the check is made after
delazification happens. The JSScript::isRelazifiable check inspects
characteristics of the script itself, while JSScript::canRelazify includes
additional checks for runtime conditions outside the script.

Depends on D55362

Differential Revision: https://phabricator.services.mozilla.com/D55390

--HG--
extra : source : 14f33b78f0eb5e32fd3e9c116f21a23ab7221f26
extra : amend_source : b589a2468c961591d1ada333857118e9e3a26e64
2019-12-02 14:32:16 +00:00
Ted Campbell fdccc607b8 Bug 1600439 - Move the PrivateScriptData pointer to js::BaseScript. r=jandem
Now that both LazyScript and JSScript have the same pointer field, we can
move to the BaseScript class. The inner-function pointers in the gcthings
array will have the same meaning for both LazyScript and JSScript, but the
other members of gcthings may have different interpretations.

This adds poisoning of the PrivateScriptData in the LazyScript case for
consistency.

Depends on D55361

Differential Revision: https://phabricator.services.mozilla.com/D55362

--HG--
extra : source : 617ce539db705444da7589ecba02e4060d825a2e
2019-12-02 14:32:00 +00:00
Ted Campbell c908220bd0 Bug 1600439 - Move js::PrivateScriptData before js::BaseScript. r=jandem
Reorder the classes in JSScript.h so that we can use PrivateScriptData from
within BaseScript.

Depends on D55360

Differential Revision: https://phabricator.services.mozilla.com/D55361

--HG--
extra : source : 47f84263339e71dcca4b8cf03179f5722b7503fd
2019-12-02 14:30:04 +00:00
Ted Campbell a907068223 Bug 1600439 - Replace LazyScriptData with PrivateScriptData. r=jandem
It it straight-foward for users of LazyScriptData to support a single array
for closedOverBindings and innerFunctions. As a result, we can use
PrivateScriptData as the implementation and eliminate the LazyScriptData type
altogether.

Depends on D55035

Differential Revision: https://phabricator.services.mozilla.com/D55360

--HG--
extra : source : 07471e96b2d8fdec534ee3c03432d1fe21095599
2019-12-02 14:31:42 +00:00
Ted Campbell 7d45fc3815 Bug 1591598 - Move 'warmUpData_' field to js::BaseScript. r=jandem
Unify the JSScript::warmUpData_ and LazyScript::enclosingLazyScriptOrScope_
fields into BaseScript. As a script progresses from lazy up to being JIT-ed
it the type stored in this field will change. If a script is in a compiled
state, the enclosingLazyScriptOrScope_ value can always be reconstructed
during relazification.

Depends on D55034

Differential Revision: https://phabricator.services.mozilla.com/D55035

--HG--
extra : source : 5163670bfede45831e1d2eb246eceeaa774d2631
2019-12-02 14:29:48 +00:00
Ted Campbell 1c030470f8 Bug 1591598 - Support storing LazyScript/Scope in ScriptWarmUpData. r=jandem,jonco
Allow storing manually-barriered GC pointers in ScriptWarmUpData. This
updates the 'trace' method as needed. When switching types, the user must
first 'clear' the old type and then 'init' the new type. We continue to use
WarmUpCount(0) as the default safe state.

Depends on D55033

Differential Revision: https://phabricator.services.mozilla.com/D55034

--HG--
extra : source : 5ea098cc9ef02f4391d2ed8c8f0a64625a9042fa
2019-12-02 14:31:04 +00:00
Ted Campbell 3d88259ec4 Bug 1591598 - Move js::ScriptWarmUpData before js::BaseScript. r=jandem
Prepare to move the warmUpData field to BaseScript by first moving the type
definition earlier in the file.

Differential Revision: https://phabricator.services.mozilla.com/D55033

--HG--
extra : source : 42ca239ee6a65d3f28f1990da62db7efe2c19bd8
2019-12-02 14:29:36 +00:00
Coroiu Cristina e0ae4125a2 Backed out 7 changesets (bug 1600439, bug 1566466, bug 1591598) for raptor crashes on a CLOSED TREE
Backed out changeset 14f33b78f0eb (bug 1566466)
Backed out changeset 617ce539db70 (bug 1600439)
Backed out changeset 47f84263339e (bug 1600439)
Backed out changeset 07471e96b2d8 (bug 1600439)
Backed out changeset 5163670bfede (bug 1591598)
Backed out changeset 5ea098cc9ef0 (bug 1591598)
Backed out changeset 42ca239ee6a6 (bug 1591598)

--HG--
extra : source : 4cb3934b76b14f04d8f8cd781f14a56693312f40
2019-12-02 21:27:55 +02:00
Noemi Erli 79b3b21bb6 Merge autoland to mozilla-central. a=merge 2019-12-02 20:41:12 +02:00
Mihai Alexandru Michis d12cf9f2ad Backed out changeset 9dea219937cd (bug 1560664) for causing valgrid bustages. CLOSED TREE
--HG--
extra : rebase_source : 60fba62a9241bec3aadc84260c2b9dacb89cf1ff
2019-12-02 16:59:55 +02:00
Jon Coppeard ad4b558a2e Bug 1600070 - Update test262 tests r=jandem
The result of running test262-update.py.

Depends on D55121

Differential Revision: https://phabricator.services.mozilla.com/D55122

--HG--
extra : moz-landing-system : lando
2019-12-02 12:36:13 +00:00
Jon Coppeard a32d49f115 Bug 1600070 - Enable test262 FinalizationGroup tests on infra r=jandem
This adds the shell option for all the FinalizationGroup tests and updates the test262 update script. We still need to run the update script so that the tests do feature detection.

Differential Revision: https://phabricator.services.mozilla.com/D55121

--HG--
extra : moz-landing-system : lando
2019-12-02 12:36:13 +00:00
ffxbld 2eb3b6566d Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2019-12-02 11:59:11 +00:00
ffxbld 548007e681 No bug - Tagging mozilla-central 6d3a96d7f2f44e941ef6b61bfa10eed0389b142f with FIREFOX_NIGHTLY_72_END a=release DONTBUILD CLOSED TREE 2019-12-02 11:57:37 +00:00
Jon Coppeard 5718264798 Bug 1598683 - Add a way to enable conditional features in test262 shell tests r=jandem
The patch adds a new option that can be used from jstests.list to pass additional shell command line options. With feature detection (skip-if) this allows us to have tests running on infra for experimental features that are not yet supported in the browser.

Differential Revision: https://phabricator.services.mozilla.com/D54316

--HG--
extra : moz-landing-system : lando
2019-12-02 11:24:35 +00:00
Mihai Alexandru Michis 3f8e4cc2e1 Backed out 3 changesets (bug 1600314) for causing bc and dt failures regarding manifest filters. CLOSED TREE
Backed out changeset 4c4e74df38bd (bug 1600314)
Backed out changeset 3c4063b93ce7 (bug 1600314)
Backed out changeset d28d71c964c7 (bug 1600314)
2019-12-02 16:44:35 +02:00
Jonathan Watt ce8382d606 Bug 1594391. Move PrintingChild.jsm print telemetry logging to the parent process. r=Gijs,chutten
Differential Revision: https://phabricator.services.mozilla.com/D51992

--HG--
extra : moz-landing-system : lando
2019-12-02 14:35:36 +00:00
Dimi Lee 97ee7956bf Bug 1599379 - Create a DBService instance in GetWorker API when it doesn't exist. r=baku
There are two places using DBService during a page load at startup:
1. nsChannelClassifier::Start, used by Phishing Protection
2. AsyncChannelClassifier::CheckChannel, used by Tracking Protection

Tracking protection checks happen before establishing a network connection, so it happens
prior to phishing protection checkes. When we load a page at
startup, ::CheckChannel API is called, but DBService is not yet created.

This patch fixes this issue by creating a DBService instance when
::GetWorker API is called without a DBService instance.

Differential Revision: https://phabricator.services.mozilla.com/D55248

--HG--
extra : moz-landing-system : lando
2019-12-02 14:37:25 +00:00
André Bargull b0a4cb0d30 Bug 1474914: Skip elementsRangeWriteBarrierPost for nursery objects. r=jonco
`StoreBuffer::putSlot` when called with a nursery object as its `obj` parameter
is a no-op, because `StoreBuffer::put` is a no-op when `Edge::maybeInRememberedSet`
return false, which, in the case of `SlotsEdge`, happens when `SlotsEdge::object()`
is in the nursery. This enables us to skip the linear traversal of the elements
array in `elementsRangeWriteBarrierPost` when the current object is in the nursery.

Differential Revision: https://phabricator.services.mozilla.com/D55420

--HG--
extra : moz-landing-system : lando
2019-12-02 12:50:30 +00:00
Ted Campbell dd2de5a33d Bug 1566466 - Clean up relazification conditions. r=jandem
Move the relazification decisions to JSScript since the check is made after
delazification happens. The JSScript::isRelazifiable check inspects
characteristics of the script itself, while JSScript::canRelazify includes
additional checks for runtime conditions outside the script.

Depends on D55362

Differential Revision: https://phabricator.services.mozilla.com/D55390

--HG--
extra : moz-landing-system : lando
2019-12-02 14:32:16 +00:00
Ted Campbell 932d0d59fe Bug 1600439 - Move the PrivateScriptData pointer to js::BaseScript. r=jandem
Now that both LazyScript and JSScript have the same pointer field, we can
move to the BaseScript class. The inner-function pointers in the gcthings
array will have the same meaning for both LazyScript and JSScript, but the
other members of gcthings may have different interpretations.

This adds poisoning of the PrivateScriptData in the LazyScript case for
consistency.

Depends on D55361

Differential Revision: https://phabricator.services.mozilla.com/D55362

--HG--
extra : moz-landing-system : lando
2019-12-02 14:32:00 +00:00
Ted Campbell 05dd0bca38 Bug 1600439 - Move js::PrivateScriptData before js::BaseScript. r=jandem
Reorder the classes in JSScript.h so that we can use PrivateScriptData from
within BaseScript.

Depends on D55360

Differential Revision: https://phabricator.services.mozilla.com/D55361

--HG--
extra : moz-landing-system : lando
2019-12-02 14:30:04 +00:00
Ted Campbell 8ec1a14c33 Bug 1600439 - Replace LazyScriptData with PrivateScriptData. r=jandem
It it straight-foward for users of LazyScriptData to support a single array
for closedOverBindings and innerFunctions. As a result, we can use
PrivateScriptData as the implementation and eliminate the LazyScriptData type
altogether.

Depends on D55035

Differential Revision: https://phabricator.services.mozilla.com/D55360

--HG--
extra : moz-landing-system : lando
2019-12-02 14:31:42 +00:00
Ted Campbell 6ea700f0c1 Bug 1591598 - Move 'warmUpData_' field to js::BaseScript. r=jandem
Unify the JSScript::warmUpData_ and LazyScript::enclosingLazyScriptOrScope_
fields into BaseScript. As a script progresses from lazy up to being JIT-ed
it the type stored in this field will change. If a script is in a compiled
state, the enclosingLazyScriptOrScope_ value can always be reconstructed
during relazification.

Depends on D55034

Differential Revision: https://phabricator.services.mozilla.com/D55035

--HG--
extra : moz-landing-system : lando
2019-12-02 14:29:48 +00:00
Ted Campbell 752e7e91aa Bug 1591598 - Support storing LazyScript/Scope in ScriptWarmUpData. r=jandem,jonco
Allow storing manually-barriered GC pointers in ScriptWarmUpData. This
updates the 'trace' method as needed. When switching types, the user must
first 'clear' the old type and then 'init' the new type. We continue to use
WarmUpCount(0) as the default safe state.

Depends on D55033

Differential Revision: https://phabricator.services.mozilla.com/D55034

--HG--
extra : moz-landing-system : lando
2019-12-02 14:31:04 +00:00
Ted Campbell 1a39a4f915 Bug 1591598 - Move js::ScriptWarmUpData before js::BaseScript. r=jandem
Prepare to move the warmUpData field to BaseScript by first moving the type
definition earlier in the file.

Differential Revision: https://phabricator.services.mozilla.com/D55033

--HG--
extra : moz-landing-system : lando
2019-12-02 14:29:36 +00:00
ffxbld 6250b1272b No bug - Tagging mozilla-central b8f3a97900e5148daed8c0aae87243b8ef4a2c31 with FIREFOX_BETA_72_BASE a=release DONTBUILD CLOSED TREE 2019-12-02 11:18:59 +00:00
longsonr 745d36a183 Bug 1599296 - SVG images and links should not be draggable r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D55385

--HG--
extra : moz-landing-system : lando
2019-12-02 05:44:30 +00:00