Commit Graph

755109 Commits

Author SHA1 Message Date
Bob Owen
c0ca93fed8 Bug 1701791 p1: Don't enable win32k lockdown for the file content process. r=handyman
Win32k is required for moz-icon in the file content process and we don't want to
block enabling for web content processes on this and other uses that may only be
in the file content process.

Differential Revision: https://phabricator.services.mozilla.com/D112960
2021-04-27 07:41:15 +00:00
Jamie Nicol
12c6f3d56a Bug 1707815 - Block partial present on all Mali-Txxx devices. r=nical
In bug 1680087 we disabled webrender's partial present feature on
Mali-T6xx and T7xx devices due to rendering issues caused by a buggy
implementation in the driver. We have now seen reports of the same
issue on a Mali-T8xx device.

This patch expands the block to include all Mali-Txxx devices. As a
follow up we should make this dependent on the driver version, so
that users with working drivers can take advantage of the feature.

Differential Revision: https://phabricator.services.mozilla.com/D113477
2021-04-27 07:36:57 +00:00
sotaro
492cddae29 Bug 1705991 - Enable web platform tests on Android for SW-WR r=jmaher,aosmond,gfx-reviewers
Web platform tests on Android in CI for SW-WR to get more testing coverage.

Differential Revision: https://phabricator.services.mozilla.com/D112520
2021-04-27 07:30:04 +00:00
Jan Varga
dcb06f6d6d Bug 1706005 - Report failed DirectoryPaddingGet as a warning (instead of an error); r=dom-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D113392
2021-04-27 07:12:23 +00:00
Jan Varga
a43be2a21f Bug 1702422 - Report failed LoadQuotaFromCache as a warning (instead of an error); r=dom-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D113370
2021-04-27 07:12:23 +00:00
Jan Varga
4bd1418875 Bug 1702422 - Move tests intended for quota info caching into a standalone directory; r=dom-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D113369
2021-04-27 07:12:22 +00:00
imoraru
1eb89beb48 Backed out changeset 7517d291e2f5 (bug 1702237) for causing Browser-Chrome failures at browser_switchToTab_chiclet.js . CLOSED TREE 2021-04-27 10:12:55 +03:00
Daisuke Akatsuka
81a5c27c24 Bug 1702237: Make chiclet label properly upon tabs mode.r=harry
Differential Revision: https://phabricator.services.mozilla.com/D113274
2021-04-27 06:14:11 +00:00
Chris Fallin
a361e35cb2 Bug 1706942 part 12 - Prepare js shell to run tests for wasi. r=jandem
Small miscellaneous things to make prepare js shell to run tests for wasi.

Differential Revision: https://phabricator.services.mozilla.com/D113104
2021-04-27 06:09:28 +00:00
Chris Fallin
dcba1af911 Bug 1704778 part 11 - Disable unsupported js tests. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D111816
2021-04-27 06:09:28 +00:00
Chris Fallin
2e5115af2e Bug 1704775 part 10 - Disable unsupported c++ tests. r=glandium
WASI doesn't support some c++ tests for threads, so
in this patch we just stubbed them out.

Differential Revision: https://phabricator.services.mozilla.com/D111815
2021-04-27 06:09:27 +00:00
Andi-Bogdan Postelnicu
a2692f41ac Bug 1617369 - Reformat recent rust changes with rustfmt. r=webdriver-reviewers,kvark
Updated with rustfmt 1.4.36-stable (7de6968 2021-02-07)

\# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D113295
2021-04-27 06:05:08 +00:00
Timothy Nikkel
9a35a71036 Bug 1707560. Add test. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D113462
2021-04-27 05:26:21 +00:00
Timothy Nikkel
387bd3789a Bug 1707560. Don't scroll to the top if double tap on very tall element that is > 90% the width of the viewport. r=emilio
We have code for this, it's disabled for elements that are 90% or greater the width of the viewport. This code was added in bug 1204084 for the "double tap on tall element" problem and the 90% hasn't been touched since. I can't think of a good reason why we would want to scroll to the top of the element if its 90% the width of the viewport or more.

Differential Revision: https://phabricator.services.mozilla.com/D113335
2021-04-27 05:26:21 +00:00
Butkovits Atila
554a06e07d Bug 1699008 - disable browser_toolbox_backward_forward_navigation.js on Linux_64 for frequent failures. r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D113261
2021-04-27 03:39:23 +00:00
Hiroyuki Ikezoe
e94cb5c2ca Bug 1707519 - Add a null check to avoid crashes when mAnimation instance is not an OverscrollAnimation. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D113292
2021-04-27 03:14:22 +00:00
Hiroyuki Ikezoe
d97db04dd1 Bug 1707519 - Set the APZC state NOTHING prior to nullify mAnimation. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D113291
2021-04-27 03:14:22 +00:00
Daisuke Akatsuka
4355aecbdf Bug 1697722: Add tests for unit conversion. r=adw
Depends on D107968

Differential Revision: https://phabricator.services.mozilla.com/D108166
2021-04-27 01:36:30 +00:00
Daisuke Akatsuka
8d4ffc7db6 Bug 1697722: Implement unit converter as UrlbarProvider. r=adw,dminor
Differential Revision: https://phabricator.services.mozilla.com/D107968
2021-04-27 01:36:29 +00:00
Mike Conley
4283087f08 Bug 1702985 - Update bookmarks folder icon. r=sfoster,desktop-theme-reviewers,harry
Differential Revision: https://phabricator.services.mozilla.com/D113408
2021-04-27 01:32:41 +00:00
Cosmin Sabou
2d2020c4bc Backed out changeset 7338e5d940a6 (bug 1702237) for bc failures on browser_switchToTab_chiclet.js. 2021-04-27 04:14:10 +03:00
Scott
0b3971d7a5 Bug 1701883 - Fix Pocket button default placement if pref is false. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D112653
2021-04-27 00:21:34 +00:00
Doug Thayer
7318dd5ba0 Bug 1553399 - Unlock nsRemoteService before launching child r=mossop
This fixes the issue for me. I can't think of any problems with doing this
here? However I am not an expert in the remote service. As part of this I also
cover the case where the user encounters the profile lock dialogue and selects
to kill the existing instance of Firefox. This can result in a slow startup in
a similar way as far as I've been able to observe.

Differential Revision: https://phabricator.services.mozilla.com/D113054
2021-04-27 00:15:05 +00:00
Mark Striemer
7409ebe4df Bug 1706219 - Handle gSavedSate without placements in proton toolbar migration r=Gijs
Depends on D113423

Differential Revision: https://phabricator.services.mozilla.com/D113432
2021-04-26 23:50:36 +00:00
Mark Striemer
66f722cdca Bug 1706219 - Handle empty placements in proton toolbar migration r=emalysz,mconley
Differential Revision: https://phabricator.services.mozilla.com/D113423
2021-04-26 23:40:32 +00:00
Gerald Squelart
a354af1934 Bug 1707537 - Make ChildProfilerController::mThread thread-safe, and reset it before final dispatch and shutdown, to prevent re-entrancy - r=florian
Bug 1613798 (shutdown crashes during ChildProfilerController::ShutdownAndMaybeGrabShutdownProfileFirst's nsThread::Shutdown) could be explained by another nested shutdown destroying the same thread first, so when coming back to the first inner loop, there's a UAF on the already-destroyed thread!

Now we first reset the `mThread` pointer so it cannot be used by later/nested function calls, but keep a local reference (which should be the last one) to dispatch the shutdown operations and then shutdown the thread itself.

Also the thread pointer is now encapsulated in a DataMutex, in case it is accessed from different threads (e.g., the main thread and the IPC reception thread.)

Differential Revision: https://phabricator.services.mozilla.com/D113304
2021-04-26 23:17:02 +00:00
Cosmin Sabou
6be9f38faa Backed out changeset a89d4817a3cf (bug 1703374) for causing bustages and SliceBudget related crashes. CLOSED TREE 2021-04-27 02:09:01 +03:00
Cosmin Sabou
34e7e8dc2d Backed out changeset a8d01d3d99fc (bug 1702079) for bc failures on browser_urlbar_telemetry_quicksuggest.js. CLOSED TREE 2021-04-27 01:59:11 +03:00
Daisuke Akatsuka
7da4f12be8 Bug 1702237: Make chiclet label properly upon tabs mode.r=harry
Differential Revision: https://phabricator.services.mozilla.com/D113274
2021-04-26 22:51:14 +00:00
Daisuke Akatsuka
7a8da5b304 Bug 1701901: Show urlbar-search-mode-indicator always upon search mode. r=adw,harry
Differential Revision: https://phabricator.services.mozilla.com/D112901
2021-04-26 22:50:05 +00:00
Steve Fink
a559ffee38 Bug 1703374 - Provide SliceBudget users with more control of when and how often time checks happen r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D111008
2021-04-26 22:38:31 +00:00
Olli Pettay
2af2d39a1c Bug 1705768 - Update dom/ipc/tests/JSWindowActor/browser_contentWindow.js to pass with Fission+BFCache, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D112377
2021-04-26 22:25:59 +00:00
Olli Pettay
83625b981f Bug 1704068 - Enable test_multi_sharedWorker_lifetimes_bfcache.html on Fission, r=peterv,emilio
Differential Revision: https://phabricator.services.mozilla.com/D111403
2021-04-26 22:25:58 +00:00
Dale Harvey
508fc53c33 Bug 1702079 - Show onboarding prompt to enable QuickSuggest r=adw
Differential Revision: https://phabricator.services.mozilla.com/D110569
2021-04-26 22:20:10 +00:00
Cosmin Sabou
b097523a9b Backed out changeset b8f7bee95415 (bug 1693384) for causing build bustages. CLOSED TREE 2021-04-27 01:06:51 +03:00
Steve Fink
a45b73b47e Bug 1702310 - Add --gecko-profile-features and similar options to mach try fuzzy and mach raptor etc. to make it easier to generate marker-only profiles, configure threads and sampling interval, etc. r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D110451
2021-04-26 21:59:29 +00:00
Jared Wein
9ff67db626 Bug 1703044 - Update the caclulation of the panel secondary text to get it closer to the UX spec. r=desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D112809
2021-04-26 21:46:08 +00:00
Jared Wein
52f9155b1c Bug 1693384 - Move over pinned and overlay audio icon to move it away from the tab title. r=desktop-theme-reviewers,harry
Also update the icons to add background strokes when used as an overlay.

Differential Revision: https://phabricator.services.mozilla.com/D113409
2021-04-26 21:41:51 +00:00
Cosmin Sabou
0a2f298b48 Backed out changeset 9577e2feecd1 (bug 1707598) for causing bc failures on browser_library_bookmark_pages.js. CLOSED TREE 2021-04-27 00:40:33 +03:00
Michael Cooper
74cce16d19 Bug 1698684 - Leave users in Normandy experiments when prefs change r=Gijs
This reverses a decision that was made in the original design of Normandy's preference experiments. That decision was made assuming simple experiments that only change one preference.

Today, preferences are more complicated, have more interactions, and often change more than one preferences. Unenrolling users from experiments due to preferences changing causes bugs, unexpected experiences for users, and bad experiment outcomes.

This change will make Normandy act more in alignment with how experimenter owners and data analysts already treat it, improving the overall experience of the experiments program.

Differential Revision: https://phabricator.services.mozilla.com/D112070
2021-04-26 21:12:26 +00:00
Itiel
64046e0ef2 Bug 1707687 - Update the library window icons r=desktop-theme-reviewers,harry
Differential Revision: https://phabricator.services.mozilla.com/D113407
2021-04-26 21:07:37 +00:00
Cosmin Sabou
4c806f9410 Backed out changeset 4ad29c902ff4 (bug 1703044) for causing bc failures on browser_ext_themes_arrowpanels.js. CLOSED TREE 2021-04-27 00:12:16 +03:00
Andrew Osmond
77a93b91d2 Bug 1704227. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D113191
2021-04-26 21:04:29 +00:00
Markus Stange
43e5d7e69f Bug 1707598 - When opening a new menu just after closing an old menu, make sure we exit the nested event loop for the old NSMenu before we ask the new NSMenu to open. r=harry
On CI, where we open and close menu items in quick succession, we sometimes got
into a state where the new menu was opened while we were still in the old menu's
nested event loop. So we had the following sequence of events:

```
 - old menu +[NSMenu popUpContextMenu:withEvent:forView:]
   - nested event loop for old menu
     - old menu -[NSMenu cancelTrackingWithoutAnimation]
     - new menu +[NSMenu popUpContextMenu:withEvent:forView:]
       - nested event loop for new menu
         - new menu -[NSMenu cancelTrackingWithoutAnimation]
     - new menu's event loop is exited, but old menu's event loop remains on the
       stack
     - shutdown hang here
```

MOZMenuOpeningCoordinator makes sure that +[NSMenu popUpContextMenu:withEvent:forView:]
is always called in sequence, never in a nested fashion.

Differential Revision: https://phabricator.services.mozilla.com/D113373
2021-04-26 20:57:20 +00:00
Bryce Seager van Dyk
15e028a5fa Bug 1707559 - Stub out QueryOutputProtectionStatus. r=jbauman
Differential Revision: https://phabricator.services.mozilla.com/D113361
2021-04-26 20:52:47 +00:00
Agi Sferro
5bd4ee0a35 Bug 1558103 - Don't try to dispatch XPCOM events during shutdown. r=aklotz
XPCOM complains when events are dispatched during shutdown. Since we're
shutting down, there's no really any point in dispatching these messages
anyway, so we can safely ignore them.

Differential Revision: https://phabricator.services.mozilla.com/D113203
2021-04-26 20:49:27 +00:00
Agi Sferro
0bacfb352b Bug 1699046 - Allow GVE to have zero tabs. r=droeh
Marionette uses GVE and sometimes closes the last tab and calls |Quit| at the
same time. When the last tab is closed, GVE will try to open a new tab with the
same content in it, to avoid leaving the browser in the "zero tabs" state. This
causes a race condition where the browser is shutting down and a new tab is
being created, which trips an assertion in our widget code.

During real life usage of the browser, calling Quit only happens during errors.
Because of that, and the fact that we're not seing this crash in the wild,
it should be safe to just fix the problem in GVE instead of supporting this
edge case in GeckoView.

To support the Marionette case, we allow GVE to stay at zero tabs. Some menu
elements need to be disabled (like reload tab and the url bar).

This has the added benefit of being able to test the "no windows" case in GVE
which wasn't possible until now.

Differential Revision: https://phabricator.services.mozilla.com/D113202
2021-04-26 20:49:00 +00:00
Jared Wein
6f231d697c Bug 1703044 - Update the caclulation of the panel secondary text to get it closer to the UX spec. r=desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D112809
2021-04-26 20:33:38 +00:00
Jeff Muizelaar
b57459857a Bug 1707682 - Bump up GPU process max restarts. r=aosmond
We've been using 3 on Nightly for a long time without
any problems and it's generally much better to keep the GPU
process around than give up on it.

We also bump the Nightly value to increase the chances of us
finding any problems where we should give up on using the GPU process.

Differential Revision: https://phabricator.services.mozilla.com/D113393
2021-04-26 20:22:20 +00:00
Cosmin Sabou
e3f5ad16b5 Backed out 2 changesets (bug 1600059) for bc failures on browser_autocomplete_footer.js. CLOSED TREE
Backed out changeset 6e03b1a45863 (bug 1600059)
Backed out changeset 9a742ac1be88 (bug 1600059)
2021-04-26 23:24:18 +03:00