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

760292 Коммитов

Автор SHA1 Сообщение Дата
Eitan Isaacson 8ede9994e3 Bug 1714390 - P1: Introduce AccAttributes with string values. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D116782
2021-06-10 23:07:05 +00:00
Andrew McCreight 1ff63b852e Bug 1715311 - Null check GetBrowserParent() in ProcessPriorityManagerImpl::ActivityChanged. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D117455
2021-06-10 23:06:57 +00:00
Iulian Moraru 6dd0299bc3 Backed out changeset 67b696ec70a9 (bug 1715690) for causing build bustages on SanitizeRenderer.cpp. CLOSED TREE 2021-06-11 02:46:23 +03:00
Iulian Moraru 955a3ab572 Backed out 2 changesets (bug 1715142) for causing marionette failures on test_navigation.py and mochitest failures on browser_setIgnoreCertificateErrors.js. CLOSED TREE
Backed out changeset 83206685ca0b (bug 1715142)
Backed out changeset ab3060a5f69e (bug 1715142)
2021-06-11 02:45:34 +03:00
Jeff Gilbert 22fa9e93cf Bug 1715690 - Generalize WebGL RENDERER into large buckets. r=lsalzman
+ Minor reduction in unused flexibility of limits.

Differential Revision: https://phabricator.services.mozilla.com/D117385
2021-06-10 22:55:50 +00:00
Olli Pettay 25600c7409 Bug 1715877 - Disable bfcache-in-parent when running devtools/client/application/test/browser/browser_application_panel_list-domain-workers.js, r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D117460
2021-06-10 22:18:07 +00:00
Olli Pettay 4faa8c8e72 Bug 1715880 - Disable bfcache-in-parent when running devtools/client/application/test/browser/browser_application_panel_list-several-workers.js, r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D117461
2021-06-10 22:17:40 +00:00
Dana Keeler f3c620e4c3 Bug 1715142 - introduce nsIPublicKeyPinningService and remove 'type' parameter from nsISiteSecurityService r=rmf,necko-reviewers
The public key pinning implementation is much less complex than the HSTS
implementation, and only needs a small subset of the parameters of the latter.
Furthermore, the information it relies on is static, and so is safe to access
from content processes. This patch separates the two implementations, thus
simplifying both of them and avoiding some unnecessary IPC calls in the
process.

Differential Revision: https://phabricator.services.mozilla.com/D117096
2021-06-10 22:13:32 +00:00
Dana Keeler 50526906b2 Bug 1715142 - convert pinning to use a static pref r=rmf
This patch converts the pinning preference
"security.cert_pinning.enforcement_level" to be static. It also removes some
unused pinning preferences and parameters.

Differential Revision: https://phabricator.services.mozilla.com/D117095
2021-06-10 22:13:31 +00:00
Gabriele Svelto eba562c428 Bug 1711418 - Record the OOM allocation size in WER crashes r=KrisWright
This patch adds a new field to the structures that WER reads from a
crashed process. This field contains a pointer to the global variable
that records the size of the last failed annotation.

When WER intercepts a crash it will use this address to read the
variable. If it's not zero it will add the corresponding annotation
to the crash report.

Depends on D116449

Differential Revision: https://phabricator.services.mozilla.com/D116450
2021-06-10 22:01:33 +00:00
Gabriele Svelto 1c333668d4 Bug 1711418 - Factorize the code that reads/writes memory to/from other processes r=KrisWright
Depends on D116017

Differential Revision: https://phabricator.services.mozilla.com/D116449
2021-06-10 22:01:33 +00:00
Gabriele Svelto 1ed394a645 Bug 1703761 - Flag crash reports intercepted by WER with a special annotation r=KrisWright
Since this added the new flag to the crash ping I also took the time to update
the crash ping documentation with all the flags that have been added and
removed over the last few versions of Firefox.

Depends on D115380

Differential Revision: https://phabricator.services.mozilla.com/D116017
2021-06-10 22:01:33 +00:00
Gabriele Svelto 896f9b03cb Bug 1682518 - Add minidump generation for child processes in the WER module r=KrisWright
This also notifies the main process after the minidump has been generated.
I refactored the code a bit so the patch is probably larger than it should be
but the code should be a bit more readable overall.

With this change the minidump generation flow works like this:
- When the callback gets invoked in the WER process we read the structure that
  is stored in every process' to figure out if it's the main process or a child
  one. This is done by reading said process' memory, the pointer has been
  passed to the runtime exception module when it was registered.
- If the main process crashed everything works like it used to.
- If it was a child process then we first capture a minidump of it.
- Then we read the structure representing it in the main process:
  WindowsErrorReportingData. The address of this structure was passed into the
  child process' command-line so we need to parse that first, then we read it
  from the main process memory.
- We fill the structure and write it back into the main process memory.
- At this point if everything went fine we create a new thread in the main
  process just to execute the WerNotifyProc function that will inform the main
  process to the presence of the new minidump.

There's one important tidbit that's worth keeping in mind: the synchronization
between the main process and the WER process is implicit. The
WindowsErrorReportingData structure in the main process is kept alive until the
child process dies, the main process will destroy it only after that point. As
long as we're in the runtime exception module the crashed process is kept alive
so this will prevent the main process from touching that structure.
We explicitly terminate the crashed process **after** we're done with the
structure so nothing bad could happen... unless someone makes a change to
Gecko that breaks the previous assumption.

Another important thing to keep in mind: we wait for the newly created thread
to inform the main process but only for 5 seconds. We don't want to wait
indefinitely because the function that we're calling is taking a lock and if
it blocks for some reason WER will get stuck waiting for it, so it will never
kill the crashed process which in turn will prevent the main process from
moving ahead. In principle this should never happen but better be safe than
sorry.

Depends on D115379

Differential Revision: https://phabricator.services.mozilla.com/D115380
2021-06-10 22:01:32 +00:00
Gabriele Svelto 1a86d1dee4 Bug 1697895 - Register the WER runtime exception module in child processes r=KrisWright
This patch sets up a few different things that will be used by the WER runtime
exception module when it needs to notify the main process of a child process
crash.

For every child process we allocate a structure in the main process called
WindowsErrorReportingData that contains three things:
- The address of the function used to notify the main process that there's a
  pending minidump for a given child process
- The PID of said child process
- The name of the minidump that has been generated

The first field is filled up by the main process and will be read by the WER
process when running the runtime exception module, the second and third fields
on the other hand start empty and will be written into by the runtime exception
module after it has generated a minidump.

I know this sounds scary. It is. But bear with me please.

When we register the runtime exception module we can pass it a single
pointer-sized parameter but we need to pass it at least another pointer that
includes data coming from the child process itself (this one is called
InProcessWindowsErrorReportingData). This data currently includes only the
process type but will also include certain annotations in the future
(e.g. bug 1711418). So here's what we do: we store a pointer to the parent
data structure in the child process command-line (cringe) and we read it
from the runtime exception module by reading the crashed process command-line
arguments and parsing them (double-cringe).

Armed with this information the WER runtime exception module can populate
the info for the generated minidump and then push it into the main process
by calling CreateRemoteThread() (which creates a new thread in the main
process, triple-cringe at this point).

Differential Revision: https://phabricator.services.mozilla.com/D115379
2021-06-10 22:01:32 +00:00
Jeff Muizelaar c5d3af901d Bug 1715895 - Disable sw-wr on non-x86 Linux in late beta and release. r=aosmond
This avoids bug 1714064 (SPARC) and bug 1714511 (ARM)

Differential Revision: https://phabricator.services.mozilla.com/D117467
2021-06-10 21:32:17 +00:00
Alexandre Poirot e0b3bf54bc Bug 1686727 - [devtools] Migrate browser_storage_dynamic_windows to ResourceCommand. r=ladybenko
We should stop using StorageActor.listStores in favor of ResourceCommand.
listStores still forces to involve message manager in the server codebase.
This breaks when we enable JSWindowActor based targets.

Differential Revision: https://phabricator.services.mozilla.com/D116481
2021-06-10 21:26:14 +00:00
Alexandre Poirot cbf6187290 Bug 1686727 - [devtools] Disable browser_storage_webext_storage_local on fission. r=ladybenko
This test is not relevant in fission as we aren't using listStores,
nor do we have any EXTENSION_STORAGE resource to test yet.

Differential Revision: https://phabricator.services.mozilla.com/D116483
2021-06-10 21:26:14 +00:00
Alexandre Poirot 68dc58276a Bug 1686727 - [devtools] Migrate browser_storage_cookies-duplicate-names to ResourceCommand. r=ladybenko
We should stop using StorageActor.listStores in favor of ResourceCommand.
listStores still forces to involve message manager in the server codebase.
This breaks when we enable JSWindowActor based targets.

Differential Revision: https://phabricator.services.mozilla.com/D116482
2021-06-10 21:26:14 +00:00
Alexandre Poirot 6ae68db282 Bug 1686727 - [devtools] Migrate browser_storage_listing to ResourceCommand. r=ladybenko
We should stop using StorageActor.listStores in favor of ResourceCommand.
listStores still forces to involve message manager in the server codebase.
This breaks when we enable JSWindowActor based targets.

Differential Revision: https://phabricator.services.mozilla.com/D116480
2021-06-10 21:26:13 +00:00
Alexandre Poirot 406a7d2d5f Bug 1686727 - [devtools] Migrate browser_storage_updates to ResourceCommand. r=ladybenko
We should stop using StorageActor.listStores in favor of ResourceCommand.
listStores still forces to involve message manager in the server codebase.
This breaks when we enable JSWindowActor based targets.

Differential Revision: https://phabricator.services.mozilla.com/D116479
2021-06-10 21:26:13 +00:00
Alexandre Poirot 5bee607617 Bug 1713810 - [devtools] Fix openTabAndSetupStorage and clearStorage test helpers with fission. r=ladybenko
Avoid running failing tests as they don't cleanup their storage on teardown.

Differential Revision: https://phabricator.services.mozilla.com/D116478
2021-06-10 21:26:12 +00:00
Caroline Cullen 32bff66a5f Bug 1699271 - Part 13: Add auto generated static assertions for non gc pointer arguments to MIR ops. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D117121
2021-06-10 21:00:32 +00:00
Caroline Cullen 95a4e81a4a Bug 1699271 - Part 12: Remove unnecessary temporary allocator MIR ops. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D117120
2021-06-10 21:00:32 +00:00
Caroline Cullen c3b56668cb Bug 1699271 - Part 11: Add autogeneration for MIR ops that take arguments. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D116775
2021-06-10 21:00:31 +00:00
Ed Lee 442a2844ac Bug 1715348 - Add telemetry environment boolean scalar for kept in macOS Dock r=pdahiya
Add BrowserGlue task and telemetry Scalar matching is_taskbar_pinned but for macOS as is_kept_in_dock.

Differential Revision: https://phabricator.services.mozilla.com/D117346
2021-06-10 20:58:08 +00:00
Sandor Molnar 9fc83995ba Backed out changeset 7cede79b33b2 (bug 1699794) for causing mochitest failures in browser_autocomplete_footer. CLOSED TREE 2021-06-11 00:10:21 +03:00
Sam Foster 8a7d9506a2 Bug 1713956 - Update stop-to-reload and reload-to-stop animations to use clip-paths vs. masks and pause key-frames rather than redundant svg frames. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D117054
2021-06-10 20:37:28 +00:00
Sam Foster 9c191e56aa Bug 1713956 - Swap animation names and filenames so reload-to-stop animates from reload to stop icon, and stop-to-reload animates from stop to reload. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D117053
2021-06-10 20:37:27 +00:00
Andrew Halberstadt c5cd5777b8 Bug 1698193 - [ci] Enable mochitest-plain-fis with linux64 tsan r=jmaher
This patch adds the following tasks to both autoland and central:
> test-linux1804-64-tsan/opt-mochitest-plain-fis-e10s

Note this has 20+ chunks so is not insignificant.

Differential Revision: https://phabricator.services.mozilla.com/D117343
2021-06-10 20:15:07 +00:00
Greg Tatum 07cc89dd24 Bug 1711902 - Add Calendar::GetCanonicalTimeZoneID; r=dminor
This finishes the UCalendar unification in DateTimeFormat.cpp

Differential Revision: https://phabricator.services.mozilla.com/D116158
2021-06-10 20:14:17 +00:00
Greg Tatum db78fe91b5 Bug 1711902 - Unify most of UCalendar in SpiderMonkey; r=dminor,anba
This adds a bigger unification primitive of an Enumeration iterator over the
UEnumeration ICU type.

Differential Revision: https://phabricator.services.mozilla.com/D116157
2021-06-10 20:14:17 +00:00
Greg Tatum 23873163d1 Bug 1711902 - Unify the DateTimePatternGenerator in SpiderMonkey; r=dminor,anba
Differential Revision: https://phabricator.services.mozilla.com/D115731
2021-06-10 20:14:17 +00:00
Greg Tatum cb9860735f Bug 1711902 - Remove UDateFormat from SpiderMonkey; r=dminor,anba
This patch starts the work of unifying the DateTimeFormat. It removes the uses
of UDateFormat.

Differential Revision: https://phabricator.services.mozilla.com/D115730
2021-06-10 20:14:16 +00:00
Greg Tatum efe295fd94 Bug 1711902 - Add a FormatBuffer for use in SpiderMonkey; r=anba
Differential Revision: https://phabricator.services.mozilla.com/D116911
2021-06-10 20:14:16 +00:00
Iulian Moraru 9534c128ad Backed out changeset 3fa7dc1e1303 (bug 1715586) for causing reftest failures on fixed-pos-scrollable-1.html. CLOSED TREE 2021-06-10 23:31:41 +03:00
owlishDeveloper 0e08522db7 Bug 1699794 - [3.0] Update API changelog r=geckoview-reviewers,agi
Depends on D109137

Differential Revision: https://phabricator.services.mozilla.com/D109138
2021-06-10 20:02:19 +00:00
Olli Pettay 9cb0429aa3 Bug 1715865 - Make BrowsingContext skippable, r=nika,mccr8
One could optimize out MarkWrapperLive call if stored that wrapper is already live etc, but
in practice that shouldn't matter too much.

Differential Revision: https://phabricator.services.mozilla.com/D117456
2021-06-10 19:54:45 +00:00
owlishDeveloper a7b2c26e2a Bug 1699794 - [2.0] Add address autocomplete tests r=geckoview-reviewers,agi
Depends on D109139

Differential Revision: https://phabricator.services.mozilla.com/D109137
2021-06-10 19:54:05 +00:00
surajeet310 6ea83c8ef9 Bug 1714788 - Fixed more Sphinx warnings in 'mach doc' r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D117419
2021-06-10 19:33:53 +00:00
Mitchell Hentges dc2fa7819c Bug 1713610: Require PyPI-vendored packages be added to requirements.in r=ahal
`./mach vendor python <package>` was already adding its new package
to `requirements.txt`, so we were getting full resolver support, which
is good. However, it caused our `requirements.in` file to start
getting out-of-date, and therefore made it harder to identify the
top-level dependencies.

Arguably, we could have `./mach vendor python <package>` automatically
update `requirements.in`, too, but then we need to solve the edge cases,
such as "What if the package is already in `requirements.in`? What if
that existing item has a different version?"

The hardest part of updating `requirements.in` was finding it, so I've
also modified the `./mach vendor python` help text to make it more
identifiable.

Differential Revision: https://phabricator.services.mozilla.com/D116386
2021-06-10 19:19:06 +00:00
owlishDeveloper b9108bfd0e Bug 1699794 - [1.0] Extend GV Autocomplete API with address support r=geckoview-reviewers,agi,aklotz
Differential Revision: https://phabricator.services.mozilla.com/D109139
2021-06-10 19:17:11 +00:00
Joel Maher 82c9db546c Bug 1715586 - add noqr variant and testset. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D117358
2021-06-10 19:00:03 +00:00
Neil Deakin 1dc3099144 Bug 1714594, fix test_reftests_with_caret.html to use SpecialPowers.spawn to adjust the parent frame, and re-enable in xorigin mode, r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D117380
2021-06-10 18:44:17 +00:00
Andrew Halberstadt f5283149a6 Bug 1713914 - Remove fission skip-ifs from toolkit/content/tests/browser/browser.ini, r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D117224
2021-06-10 18:38:03 +00:00
Andrew Halberstadt 3d20644824 Bug 1713889 - Remove fission skip-ifs in browser/base/content/test/general/browser.ini, r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D117212
2021-06-10 18:38:03 +00:00
Mark Banner 0948a5fbc8 Bug 1713325 - Exclude time when the user is idle from the page view time for history metadata. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D116275
2021-06-10 17:50:13 +00:00
Rob Lemley b30e42f4ec Bug 1715111 - is_backstop updates to support non-Firefox builds. r=taskgraph-reviewers,ahal
Replace the assumptions that are Firefox-specific with arguments so that
backstop builds can be used for Thunderbird CI. Specifically, the backstop
index path and integration projects need changing.

Differential Revision: https://phabricator.services.mozilla.com/D117170
2021-06-10 17:21:00 +00:00
Ryan Hunt 31d3e6fae6 Bug 1711073 - wasm: Move Frame family to WasmFrame.h. r=jseward
Move the wasm::Frame family of types to their own
header and implementation. Switch consumers of headers
away from WasmTypes.h when they only need Frame/TlsData.

Depends on D117045

Differential Revision: https://phabricator.services.mozilla.com/D117046
2021-06-10 17:11:33 +00:00
Ryan Hunt 4c641fffb0 Bug 1711073 - wasm: Move TlsData to WasmTlsData.h. r=jseward
Factor out TlsData declarations and definitions to
their own header and definition. This will allow
factoring out Frame, FrameWithTls, and DebugFrame
from WasmTypes.h next.

Depends on D117044

Differential Revision: https://phabricator.services.mozilla.com/D117045
2021-06-10 17:11:33 +00:00
Ryan Hunt 8692fc1712 Bug 1711073 - wasm: Move Opcode to WasmBinary.h. r=jseward
Move Opcode to WasmBinary.h where it's actually
used.

Depends on D117043

Differential Revision: https://phabricator.services.mozilla.com/D117044
2021-06-10 17:11:32 +00:00