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

683406 Коммитов

Автор SHA1 Сообщение Дата
Agi Sferro 075b50c9f3 Bug 1599580 - Rename blockedReason -> blocklistState. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D55729

--HG--
extra : moz-landing-system : lando
2019-12-05 20:11:04 +00:00
Agi Sferro 9034f6546c Bug 1599580 - Make GeckoViewWebExtension.extensionById async. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D55728

--HG--
extra : moz-landing-system : lando
2019-12-05 16:35:41 +00:00
Agi Sferro 741c6f7529 Bug 1599580 - Make Extensions.get(id) asynchronous. r=snorp
This is a pre-requisite for making extensions persistent, as sometimes we have
to fetch state from Gecko, so getting the extension needs to be async.

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

--HG--
extra : moz-landing-system : lando
2019-12-05 16:35:41 +00:00
Agi Sferro 2850aa9f64 Bug 1599580 - Fix typo in setPromptDelegate. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D55727

--HG--
extra : moz-landing-system : lando
2019-12-05 16:35:41 +00:00
Agi Sferro 4f9802d34f Bug 1599580 - Allow null aBrowser in AddonManager.installAddonFromWebpage. r=mixedpuppy,snorp
GeckoView will install extensions from the native UI so it doesn't have a
browser object to pass into this method.

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

--HG--
extra : moz-landing-system : lando
2019-12-05 16:35:42 +00:00
Aaron Klotz 1c70c3f3cb Bug 1601781: Forward declare ContentParent in BrowsingContextGroup; r=kmag CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D56088

--HG--
extra : histedit_source : 004456e40c7ac4ef1ec64e3881e6e70e9f09dfc4
2019-12-05 14:46:45 -07:00
Brindusan Cristian a2cf032227 Backed out changeset d3bd59939150 (bug 1601781) for build bustages at BrowsingContextGroup.h. CLOSED TREE 2019-12-06 00:16:31 +02:00
Aaron Klotz a7a405d52f Bug 1522830: Part 13 - Update third-party-modules ping to acquire data from child processes; r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D53686

--HG--
extra : moz-landing-system : lando
2019-12-05 22:01:30 +00:00
Aaron Klotz 8bc4f093b0 Bug 1522830: Part 12 - ASAN fix for DllBlocklistInit in launcher process; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D53685

--HG--
extra : moz-landing-system : lando
2019-12-05 22:00:50 +00:00
Aaron Klotz b0c0ca9ca2 Bug 1522830: Part 11 - Adjust shutdown phase in widget/windows/WinUtils for telemetry whitelisting; r=mhowell
The current shutdown phase is too early and thus may crash when called
by `UntrustedModulesProcessor`. We move it to a later phase such that the
processor has already shut down.

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

--HG--
extra : moz-landing-system : lando
2019-12-05 22:00:07 +00:00
Aaron Klotz a97a4ef52c Bug 1522830: Part 10 - Add IPC for untrusted modules to RDD; r=mjf
* The parent process needs to be able to request the child process to provide
  its untrusted modules telemetry. This is done via `GetUntrustedModulesData`.
* The child process needs to be able to determine which of its module loads are
  trusted, and which are not. Since the child process is sandboxed, it must
  delegate that work to the parent process. This is done via `GetModulesTrust`.
* The handlers for these functions just pass the requests on to DLL Services
  to do the actual processing.

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

--HG--
extra : moz-landing-system : lando
2019-12-05 21:59:29 +00:00
Aaron Klotz 4890f302b3 Bug 1522830: Part 9 - Add IPC for untrusted modules to Content; r=jmathies
* The parent needs to be able to request the child to provide its untrusted
  modules telemetry. This is done via `GetUntrustedModulesData`.
* The child needs to be able to determine which of its module loads are trusted,
  and which are not. Since the child is sandboxed, it must delegate that work
  to the parent process. This is done via `GetModulesTrust`.

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

--HG--
extra : moz-landing-system : lando
2019-12-05 21:58:23 +00:00
Aaron Klotz 4204671639 Bug 1522830: Part 8 - Update UntrustedModulesProcessor to support processing child processes; r=mhowell
This patch contains the core changes to make this all work across e10s:

* We clarify the naming of path variables to be more specific as to whether they are NT paths or DOS paths;
* We add IPC `ParamTraits` that are necessary for `UntrustedModulesData` types;
* We implement `ProcessModuleLoadQueue` for child processes. Because of sandboxing, we need to split this sequence into multiple async operations:
  ** Initial queue processing;
  ** Sending the list of modules to the parent process to determine trustworthiness (via `GetModulesTrust`);
  ** Receiving the results from the parent process and producing a final result (via `CompleteProcessing`).
* We implement the `GetModulesTrust` function for the parent process, which evaluates the trust of child process modules;
* We change all hash tables to be keyed using NT paths. Because resolving DOS paths may not be permitted in sandboxed processes,
  we need to standardize on NT paths as the "universal path" across processes.
* We add `WinDllServices::StartUntrustedModulesProcessor` to separate untrusted modules startup from `WinDllServices` construction:
  ** While we now start `WinDllServices` across all child process types, only specific process types will support untrusted modules.
  ** Furthermore, untrusted modules must be started at a very specific point that is dependent on the type of child process.
  ** We add those calls to `StartUntrustedModulesProcessor` in subsequent patches.

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

--HG--
extra : moz-landing-system : lando
2019-12-05 21:57:29 +00:00
Aaron Klotz 250ba21fbc Bug 1522830: Part 7 - Initialize launcher process blocklist during launch of sandboxed child process; r=bobowen
When launching a sandboxed child process that uses `firefox.exe`, we now
perform early initialization of the DLL blocklist.

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

--HG--
extra : moz-landing-system : lando
2019-12-05 21:55:45 +00:00
Aaron Klotz a62a0441c9 Bug 1522830: Part 6 - Add API to be able to initialize launcher dll blocklist during spawning of child process; r=mhowell
We need a way for the sandbox broker to be able to initialize the launcher
DLL blocklist when starting a new content process.

This patch adds the ability to resolve the initialization function through
DLL services.

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

--HG--
extra : moz-landing-system : lando
2019-12-05 21:55:02 +00:00
Aaron Klotz e27c1bca50 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-05 21:53:41 +00:00
Aaron Klotz c15ae2a867 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-05 21:52:51 +00:00
Aaron Klotz 21f179a116 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-05 21:52:13 +00:00
Aaron Klotz 1faa66d3d6 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-05 21:51:35 +00:00
Aaron Klotz 9a66b26b8a 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-05 21:51:33 +00:00
Aaron Klotz ebc8ee2b4d Bug 1601781: Forward declare ContentParent in BrowsingContextGroup; r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D56088

--HG--
extra : moz-landing-system : lando
2019-12-05 21:54:47 +00:00
Kris Maglione 5f6b4fac7c Bug 1571569: Check for correct document in blockParsing test. r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D55906

--HG--
extra : moz-landing-system : lando
2019-12-05 14:23:33 +00:00
Andreas Pehrson f6d76a1f88 Bug 1392945 - Wait for "seeked" instead of "playing". r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D55952

--HG--
extra : moz-landing-system : lando
2019-12-05 21:12:14 +00:00
Kris Maglione c1a5e74b7f Bug 1601768: Don't register BrowserContentHandler in content processes. r=mconley
It only works in the parent process, and if we wind up falling back to it in a
content process, it can only cause trouble.

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

--HG--
extra : moz-landing-system : lando
2019-12-05 21:14:45 +00:00
Jonathan Watt d3067dbcb3 Bug 1601694. Remove the redundant Windows range/ifame selection code. r=bobowen
There is no need for this code to set the kEnableSelectionRB bit. nsPrintJob
already sets it before it calls nsIPrintingPromptService::ShowPrintDialog.

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

--HG--
extra : moz-landing-system : lando
2019-12-05 18:24:27 +00:00
Brindusan Cristian 4b11b63400 Backed out changeset b89936db7178 (bug 202251) for bc failures at browser_misused_characters_in_strings.js. CLOSED TREE 2019-12-05 23:10:09 +02:00
Gabriel Luong db27a01299 Bug 1601761 - Enable the PiP audio toggle in nightly. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D56055

--HG--
extra : moz-landing-system : lando
2019-12-05 20:36:24 +00:00
Olli Pettay ead4eb0615 Bug 1596958 - Synchronize layouthistorystate to parent process, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D53288

--HG--
extra : moz-landing-system : lando
2019-12-05 20:30:45 +00:00
Jeff Muizelaar 67dbd2a194 Bug 1595586. Add documentation for gfx.ContentBackend. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D55851

--HG--
extra : moz-landing-system : lando
2019-12-04 18:43:53 +00:00
Mark Striemer 7609763e4b Bug 1564525 - Remove extensions.htmlaboutaddons.enabled pref r=Gijs
Depends on D55720

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

--HG--
extra : moz-landing-system : lando
2019-12-05 18:49:43 +00:00
Mark Striemer aabb379990 Bug 1565606 - Remove remote disco pane support from nsDocShell.cpp r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D55720

--HG--
extra : moz-landing-system : lando
2019-12-05 18:32:39 +00:00
Mark Striemer 749ba15c52 Bug 1337627 - Remove remote discovery pane from about:addons r=robwu,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D55719

--HG--
rename : browser/base/content/test/general/browser_bug581242.js => browser/base/content/test/webextensions/browser_aboutaddons_blanktab.js
extra : moz-landing-system : lando
2019-12-05 18:32:17 +00:00
Tarek Ziadé 0a677b0f34 Bug 1601197 - Make sure the condprofclient picks mozilla-central artifacts by default r=stephendonner
The client will pick condprofs from mozilla-central by default

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

--HG--
extra : moz-landing-system : lando
2019-12-05 19:17:33 +00:00
Eugen Sawin ac36ba451a Bug 1592752 - [1.0] Conditionally check for storage clearing based on status of LSNG. r=snorp
It looks like there is going to be a period of LSNG being disabled on some channels for a while.
Making the test conditional on the pref will make it pass in all situations and would allow us to keep the test enabled.
It doesn't help with the fact, that on some version we're clearing storage despite the flag not being set, but since it's clearing more, rather than less, it's at least not as critical in terms of privacy.

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

--HG--
extra : moz-landing-system : lando
2019-12-02 23:11:32 +00:00
Sylvestre Ledru 64fb603491 Bug 1601634 - Improve the display of the Try documentation r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D56042

--HG--
extra : moz-landing-system : lando
2019-12-05 19:36:33 +00:00
Ricky Stewart a7dca059e6 Bug 1600782 - Update pip-tools to 3.9.0 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D55559

--HG--
extra : moz-landing-system : lando
2019-12-05 18:49:15 +00:00
Glenn Watson d7a6cf11d7 Bug 1600501 - Fix intermittent compositor surface creation bug. r=nical
With the native compositor enabled, try runs were occasionally
hitting an assertion failure where a compositor surface was
being drawn, but hadn't been created (so the id was unknown).

This was occurring when the MemoryPressure event occurs in some
situations during shutdown. When this occurs, the active_documents
list is cleared. This could result in the native surface updates
list (which was stored in the Frame of a Document) not being
applied, meaning the new surface was not created. If a subsequent
frame then tried to composite that surface, this assert would
occur.

This is fixed by moving compositor surface management to be handled
via the resource cache, in the same way as texture cache updates.

This ensures that even in the presence of a memory pressure event,
any pending native surface updates are applied to the renderer.

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

--HG--
extra : moz-landing-system : lando
2019-12-05 14:59:14 +00:00
Jeff Gilbert b24ae09c07 Bug 1585404 - ANGLE fix for frame skipping on Windows Intel 4400. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D56022

--HG--
extra : moz-landing-system : lando
2019-12-05 18:26:38 +00:00
Ricky Stewart 5aa8a29e6a Bug 1601407 - Update gfx/graphite2/src/moz.build to additionally build a wasm sandboxed library r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D56024

--HG--
extra : moz-landing-system : lando
2019-12-05 18:56:39 +00:00
Brindusan Cristian 98218b165b Backed out changeset 69ac0bf82505 (bug 1596958) for assertion failures at nsSHEntry.cpp. CLOSED TREE 2019-12-05 21:01:02 +02:00
Andy Grover d51d3cc964 Bug 1601070 - update Neqo to 0.1.7 r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D55731

--HG--
extra : moz-landing-system : lando
2019-12-05 18:44:09 +00:00
Lars T Hansen ea7268ed2f Bug 1599659 - Predicate to test context for live SABs. r=jonco
SABs become foreground-finalizable so that we can access the runtime
during finalization.  Then a simple counter on the runtime will track
live SABs for the runtime, and the predicate on the context can get
its information from the runtime.

Fallout: SABs are now enabled on the globals used for jsapi-tests.

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

--HG--
extra : moz-landing-system : lando
2019-12-05 18:36:21 +00:00
Staś Małolepszy e218334a65 Bug 1599864 - Ignore markup when localizing <title>. r=zbraniecki
Prevent the l10n overlays logic from parsing markup in Fluent translations when the element being localized is `<title>`. This fixes a regression from bug 1591328 which migrated the browser window title to Fluent, interpolating the current page's title into a Fluent message which is used to localize the window title. If the web page's title contained markup, l10n overlays would parse it—and then sanitize and strip it, which produced an incomplete result visible in the window's title bar and the task bar of the OS.

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

--HG--
extra : moz-landing-system : lando
2019-12-05 18:09:08 +00:00
Alex Henrie ca467c4b3f Bug 202251 - Add an option to ignore diacritics when searching. r=fluent-reviewers,mikedeboer,jfkthame,flod
Differential Revision: https://phabricator.services.mozilla.com/D51841

--HG--
extra : moz-landing-system : lando
2019-12-05 18:08:20 +00:00
Kris Taeleman 6423d3a0b9 Bug 1581868 - Black page sometimes when restoring geckoview_example/fenix with webrender enabled. r=jnicol
Differential Revision: https://phabricator.services.mozilla.com/D55338

--HG--
extra : moz-landing-system : lando
2019-12-02 08:01:37 +00:00
Steve Fink 3079a1e4be Bug 1552363 - Initialize FreeSpan in default constructor r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D55879

--HG--
extra : moz-landing-system : lando
2019-12-05 17:35:49 +00:00
Chris Manchester 08f94ebcd3 Bug 1595218 - Update valgrind supressions for rustc 1.39. r=emilio
Depends on D53901

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

--HG--
extra : moz-landing-system : lando
2019-12-05 17:15:28 +00:00
Chris Manchester 5a33be02e2 Bug 1595218 - Update rust target detection for rustc 1.39. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D53901

--HG--
extra : moz-landing-system : lando
2019-12-05 04:53:11 +00:00
Chris Manchester 7caa07b115 Bug 1595218 - Update bootstrap to upgrade to stable rust. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D53900

--HG--
extra : moz-landing-system : lando
2019-12-05 04:53:09 +00:00
Chris Manchester 76a5b8c95c Bug 1595218 - Update builders to rustc 1.39 r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D53899

--HG--
extra : moz-landing-system : lando
2019-12-05 04:53:02 +00:00