Commit Graph

755128 Commits

Author SHA1 Message Date
Emilio Cobos Álvarez
54509807e1 Bug 1707533 - Make Wayland custom cursors behave like all other platforms. r=stransky
It seems GTK downscales the cursor if the resolution is less than the
device scale, so this makes it consistent with X11 and all other desktop
platforms.

On the example on the bug it seems silly because the cursor is massive,
but on legit examples like:

  https://downloads.scirra.com/labs/bugs/cursor-image-set/

This makes the cursor not abruptly change sizes when page zoom changes
for example.

Differential Revision: https://phabricator.services.mozilla.com/D113302
2021-04-27 10:50:45 +00:00
Emilio Cobos Álvarez
34a9a0f457 Bug 1705605 - Implement accent-color in nsNativeBasicTheme. r=mstange
This is a new addition for CSS UI Level 4:

  https://drafts.csswg.org/css-ui-4/#widget-accent

I want to provide feedback on some spec issues, and thought it was a
kinda neat thing to prototype (it also makes testing contrast and such
with random GTK themes easier).

For now enable for Nightly only.

Differential Revision: https://phabricator.services.mozilla.com/D112312
2021-04-27 10:41:00 +00:00
Dale Harvey
ed370e6a5f Bug 1702079 - Implement the opt-in modal for Firefox QuickSuggest r=adw
Differential Revision: https://phabricator.services.mozilla.com/D110569
2021-04-27 10:00:07 +00:00
imoraru
45f5841863 Merge mozilla-central to autoland on a CLOSED TREE 2021-04-27 13:03:43 +03:00
imoraru
4648b6ee31 Merge autoland to mozilla-central. a=merge 2021-04-27 12:52:06 +03:00
Edgar Chen
70f3dbe892 Bug 1707721 - Fix the comment for BindingJSObjectCreator; r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D113414
2021-04-27 09:34:12 +00:00
Eden Chuang
d73f39ec15 Bug 1697494 - adding tests for Opaque Response Blocking with media range requests. r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D112547
2021-04-27 08:57:29 +00:00
Kershaw Chang
9e71b19a86 Bug 1703934 - P3: Make sure we always fast fallback to a non-http3 connection, r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D113090
2021-04-27 08:37:25 +00:00
Kershaw Chang
0855cd1e18 Bug 1703934 - P2: Use another parallel limit for backup speculative connection, r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D112349
2021-04-27 08:37:25 +00:00
Kershaw Chang
a508fefb70 Bug 1703934 - P1: restart pending transactions when an error happened before connect, r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D112348
2021-04-27 08:37:25 +00:00
Petr Sumbera
dfc4ffc639 Bug 1707816 - widget/gtk/nsWindow.cpp:7930:6: error: #elif with no expression r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D113484
2021-04-27 08:24:41 +00:00
smolnar
70c427c36f Backed out changeset 8269c01489c9 (bug 1706694) for causing failures in PreWriteBarrierDuringFlattening. CLOSED TREE 2021-04-27 11:49:58 +03:00
David Parks
c99bc3e206 Bug 1704658: Implement ParamTraits for RefPtr<nsAtom> r=nika
Serialization for both nsStaticAtoms and nsDynamicAtoms.

Differential Revision: https://phabricator.services.mozilla.com/D112433
2021-04-27 08:20:18 +00:00
Jon Coppeard
08e5481d99 Bug 1706694 - When flattening ropes, store the parent pointer in the left child field rather than overwriting the cell header r=jandem
This moves the part that sets the charater data pointer to finish_node as this
also shares this field. We pass the parent pointer (and flags) into
first_visit_node and set these after we've extracted the left child pointer.

Differential Revision: https://phabricator.services.mozilla.com/D113316
2021-04-27 07:44:34 +00:00
Nicolas Silva
28cb8bdbd1 Bug 1707460 - Better handle reversed gradient stops. r=gfx-reviewers,bradwerth
The code that decompose linear gradients inserts fake gradient stops to deal with the potential constant color areas before and after the gradient endpoints. The offsets of these extra stops were computed without accounting for the transformation the loop does in the case of reversed stops. This patch fixes that.

Differential Revision: https://phabricator.services.mozilla.com/D113290
2021-04-27 07:44:26 +00:00
Nicolas Silva
4ae4ba4201 WIP: Bug 1707181 - Avoid zero-sized gradient tasks. r=gfx-reviewers,lsalzman
Add missing check for linear gradients. Also, instead of just casting to int round out the task size.

Differential Revision: https://phabricator.services.mozilla.com/D113289
2021-04-27 07:44:25 +00:00
Bob Owen
6733ab2d52 Bug 1701802: Don't use SingleNativeEventPump in windows app shell if win32k is locked down. r=handyman
Depends on D112961

Differential Revision: https://phabricator.services.mozilla.com/D112962
2021-04-27 07:41:16 +00:00
Bob Owen
9ec086e0e5 Bug 1701791 p2: Don't initialize COM on the image IO thread when win32k is locked down. r=tnikkel
COM is required for calls to SHGetFileInfo for moz-icon, but we only currently
require that for the file content process. We may want to use it in the future
for the privileged about content process, in which case we will have to forgo
win32k lockdown there unless moz-icon is remoted.

Depends on D112960

Differential Revision: https://phabricator.services.mozilla.com/D112961
2021-04-27 07:41:16 +00:00
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