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

751445 Коммитов

Автор SHA1 Сообщение Дата
Bryce Seager van Dyk bb3170ecf7 Bug 1702271 - Document waitForCondition msg arg. r=florian DONTBUILD
This also makes a couple of other fixes to existing comments to bring them in
line with the actual behaviour and names used.

Differential Revision: https://phabricator.services.mozilla.com/D110428
2021-03-31 17:40:51 +00:00
Caroline Cullen 30b2db3912 Bug 1700771 - Create pref for inlining maximum function size. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D110350
2021-03-31 17:18:13 +00:00
Sebastian Hengst 92af85bf62 Bug 1700551 - disable browser_serviceWorkersWithStorageAccessGranted.js on debug for frequent failures. r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D110433
2021-03-31 16:59:43 +00:00
Tom Schuster 750e87626a Bug 1701904 - Start using the new GetOwnPropertyDescriptor overload in a few more places. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D110308
2021-03-31 16:52:54 +00:00
Nika Layzell 79ad077a6a Bug 1699721 - Part 3: Add test for switching back into unloading process, r=kmag
This was somewhat convoluted to get to both reliably reproduce and not timeout
after the fixes were applied. The test can't run without Fission, as it
requires a process switch to occur on the navigation to/from
http://example.com.

Without part 2 of this patch stack, this test will crash after the process
switch.

Differential Revision: https://phabricator.services.mozilla.com/D110003
2021-03-31 16:51:59 +00:00
Nika Layzell 274d7e3edd Bug 1699721 - Part 2: Track BrowserParent lifecycles during process switches, r=kmag
This patch contains a large number of changes around the process switching
mechanism in order to avoid issues which are caused by a mismatched
understanding of the state of the process switch between processes in the
presence of nested event loops.

This includes:
 1. The "InFlightProcessId" value is no longer recorded. All remaining uses
    were removed in part 1, and the new mechanism tracks this information in
    a better way.
 2. The current BrowserParent instance is now tracked on
    CanonicalBrowsingContext, meaning that logic which needs to work with this
    information can now access it without depending on the current
    WindowGlobalParent instance.
 3. When doing a process switch, the previous host process for the
    BrowsingContext is tracked until the process switch is completed, allowing
    for future attempts to switch into that process to be delayed until the
    previous unload event has finished running.
 4. The process switch logic was refactored to simplify some of the
    error-handling logic, and share more code between different cases.

Differential Revision: https://phabricator.services.mozilla.com/D110002
2021-03-31 16:51:58 +00:00
Nika Layzell 6959ab57ac Bug 1699721 - Part 1: Fully remove LegacyCheckOnlyOwningProcess, r=kmag
This is necessary as in part 2 the InFlightProcessId value will no longer be
tracked, so any remaining code which depends on it needs to be removed.

Differential Revision: https://phabricator.services.mozilla.com/D110001
2021-03-31 16:51:58 +00:00
Iain Ireland 9a0ff2657f Bug 1700579: Unify UseRemoved and ImplicitlyUsed flags r=jandem,nbp
If we inline a function, then range analysis may truncate an argument to the inlined function. If the callee changes, we need to recover the non-truncated argument, or else we may get the wrong result. (There's a slightly more detailed walkthrough of the bug on Bugzilla.)

We mark the arguments to inlined functions as implicitly used in `buildInlinedCall`, but we don't set UseRemoved. The difference between the two flags isn't particularly clear anyway, so this patch folds UseRemoved into ImplicitlyUsed.

Adding two reviewers because this indirectly touches range analysis, and I find all this code tricky to reason about.

***

Differential Revision: https://phabricator.services.mozilla.com/D110004
2021-03-31 16:40:23 +00:00
Iain Ireland aad9db7b3e Bug 1699056: Disable bailout assertion after purging stubs r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D110353
2021-03-31 16:40:01 +00:00
Stephen A Pohl ceb9f45cae Bug 1700371: Update references for Mac OS X to macOS in nsIWidget.h. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D110146
2021-03-31 16:38:10 +00:00
Stephen A Pohl 6bd166e648 Bug 1700371: Override the NSWindow appearance based on the lightweight theme. r=mac-reviewers,mstange
Differential Revision: https://phabricator.services.mozilla.com/D109981
2021-03-31 16:38:10 +00:00
Adam Gashlin 4fa18c26fa Bug 1700870 - Explicitly convert path to UTF-8. r=application-update-reviewers,bytesized
nsPrintfCString %S converts from UTF-16 to the ANSI code page, but we rely on the output string being UTF-8.

Differential Revision: https://phabricator.services.mozilla.com/D110355
2021-03-31 16:29:04 +00:00
Emma Malysz 1895a736a7 Bug 1701625, fix alignment for proton's WebRTC Permission Panel r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D110282
2021-03-31 16:23:15 +00:00
Emma Malysz 6a9860ff3b Bug 1692176, add restore previous session to history panel r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D110178
2021-03-31 16:22:52 +00:00
Darryl Pogue 42ac005810 Bug 1350237 - Make dialog display:block r=sefeng
Differential Revision: https://phabricator.services.mozilla.com/D110359
2021-03-31 16:12:31 +00:00
Csoregi Natalia e99de2637f Backed out changeset fe753b00f953 (bug 1701276) for wpt fails on resource-selection-currentSrc.html. CLOSED TREE 2021-03-31 21:00:20 +03:00
Emilio Cobos Álvarez 47885398bf Bug 1700871 - Tentatively fix macOS permafail in browser_bug1691214.js.
MANUAL PUSH: Orange CLOSED TREE
2021-03-31 18:50:42 +02:00
Andreea Pavel e86d10c304 Backed out changeset c83c9af968f8 (bug 1701182) for build bustages at system_wrappers/gdk/gdk.h on a CLOSED TREE 2021-03-31 19:33:47 +03:00
Andreea Pavel 4674e1b5e2 Backed out changeset 27d3d97f875f (bug 1696908) build bustage at nsFocusManager.cpp on a CLOSED TREE 2021-03-31 19:32:11 +03:00
Andreea Pavel 35eeef915f Backed out 3 changesets (bug 1699721) for failing test_bug1699721.html on a CLOSED TREE
Backed out changeset ed3feb801017 (bug 1699721)
Backed out changeset d6f212c67002 (bug 1699721)
Backed out changeset ef06d9764cf1 (bug 1699721)
2021-03-31 19:27:34 +03:00
Markus Stange 2195b6d9c2 Bug 1702097 - Reset NSAppearance.currentAppearance before native theme drawing. r=spohl
This is global state, so it can have remnants from random other state changes.
Starting with Big Sur, currentAppearance is deprecated in favor of
performAsCurrentDrawingAppearance, which really does seem like a better API for
this.

Differential Revision: https://phabricator.services.mozilla.com/D110361
2021-03-31 15:53:39 +00:00
Olivier Tilloy 45068bf782 Bug 1701182 - Prepend SNAP-specific prefix to shm path. r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D110269
2021-03-31 15:52:07 +00:00
Mitchell Hentges 2f478c641c Bug 1702257: Prepend Sentry releases with "hg-rev-" r=sheehan
The Sentry CI task versioning scheme should match the
generated Sentry issues.

Differential Revision: https://phabricator.services.mozilla.com/D110422
2021-03-31 15:52:02 +00:00
Ryan VanderMeulen 2f20de2945 Bug 1698885 - Update HarfBuzz to 2.8.0. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D109838
2021-03-31 15:45:26 +00:00
Nika Layzell f65b0188c7 Bug 1699721 - Part 3: Add test for switching back into unloading process, r=kmag
This was somewhat convoluted to get to both reliably reproduce and not timeout
after the fixes were applied. The test can't run without Fission, as it
requires a process switch to occur on the navigation to/from
http://example.com.

Without part 2 of this patch stack, this test will crash after the process
switch.

Differential Revision: https://phabricator.services.mozilla.com/D110003
2021-03-31 15:37:49 +00:00
Nika Layzell 45d7327477 Bug 1699721 - Part 2: Track BrowserParent lifecycles during process switches, r=kmag
This patch contains a large number of changes around the process switching
mechanism in order to avoid issues which are caused by a mismatched
understanding of the state of the process switch between processes in the
presence of nested event loops.

This includes:
 1. The "InFlightProcessId" value is no longer recorded. All remaining uses
    were removed in part 1, and the new mechanism tracks this information in
    a better way.
 2. The current BrowserParent instance is now tracked on
    CanonicalBrowsingContext, meaning that logic which needs to work with this
    information can now access it without depending on the current
    WindowGlobalParent instance.
 3. When doing a process switch, the previous host process for the
    BrowsingContext is tracked until the process switch is completed, allowing
    for future attempts to switch into that process to be delayed until the
    previous unload event has finished running.
 4. The process switch logic was refactored to simplify some of the
    error-handling logic, and share more code between different cases.

Differential Revision: https://phabricator.services.mozilla.com/D110002
2021-03-31 15:37:49 +00:00
Nika Layzell dc0e1921c5 Bug 1699721 - Part 1: Fully remove LegacyCheckOnlyOwningProcess, r=kmag
This is necessary as in part 2 the InFlightProcessId value will no longer be
tracked, so any remaining code which depends on it needs to be removed.

Differential Revision: https://phabricator.services.mozilla.com/D110001
2021-03-31 15:37:48 +00:00
Harry Twyford d1a3d50480 Bug 1700622 - Move --toolbar-field-non-lwt-bgcolor to browser-custom-colors.inc.css. r=ntim
This causes the search bar on the Customize page to fall back to Field, which will be themed correctly. Note that if the system is in Dark mode and Firefox is in light mode, the search bar will be dark. That should be fixed by bug 1700371.

Differential Revision: https://phabricator.services.mozilla.com/D110312
2021-03-31 15:33:41 +00:00
Andreea Pavel b989660f2d Bug 1694238- correct expectation r=aryx DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D109581
2021-03-31 15:33:38 +00:00
Emma Malysz 5484875739 Bug 1701912, add checkbox colors to light theme r=desktop-theme-reviewers,ntim
Differential Revision: https://phabricator.services.mozilla.com/D110349
2021-03-31 15:22:20 +00:00
Toshihito Kikuchi 29312fb769 Bug 1586236 - Use memory resource notifications to detect low memory scenarios on Windows. r=gsvelto
This patch uses the low memory resource notification facility to detect
scenarios where physical memory is running low without polling. This is a
significant change compared to the previous behavior which measured both
available virtual memory (only on 32-bit builds) and available commit space.

Since we're not trying to avoid OOMs anymore we don't save memory reports
anymore when hitting a low-memory condition.

Differential Revision: https://phabricator.services.mozilla.com/D110354
2021-03-31 15:18:05 +00:00
Joel Maher 198d29dc22 Bug 1702202 - cleanup old platform references in wpt. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D110417
2021-03-31 15:13:16 +00:00
Edgar Chen 6c05f39c1e Bug 1695135 - Add test for window focus by calling window.close() and window.open(); r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D107934
2021-03-31 14:56:48 +00:00
Henri Sivonen 64b6a0c73b Bug 1696908 - Ensure parent-managed order of setting the focused browsing context. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D98134
2021-03-31 14:56:48 +00:00
Jan de Mooij 0dc8693177 Bug 1701895 - Ensure stub fields are properly aligned on 32-bit. r=iain
* In `CacheIRWriter::copyStubData`, assert stub fields are aligned based on their size.
* On 32-bit platforms, add padding to `ICCacheIRStub` and `IonICStub` to ensure stub data is aligned to 8 bytes.
* On 32-bit platforms, insert a padding field in `CacheIRWriter::addStubField` if necessary.
* Fix alignment assertions in `CacheIRStubInfo` methods to include the offset.

Differential Revision: https://phabricator.services.mozilla.com/D110221
2021-03-31 14:51:08 +00:00
Butkovits Atila 45016e9a4a Backed out changeset 1bba2e7410e1 (bug 1697818) as requested by Jeff. CLOSED TREE 2021-03-31 17:55:28 +03:00
Jeff Muizelaar 31c6602bfb Bug 1696819. Disable generating a profile from the EDID data. r=aosmond
This code doesn't seem to be working correctly and was broken
accidentally before. Intentionally break it for now to avoid the
regression.

Differential Revision: https://phabricator.services.mozilla.com/D110347
2021-03-31 14:32:55 +00:00
Jeff Muizelaar 7bd7df3eeb Bug 1702080 - Make RUSTC_BOOTSTRAP usage conditional on 'neon' feature. r=aosmond
This makes it so our subversion to get NEON doesn't happen by default.

Differential Revision: https://phabricator.services.mozilla.com/D110348
2021-03-31 14:31:23 +00:00
Jeff Muizelaar 266a347d35 Bug 1702073 - Enable ICCv4 by default in the crate but disable it in Gecko. r=aosmond
This gives other users of the crate ICCv4 by default while
still giving Gecko the ability to enable it dynamically.

Differential Revision: https://phabricator.services.mozilla.com/D110344
2021-03-31 14:29:35 +00:00
Sebastian Hengst cd4431fd5e Bug 1701327 - update intermittent platforms for history-iframe.sub.html. DONTBUILD
Previous expectation update in bug 1699722 after test got added in bug 1695877
and modified in bug 1697777.

Differential Revision: https://phabricator.services.mozilla.com/D110411
2021-03-31 14:26:49 +00:00
june wilde 9a74eac849 Bug 1699448 - Allow any valid git reference in moz.yaml revision field; r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D108953
2021-03-31 14:17:19 +00:00
Mike Kaply a13f8c4f73 Bug 1695696 - Add AllowedDomainsForApps (Google Workspace) policy. r=emalysz,flod
Differential Revision: https://phabricator.services.mozilla.com/D110151
2021-03-31 13:57:58 +00:00
Francesco Lodolo (:flod) 454d8daa57 Bug 1702118 - Migrate more FxA toolbar button strings to Fluent, r=fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D110366
2021-03-31 13:39:10 +00:00
Jeff Muizelaar 1233d4a58e Bug 1701760. Request sRGB images when drawing an image in Canvas. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D110331
2021-03-31 13:33:07 +00:00
Olli Pettay 1c8586cc51 Bug 1689683 - Ensure docshell/test/mochitest/test_bug590573.html works with SHIP-BFCache, r=annyG
Better to use requestAnimationFrame to ensure the scrolling actually has occurred after popstate.

Differential Revision: https://phabricator.services.mozilla.com/D109975
2021-03-31 13:17:21 +00:00
Jeff Muizelaar 23af50ef79 Bug 1701758. Avoid identity sRGB transforms. r=aosmond
This avoids the performance cost and ensures the data remains unchanged.

Differential Revision: https://phabricator.services.mozilla.com/D110289
2021-03-31 13:15:26 +00:00
Julian Descottes 4f9e9360fc Bug 1702061 - [devtools] Remove isPanelReady flag and devtools-panel-ready from DevTools panel instances r=nchevobbe
Depends on D110368
Both the flag and the event are not used.
The only thing which matters from the framework perspective is to wait for panel.open to resolve.

Differential Revision: https://phabricator.services.mozilla.com/D110369
2021-03-31 12:41:44 +00:00
Julian Descottes 7a570555f5 Bug 1702061 - [devtools] Rename panel ready event to devtools-panel-ready r=nchevobbe
Depends on D110367

Initial cleanup before removal.

Differential Revision: https://phabricator.services.mozilla.com/D110368
2021-03-31 12:41:43 +00:00
Julian Descottes 116dd052e8 Bug 1702061 - [devtools] rename panel isReady to isPanelReady r=nchevobbe
Initial cleanup to make the future removal easier to review

Differential Revision: https://phabricator.services.mozilla.com/D110367
2021-03-31 12:41:43 +00:00
Paul Adenot 3a84032713 Bug 1701276 - Adjust currentSrc behaviour to match the spec more closely. r=bryce
Firefox and Chrome support setting `src` with an `ObjectURL`. This is
technically a URL and should be treated as such. Firefox recently changed to
return `""` when a `MediaSource` is playing, and this is wrong, because even
though it's playing a from a "Media Provider Object", it got loaded from the
`src` attribute, so should have a non-null `currentSrc`, which should be the
blob url (`blob:origin/<an uuid>`). In this case, `currentSrc` is a string that
is opaque and doesn't allow introspection but refers to the "real" `MediaSource`
or `Blob`.

If the same `MediaSource` is loaded via the `srcObject` attribute (that Firefox
and Chrome don't support), then `currentSrc` should return `""` and `srcObject`
still has the object set to it to understand what the HTMLMediaElement is
playing. We'll implement and test this later.

Differential Revision: https://phabricator.services.mozilla.com/D110290
2021-03-31 12:28:39 +00:00