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

662694 Коммитов

Автор SHA1 Сообщение Дата
Geoff Brown 2c32a72538 Bug 1569688 - Use e10s by default for geckoview mochitest; r=jmaher
The default, options.app == None, implies geckoview, with e10s.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 17:54:25 +00:00
Carolina 61f289efbe Bug 1567161 - Fixes leak sanitizer error.r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D39671

--HG--
extra : moz-landing-system : lando
2019-07-29 14:04:27 +00:00
Kristen Wright 05b0ade9f4 Bug 1569004 - Convert dom.timeout.enable_budget_timer_throttling to static pref. r=njn
Converts dom.timeout.enable_budget_timer_throttling from varcache pref to static pref, removes entry from all.js, adds entry to StaticPrefList.yaml. Uses the all.js value and not the value declared in TimeoutManager.cpp. Since this removes the last varcache pref from TimeoutManager::Initialize(), I also removed the Initialize() function and its call in nsGlobalWindowInner.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 20:14:48 +00:00
Kristen Wright c6f7b5dbfa Bug 1569004 - Convert dom.timeout.budget_throttling_max_delay to static pref. r=njn
Converts dom.timeout.budget_throttling_max_delay varcache pref to static pref, removes entry from all.js, and adds entry to StaticPrefList.yaml

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

--HG--
extra : moz-landing-system : lando
2019-07-26 21:11:41 +00:00
kriswright 340d7a78d1 Bug 1569004 - Convert dom.timeout.foreground_throttling_max_budget to static pref. r=njn
Converts dom.timeout.foreground_throttling_max_budget to static pref, removes all.js entry, updates usage, adds entry to StaticPrefList.yaml.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 20:09:34 +00:00
kriswright 17e79b1478 Bug 1569004 - Convert dom.timeout.background_throttling_max_budget to static pref. r=njn
Converts dom.timeout.background_throttling_max_budget varcache pref to static pref, removes all.js entry, adds entry to StaticPrefList.yaml.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 20:06:08 +00:00
kriswright f9c7a23a96 Bug 1569004 - Convert dom.timeout.foreground_budget_regeneration_rate to StaticPref. r=njn
Converts dom.timeout.foreground_budget_regeneration_rate varcache pref in TimeoutManager.cpp to static pref, removes entry in all.js, adds entry in StaticPrefList.yaml.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 20:32:25 +00:00
kriswright a717c209a1 Bug 1569004 - Convert dom.timeout.background_budget_regeneration_rate to StaticPref. r=njn
Converts dom.timeout.background_budget_regeneration_rate varcache pref in TimeoutManager.cpp to static pref, removes entry in all.js, adds entry to StaticPrefList.yaml.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 03:07:42 +00:00
kriswright 8e4a9f02c1 Bug 1569004 - convert dom.disable_open_click_delay to StaticPref. r=njn
Converts dom.disable_open_click_delay from a VarCache pref in TimeoutManager.cpp to StaticPref, removes all.js entry, and corrects a typo where the value was mentioned in nsGlobalWindowInner.cpp.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 19:28:30 +00:00
kriswright 3d34dc8c5b Bug 1569004 - Convert dom.timeout.max_consecutive_callbacks_ms to static pref. r=njn
Converts dom.timeout.max_consecutive_callbacks_ms varcache pref in TimeoutManager.cpp to static pref, removes associated variables and all.js entry, and adds entry to StaticPrefList.yaml.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 03:07:41 +00:00
kriswright 7c1f644ceb Bug 1569004 - Convert dom.timeout.throttling_delay to static pref. r=njn
Converts dom.timeout.throttling_delay in TimeoutManager.cpp from varcache pref to static pref, removes entry in all.js, and adds entry in StaticPrefList.yaml. Favors the all.js value over the declared value in TimeoutManager.cpp.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 03:07:41 +00:00
kriswright 90656e48ae Bug 1569004 - Remove dom.min_tracking_timeout_value and dom.min_tracking_background_timeout_value varcache prefs. r=njn
Removes dom.min_tracking_timeout_value and dom.min_tracking_background_timeout_value, because they are never used.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 03:07:41 +00:00
kriswright 49f219f27c Bug 1569004 - Convert dom.min_background_timeout_value to StaticPref. r=njn
Converts dom.min_background_timeout_value in TimeoutManager.cpp to static pref, removes entry in all.js, adds entry to StaticPrefList.yaml.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 19:21:47 +00:00
kriswright 0f96a859f0 Bug 1569004 - Convert dom.min_timeout_value to StaticPref r=njn
Converts dom.min_timeout_value varcache pref from TimeoutManager::Initialize() to a static pref, and removes its entry and associated constants from TimeoutManager.cpp and all.js

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

--HG--
extra : moz-landing-system : lando
2019-07-26 19:15:44 +00:00
Andrew Halberstadt 429fb9a444 Bug 1567264 - [mochitest] Add a convenience --enable-fission argument r=gbrown
This argument is an alias for '--setpref="fission.autostart=1"'.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 17:49:33 +00:00
Andrew Halberstadt e3e6ea6d8e Bug 1567264 - [mozlog] Support log errors in the errorsummary and mach formatter r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D39547

--HG--
extra : moz-landing-system : lando
2019-07-29 15:16:22 +00:00
Ryan Hunt 2094ef2928 Bug 1559965 - Wasm: Implement new atomic.fence instruction. r=bbouvier
This commit implements the 'atomic.fence' Wasm instruction.

Issue: https://github.com/WebAssembly/threads/issues/140
Overview: https://github.com/WebAssembly/threads/pull/141

The instruction is encoded as, 0xFE 0x03, with a reserved byte trailing for a future
memory order immediate. The instruction is implemented by emitting a memoryBarrier
through the macro assembler.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 17:26:45 +00:00
Drew Willcoxon 912ec74678 Bug 1569366 - Move the top sites API from toolkit to browser r=mixedpuppy
Bug 1547669 added some things to the top sites API, but it turned out to be not quite what we (the quantumbar team) needed (see bug 1568617). What we need is the list of top sites exactly as it appears on newtab. That list is determined by activity stream, which lives in browser. But the top sites API lives in toolkit.

There was an earlier, now abandoned revision for that bug [1] where it was suggested that top sites be moved to browser. So we should do that.

[1] https://phabricator.services.mozilla.com/D36200

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

--HG--
rename : toolkit/components/extensions/parent/ext-topSites.js => browser/components/extensions/parent/ext-topSites.js
rename : toolkit/components/extensions/schemas/top_sites.json => browser/components/extensions/schemas/top_sites.json
rename : toolkit/components/extensions/test/xpcshell/test_ext_topSites.js => browser/components/extensions/test/xpcshell/test_ext_topSites.js
extra : moz-landing-system : lando
2019-07-29 17:00:19 +00:00
Nika Layzell 7d9769c5e3 Bug 1565405 - Fail async ctor call if `!Manager()->CanSend()`, r=froydnj
The previous behaviour of failing unconditionally was performed as, during
shutdown, the channel could become unable to send without worker threads having
a chance to react. This change keeps that behaviour, isolating async message
senders from impending IPC shutdown, while performing expected actor teardown if
the manager actor has already been destroyed, and should no longer send messages.

An alternate behaviour here could be to crash if !Manager()->CanSend(). That
behaviour may be preferable if a sufficient number of callsites don't check the
return value of the `SendPFooConstructor()` method.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 16:37:40 +00:00
Jon Coppeard 039889ae92 Bug 1568476 - Root ScriptQuery::innermostForRealm for consistency and in case this ever becomes a hazard r=sfink?
Depends on D39201

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

--HG--
extra : moz-landing-system : lando
2019-07-24 17:28:41 +00:00
Emily Toop 8a99fa75f8 Bug 1562301: Stop URL bar hiding tab switcher in GVE. r=geckoview-reviewers,agi
The URL bar was expanding to cover the tab switcher button, meaning that a new tab could not be navigated to after opening.

This is needed so that members of the Gecko media team can replicate an issue in GVE that causes images not to be displayed in Fenix.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 15:40:20 +00:00
Geoff Brown 6b02e56439 Bug 1569053 - Define MOZ_ANDROID_DATA_DIR for android xpcshell tests; r=snorp
Effectively avoids an assertion in many geckoview xpcshell tests.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 15:47:35 +00:00
Thomas Nguyen 2bfaa83f89 Bug 1567573 - Apply Referrer-Policy header from redirect response r=michal
Differential Revision: https://phabricator.services.mozilla.com/D38879

--HG--
extra : moz-landing-system : lando
2019-07-29 13:51:17 +00:00
James Willcox 6c9d00461e Bug 1561913 - Correctly propagate referrer policy in GeckoView nsIBrowserDOMWindow impl r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D36617

--HG--
extra : moz-landing-system : lando
2019-07-29 15:34:45 +00:00
James Willcox a21fa77ad1 Bug 1561079 - Skip part of test_bug375314.html on GeckoView r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D39700

--HG--
extra : moz-landing-system : lando
2019-07-29 15:34:42 +00:00
James Willcox 4274c61812 Bug 1561079 - Add a `GeckoSession.loadUri()` overload that takes a referring `GeckoSession` r=geckoview-reviewers,ckerschb,esawin,agi
Differential Revision: https://phabricator.services.mozilla.com/D36526

--HG--
extra : moz-landing-system : lando
2019-07-29 15:34:40 +00:00
James Willcox b9f7851a27 Bug 1561079 - Run nsILoadURIDelegate::handleLoadError() even if we wouldn't show an error page r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D36785

--HG--
extra : moz-landing-system : lando
2019-07-29 15:34:32 +00:00
James Willcox bc13c95548 Bug 1561079 - Add `referrerInfo` to <browser> r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D36525

--HG--
extra : moz-landing-system : lando
2019-07-29 15:34:30 +00:00
Bogdan Tara 14cc86962d Backed out 2 changesets (bug 1552716) for failures on browser_multiselect_tabs_using_keyboard.js CLOSED TREE
Backed out changeset 63e0cc8a35a8 (bug 1552716)
Backed out changeset 45b9bfbc709b (bug 1552716)
2019-07-29 18:43:14 +03:00
Sebastian Hengst 14f4125565 Backed out changeset 4aead1eca8c6 (bug 1521893) to fix crashes (bug 1568862)
--HG--
extra : rebase_source : 55caf819b464734c29515f81eca41a6cbba4d5b4
2019-07-29 17:11:19 +02:00
James Graham 5f6066ee8d Bug 1568991 - Test that content overriding listeners doesn't affect script evaluation, r=ato
Gecko had a bug where content would be able to see an internal
onunload handler used to handle the case where the page navigates when
script is running. This test ensures that onunload isn't set when
running a script and that changes to addEventListener from content
aren't visible to the harness internal code.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 15:07:33 +00:00
James Graham 027befb9ba Bug 1568991 - Ensure marionette event listeners are isolated from content, r=ato,bzbarsky
Internal marionette listeners should neither be visible to content
script, nor have their registation affected by changes made in
content. The evaluate method was breaking these constraints by
creating listeners in a sandbox with Xrays disabled, which is
appropriate to the injected script itself but not to the
harness-internal parts.

Use a different sandbox for the harness code compared to the injected
code, and move away from using onunload to using addEventListener for
the unload handler.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 08:48:50 +00:00
thomasmo a4f1b3fdcd Bug 1563233 - Update VRManager to consume VRShMem r=kip,daoshengmu
This change replaces and removes code in VRManager that was refactored into the
new VRShMem class.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 14:30:54 +00:00
Andreas Tolfsen 2fe8ddbb8c bug 1553756: remote: let Runtime.evaluate default to the current context; r=remote-protocol-reviewers,ochameau
If the contextId parameter is omitted when calling Runtime.evaluate,
the expression will be performed in the context of the currently
inspected page.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 15:02:53 +00:00
Kershaw Chang 0d30d95291 Bug 1566808 - Add STARTF_FORCEOFFFEEDBACK when launching process on windows r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D39682

--HG--
extra : moz-landing-system : lando
2019-07-29 14:59:27 +00:00
Belén Albeza 54ea0f0fd2 Bug 1553799 - Part 3: Move serviceContainer to its own module r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D39374

--HG--
extra : moz-landing-system : lando
2019-07-29 12:53:18 +00:00
Belén Albeza 7286fc89e3 Bug 1553799 - Part 2: Move rendering of workers to their own root component r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D39373

--HG--
rename : devtools/client/application/test/components/components_application_panel-WorkerList.test.js => devtools/client/application/test/components/service-workers/components_application_panel-WorkerList.test.js
rename : devtools/client/application/test/components/components_application_panel-WorkerListEmpty.test.js => devtools/client/application/test/components/service-workers/components_application_panel-WorkerListEmpty.test.js
rename : devtools/client/application/test/components/components_application_panel-App.test.js => devtools/client/application/test/components/service-workers/components_application_panel-WorkersPage.test.js
extra : moz-landing-system : lando
2019-07-29 12:52:02 +00:00
Belén Albeza 244f7f3e3b Bug 1553799 - Part 1: Move worker-related components to their own folder r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D39372

--HG--
rename : devtools/client/application/src/components/Worker.css => devtools/client/application/src/components/service-workers/Worker.css
rename : devtools/client/application/src/components/Worker.js => devtools/client/application/src/components/service-workers/Worker.js
rename : devtools/client/application/src/components/WorkerList.css => devtools/client/application/src/components/service-workers/WorkerList.css
rename : devtools/client/application/src/components/WorkerList.js => devtools/client/application/src/components/service-workers/WorkerList.js
rename : devtools/client/application/src/components/WorkerListEmpty.css => devtools/client/application/src/components/service-workers/WorkerListEmpty.css
rename : devtools/client/application/src/components/WorkerListEmpty.js => devtools/client/application/src/components/service-workers/WorkerListEmpty.js
extra : moz-landing-system : lando
2019-07-29 12:50:17 +00:00
Olli Pettay c7ee50989c Bug 1565930, try to make Promise less error prone to compartment mismatches, r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D38762

--HG--
extra : moz-landing-system : lando
2019-07-29 14:43:54 +00:00
Junior Hsu 5932647860 Bug 1566295 - Do not send Origin: if we can't extract a valid origin r=ckerschb,tnguyen
Sometimes we don't have origin like OCSP requests, or a fetch issues from web extension.
We should not send `Origin:`

Spec doesn't specify how to treat other protocol like moz-extension.
IMO we should also prevent sending `Origin:` to keep web-compat.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 08:00:35 +00:00
Lars T Hansen 7b8f13f995 Bug 1565768 - asm.js optimized compilation must gate on ion-for-wasm being available. r=jseward
asm.js optimized compilation can be disabled by the unavailability of
ion-for-wasm through command line option selection; we must therefore
gate carefully.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 14:01:10 +00:00
Tooru Fujisawa fb38893d0e Bug 1562298 - Check OOM after PerHandlerParser::finishLexicalScope. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D36695

--HG--
extra : moz-landing-system : lando
2019-07-26 21:17:54 +00:00
Boris Zbarsky 3581c41939 Bug 1568729. Only include the static pref headers we really need in binding code. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D39528

--HG--
extra : moz-landing-system : lando
2019-07-28 11:08:00 +00:00
Emilio Cobos Álvarez e91be6b314 Bug 1568778 - Do suppress adjustments when switching an undisplayed element to be abspos. r=dholbert
One of the issues with the test-case in this bug is that the page consumes a ton
of CPU due to scroll anchor adjustments being triggered from scroll events,
which in turn cause other scroll events to fire.

This happens in Chrome as well (just scroll to the bottom of the test-case, and
do `addEventListener("scroll", () => console.log("scroll"))` on devtools. But I
think it's worth fixing. This patch fixes it and overall I think it's a slightly
better approach to suppress adjustments than what we're doing.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 13:44:46 +00:00
Tim Huang 4851c8803d Bug 1552716 - Part 2: Update the test browser_toolbarKeyNav.js. r=johannh
We need to update the test since '#tracking-protection-icon-container'
is accessible before the '#identity-box'.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 11:58:19 +00:00
Tim Huang a580fbf197 Bug 1552716 - Part 1: Fix the keyboard navigation of the tracking protection icon. r=Jamie
This patch fixes the issue that the keyboard navigation doesn't work for
the tracking protection icon.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 04:02:03 +00:00
Emilio Cobos Álvarez 79d6827e07 Bug 1456358 - Inhibit RecomputePosition when descendants depend on the out of flow position. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D38194

--HG--
extra : moz-landing-system : lando
2019-07-29 13:43:29 +00:00
Mike Conley 11fefe136c Bug 1569421 - Re-enable browser_startup_mainthreadio.js and browser_startup_syncIPC.js for macOS 10.14. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D39607

--HG--
extra : moz-landing-system : lando
2019-07-29 14:01:12 +00:00
Csoregi Natalia 6ccfe19186 Backed out 2 changesets (bug 1568150) for failures on browser_ext_devtools_panel.js. CLOSED TREE
Backed out changeset 47f2bc60381a (bug 1568150)
Backed out changeset beb290a8b2a3 (bug 1568150)
2019-07-29 17:08:08 +03:00
Benjamin Bouvier 9c9bb036ae Bug 1565301: Disallow too large line numbers for asm.js; r=luke
This is due to an implementation detail of the IonMonkey backend, which stores
call sites bytecode numbers on 29 bits, for packing purposes. The wasm baseline
compiler doesn't have this issue because it stores them on 32 bits. Check it to
avoid an easy browser DOS.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 13:34:46 +00:00