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

683406 Коммитов

Автор SHA1 Сообщение Дата
Aaron Klotz 24253580aa Bug 1522830: Part 5 - Provide a launcher result type that unconditionally includes file and line info; r=mhowell
`LauncherResult` only includes file and line info when built into the launcher
process. Now that there will be `xul.dll`-based code calling into launcher
process startup, this would create an ABI mismatch.

This patch creates a new type, `LauncherResultWithLineInfo`, that
unconditionally includes the file and line so that APIs called by both `xul`
and non-`xul` code can have the same ABI for both.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 22:02:31 +00:00
Aaron Klotz 3dbef2aec5 Bug 1522830: Part 4 - Add constexpr constructor and assignment operator from uint64_t to ModuleVersion; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D53676

--HG--
extra : moz-landing-system : lando
2019-12-06 22:01:40 +00:00
Aaron Klotz ddf3168d35 Bug 1522830: Part 3 - Change launcher blocklist generation to include child processes; r=bytesized
Now that the launcher blocklist will support child processes, we need to add
them to the launcher blocklist. The revised criteria the `Launcher` blocklist
matches the criteria already in use by the `Legacy` blocklist.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 22:01:02 +00:00
Aaron Klotz b43c0975e4 Bug 1522830: Part 2 - Make launcher blocklist work in child processes; r=mhowell
* We change `InitializeDllBlocklistOOP` to be able to set the correct flags
  when initializing a sandbox child process.
* We change the freestanding DLL blocklist code to be sensitive to the
  `CHILD_PROCESSES_ONLY` flag;
* We move the declaration of `gBlocklistInitFlags` to `WindowsDllBlocklist.h`
  so that it is visible to more code.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 22:00:18 +00:00
Aaron Klotz 1ebde9174f Bug 1522830: Part 1 - Init legacy blocklist using gBlocklistInitFlags; r=mhowell
When we initialize the legacy blocklisting code, we should carry forward any
flags that were set by the launcher process and/or sandbox launcher.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 21:59:30 +00:00
Kris Maglione cd579034cc Bug 1596918: Part 4g - Misc cleanup/fixes. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53748

--HG--
extra : moz-landing-system : lando
2019-12-06 22:14:43 +00:00
Kris Maglione 7f21292ff1 Bug 1596918: Part 4f - Fix callers which have timing issues. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53747

--HG--
extra : moz-landing-system : lando
2019-12-06 22:15:31 +00:00
Kris Maglione 41c61c2bb9 Bug 1596918: Part 4e - Fix callers which rely on frame message manager globals. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53746

--HG--
extra : moz-landing-system : lando
2019-12-06 22:15:29 +00:00
Kris Maglione 6d5729ccb5 Bug 1596918: Part 4d - Fix callers which try to return non-clonable values. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53745

--HG--
extra : moz-landing-system : lando
2019-12-06 22:15:27 +00:00
Kris Maglione 73e3d8bcf6 Bug 1596918: Part 4c - Fix callers which depend on document lifecycle changes. r=mccr8
ContentTask tasks have a different lifetime than SpecialPowers tasks, with the
former being tied to the lifetime of a message manager and the latter tied to
the lifetime of a window global. That means that existing ContentTask callers
which expect to be able to register load listeners before the creation of a
window global, or which expect to persist after a page has navigated, won't
work as SpecialPowers tasks.

Since those sorts of tasks are not really resilient in the face of Fission,
they should really be written to work differently, but this patch mostly just
reverts them to using ContentTask for the time being.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 22:15:25 +00:00
Kris Maglione 5a4d5550e1 Bug 1596918: Part 4b - Fix more ESLint issues after rewrite. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53743

--HG--
extra : moz-landing-system : lando
2019-12-06 22:15:23 +00:00
Kris Maglione 7a14e7344a Bug 1596918: Part 4a - Re-add eslint-disable comments removed by rewrite. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53742

--HG--
extra : moz-landing-system : lando
2019-12-06 22:14:24 +00:00
Kris Maglione b5238224ba Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D53741

--HG--
extra : moz-landing-system : lando
2019-12-06 22:14:22 +00:00
Kris Maglione 20da940e14 Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 22:14:14 +00:00
Kris Maglione 37df64fb9f Bug 1596918: Part 2 - Add ESLint support for SpecialPowers.spawn globals. r=Standard8
This patch updates the existing ContentTask.spawn rule to do similar things
for SpecialPowers.spawn calls, only with a slightly different set of globals.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 22:13:59 +00:00
Kris Maglione a05bf74656 Bug 1596918: Part 1e - Correctly handle query handlers throwing uncatchable exceptions. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53738

--HG--
extra : moz-landing-system : lando
2019-12-06 22:13:57 +00:00
Kris Maglione d002626b06 Bug 1596918: Part 1d - Fix some weird ChromeUtils.import calls. r=mccr8
This is somewhat unrelated, but I stumbled across it when writing part 1a, and
it annoyed me.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 22:13:50 +00:00
Kris Maglione a4d92243c6 Bug 1596918: Part 1c - Make some more globals available to SpecialPowers.spawn tasks. r=mccr8
A number of additional globals are available to ContentTask.spawn tasks
compared to SpecialPowers.spawn tasks. Most of these are available by
accident, as a side-effect of running in a shared frame script global, or
being evaled in the context of the content-task.js frame script, but several
of them are pretty broadly useful, or difficult to obtain from a Sandbox
environment without reaching into arbitrary nearby globals.

This patch adds some of the more useful ones to the default task environment.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 22:13:48 +00:00
Kris Maglione 78e7bc3363 Bug 1596918: Part 1b - Allow callers to automatically import JSMs for all SpecialPowers.spawn calls. r=mccr8
Some tests currently use an initial `ContentTask.spawn` call to import certain
modules into the frame script global that subsequent tasks will run in. Since
each `SpecialPowers.spawn` task runs in its own sandbox, this method doesn't
work for them.

This patch adds a helper, `SpecialPowers.addTaskImport`, which allows similar
functionality by automatically importing the given module for any task spawned
by the `SpecialPowers` instance it was called on.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 22:13:41 +00:00
Kris Maglione 92946a07a2 Bug 1596918: Part 1a - Add support for more assertion/info methods to SpecialPowers.spawn. r=mccr8
ContentTask.spawn supports some common global mochitest assertion methods as
aliases for corresponding Assert methods, along with espected-fail `todo`
variants, and the `info` method for logging messages without triggering
assertions. The easiest way to mass-convert existing callers is to just add
support for these to SpecialPowers.spawn, which this patch does.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 22:13:38 +00:00
Jonathan Kew 0d5e98aa7d Bug 1601851 - Use fallible allocation for Spacing arrays in gfxTextRun. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D56189

--HG--
extra : moz-landing-system : lando
2019-12-06 20:47:21 +00:00
Manish Goregaokar 52a09d5497 Bug 1602105: Mention default value of Span<T, Extent>'s extent; r=perry
MozReview-Commit-ID: 5h8zGik856o

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

--HG--
extra : moz-landing-system : lando
2019-12-06 21:02:28 +00:00
Bryce Seager van Dyk f03d58abea Bug 1601813 - Parse av01 codec when parsing Widevine manifests. r=dminor
This lets us load Widevine versions that support av1. This doesn't add encrypted
av1 support, but is one of the steps needed to do so.

This adds some comments to better clarify the string literals found in the code
being updated.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 20:34:45 +00:00
Arthur Iakab cb13cb47be Backed out changeset 9cf05aa4c43c (bug 1599444) for causing mass browser-chrome failures CLOSED TREE 2019-12-06 22:50:31 +02:00
Arthur Iakab 2b78fcd26a Backed out changeset 95294a80bc56 (bug 1601756) for causig newtab failures. 2019-12-06 22:47:20 +02:00
Gijs Kruitbosch c1a3a45283 Bug 1598212 - fix browser selection logic for opening new tab tiles in the same tab, r=Mardak
There's a race condition where we decide we want to open a link in the 'current'
tab, but that tab has changed between when the user clicked the link, and when
we're processing the event. However, the event still knows where it came from,
and we can pass that along to 'openLinkIn' to ensure we open the link in the
correct window/tab.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 18:06:11 +00:00
Jim Porter a1416ae26f Bug 1548274 - Disable dom/ipc/tests/browser_cancel_content_js.js on Windows 10 64-bit debug due to intermittent failures; r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D56238

--HG--
extra : moz-landing-system : lando
2019-12-06 20:05:09 +00:00
Daosheng Mu 509204cd2d Bug 1593841 - Using Gamepad axis array index as its index in default remapper on Mac OS. r=baku
We notice for some unknown gamepads, their axes don't follow the kAxisUsageMin rule, so we should choose to
use array index as the axis id.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 19:19:50 +00:00
Ryan Hunt 959fb0e6b8 Bug 1598377 - Only enable multi-value and ref-types compiler environment flag if build time flag is set. r=lth
The ref-types and multi-value compiler environment flags can be true even if they
are disabled by compile time flag. This mostly works for ref-types because all
new instructions are only decoded if the compile time flag is enabled. This does
not work for multi-value as it affects type validation.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 19:57:56 +00:00
Ryan Hunt 544ed7996b Bug 1598377 - Only allow function types with one result when CL is enabled. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D55029

--HG--
extra : moz-landing-system : lando
2019-12-06 19:57:46 +00:00
Andrew Halberstadt f57f05e1c8 Bug 1601397 - [ci] Enable R-fis (tier 1) on mozilla-central and autoland, r=jmaher
Depends on D56211

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

--HG--
extra : moz-landing-system : lando
2019-12-06 16:55:02 +00:00
Andrew Halberstadt 68f3f65093 Bug 1601397 - [ci] Refactor fission configuration for more flexability r=jmaher,gbrown
This implements a 'fission-run-by-projects' and 'fission-tier' key that mirrors
the non-fission versions. We need to duplicate the keys rather than use
something like 'by-variant' due to the order that things are processed in the
tests.py transforms.

These keys should only be temporary until Fission is running the same as
non-Fission. In the meantime they will give us greater control over what runs
where.

The taskgraph generated before and after this change is identical.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 19:55:14 +00:00
Emma Malysz 7718d22ba1 Bug 1599444, allow users to delete past telemetry data within about:preferences#privacy r=fluent-reviewers,Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D55569

--HG--
extra : moz-landing-system : lando
2019-12-06 18:50:54 +00:00
Andrew Osmond 49ee6bff30 Bug 1601622 - Implement NEON accelerated methods for unpacking RGB to RGBA/BGRA. r=lsalzman
These new methods will be automatically used by ARM targets for image
decoding. Specifically it should reduce the time required to decode GIFs
and opaque PNGs.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 19:06:00 +00:00
Edwin Takahashi e8c12c5adf Bug 1565332 - remove gnome-initial-setup and games frmo ubuntu1804 image r=jmaher
Changes:

These packages are not necessary for proper testing environment, and are pulled in by `ubuntu-desktop` metapackage. Purge them for the time being, at least until the more aggressive pruning and streamlining of the docker image can begin.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 18:59:54 +00:00
Scott d06c7b1117 Bug 1601756 - Discovery Stream rest of world r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D56057

--HG--
extra : moz-landing-system : lando
2019-12-06 02:41:23 +00:00
Mellina Y. fb02c26915 Bug 1581119 - Flex highlighter doesn't adjust color of pattern r=gl
Differential Revision: https://phabricator.services.mozilla.com/D47534

--HG--
extra : moz-landing-system : lando
2019-12-06 18:27:04 +00:00
Daniel Varga 8da304490f Backed out changeset 4a143f845921 (bug 1598893) for causing mochitest-chrome failures at devtools/server/tests/mochitest/test_inspector-inactive-property-helper.html. On a CLOSED TREE 2019-12-06 20:38:07 +02:00
Brian Hackett 65fe862c43 Bug 1596933 - Show both waiting and active workers in threads pane, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D54213

--HG--
extra : moz-landing-system : lando
2019-12-06 18:08:18 +00:00
Brian Hackett bc2410dd5a Bug 1596929 - Show inactive service workers in threads pane, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D53281

--HG--
rename : devtools/client/debugger/test/mochitest/examples/service-worker.js => devtools/client/debugger/test/mochitest/examples/service-worker.sjs
extra : moz-landing-system : lando
2019-12-06 18:08:18 +00:00
Tom Schuster 8c30efe9fe Bug 1590543 - Throw a TypeError in RegExp.prototype.matchAll if regexp.flags does not contain g flag. r=anba
Differential Revision: https://phabricator.services.mozilla.com/D55313

--HG--
extra : moz-landing-system : lando
2019-12-06 18:06:28 +00:00
Gabriele Svelto 4e2db3a3b5 Bug 1280561 - Wait for crashes to be registered by the crash manager before submitting them r=mconley
We wait for the crash to be recorded in the crash manager only for the
submission that will also be recorded. This is required because those crashes
are either content or plug-in crashes and the crash manager is aware of them.
Crash reports submitted from about:crashes are not recorded because they are
not known to the crash manager and thus we shouldn't wait for them.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 17:56:46 +00:00
David Major b5204ec2a8 Bug 1601872 - Handle the case when the mozconfig has no configure_args r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D56207

--HG--
extra : moz-landing-system : lando
2019-12-06 17:41:10 +00:00
Robert Strong 7f3d92be85 Bug 1601827 - Fix the UpdatePing 'ready' telemetry ping for staged updates. r=mhowell
Changes UpdatePing.jsm so it observes 'update-staged' notifications and adds a test so this shouldn't break in the future

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

--HG--
rename : toolkit/mozapps/update/tests/browser/browser_telemetry_updatePing_ready.js => toolkit/mozapps/update/tests/browser/browser_telemetry_updatePing_downloaded_ready.js
rename : toolkit/mozapps/update/tests/browser/browser_telemetry_updatePing_ready.js => toolkit/mozapps/update/tests/browser/browser_telemetry_updatePing_staged_ready.js
extra : moz-landing-system : lando
2019-12-06 16:13:30 +00:00
Timothy Nikkel 26ba83c620 Bug 1601936. Ensure ScrollWheelInput::mAPZAction is transferred over ipc. r=botond
https://hg.mozilla.org/mozilla-central/rev/cb713d188609 (bug 1458063) added mAPZAction to ScrollWheelInput but didn't add the code to transfer it over ipc.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 16:56:36 +00:00
Nicolas Chevobbe be0074e600 Bug 1601642 - Add a emitForTests methods to event-emitter.js. r=rcaliman.
This methods is then used in Netmonitor and Animation
panel, where we already had similar functions.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 16:55:50 +00:00
Matthew Gaudet a0ba6ae677 Bug 1592102 - Introduce AbstractScope r=tcampbell
In preparation for deferring the allocation of Scopes to the end of bytecode
emission, we introduce AbstractScope, which is a facade class for use within
the BytecodeEmitter. This class allows asking the same set of queries that are
asked of Scopes, but when we defer the allocation of Scopes, we may not choose
to answer the queries with a Scope, instead using a (to be implemented)
ScopeCreationData.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 16:25:29 +00:00
Matthew Gaudet 20482cd5ba Bug 1592102 - Refactor Scope allocation paths to support code sharing r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D51910

--HG--
extra : moz-landing-system : lando
2019-12-06 16:25:27 +00:00
Matthew Gaudet ebf576ec8d Bug 1592102 - Hoist ScopeKind into own header r=tcampbell
Avoids future circular include issues.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 16:25:25 +00:00
Molly Howell e13b9a1421 Bug 1600905 - Use the right window classes to detect if a Firefox instance is running. r=agashlin
We've been using the "FirefoxMessageWindow" class for this, but it no longer
exists as of bug 1518639, so switch to classes that should always be there.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 16:00:06 +00:00