9318 Commits

Author SHA1 Message Date
Tim Nguyen
dca495ffcc Bug 1699183 - Rename & clean up lock icons. r=preferences-reviewers,jaws
Differential Revision: https://phabricator.services.mozilla.com/D108815
2021-03-18 20:10:22 +00:00
Mike Conley
1a2a277eab Bug 1697863 - Add preliminary Proton styles for browser UI menulists. r=harry,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D108061
2021-03-17 17:15:10 +00:00
Jens Stutte
48b1ebeb71 Bug 1696397: Move SpinEventLoopUntilOrShutdown to -Quit and move the current shutdown state logic from nsThreadManager to AppShutdown; r=kmag,xpcom-reviewers
The SpinEventLoopUntilOrShutdown is interrupted in the main process only at stage "xpcom-shutdown", which is too late. In a content process instead we interrupt it early enough, at "content-child-will-shutdown".

This patch removes the current observer logic in nsThreadManager in favor of a current shutdown phase state machinery in AppShutdown and renames SpinEventLoopUntilOrShutdown to SpinEventLoopUntilOrQuit. It also ensures that SpinEventLoopUntilOrQuit breaks early (at "quit-application" in the main process).

For a further possible cleanup around shutdown state in child and parent process please refer to bug 1697745.

We have no automated test for this edge case, but we have diagnostic telemetry that will tell us if it helps.

Differential Revision: https://phabricator.services.mozilla.com/D107619
2021-03-17 08:07:48 +00:00
Csoregi Natalia
4e97659d91 Backed out 2 changesets (bug 1697863) for valgrind failures. CLOSED TREE
Backed out changeset f82846b236e3 (bug 1697863)
Backed out changeset 64166dc7f85f (bug 1697863)
2021-03-17 01:15:11 +02:00
Mike Conley
9a43d7d205 Bug 1697863 - Add preliminary Proton styles for browser UI menulists. r=harry,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D108061
2021-03-16 17:11:23 +00:00
Tim Nguyen
eec5839457 Bug 1698058 - Update downloads panel/window icons & icon button styling. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D108189
2021-03-13 01:51:28 +00:00
smolnar
547a309816 Backed out changeset 3d812f02347c (bug 1698058) for causing OS X build bustages. CLOSED TREE 2021-03-13 03:18:51 +02:00
Tim Nguyen
6b556978c0 Bug 1698058 - Update downloads panel/window icons & icon button styling. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D108189
2021-03-13 00:35:11 +00:00
Gijs Kruitbosch
d6848e7101 Bug 1692082 - fix spacing, icons and colours for checkmarks and arrows in Windows 10 menus, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D108108
2021-03-13 00:16:36 +00:00
Mike Conley
3fad3847c2 Bug 1697295 - Replace camera and microphone labels with icons in WebRTC permission panel when Proton is enabled. r=pbz,Jamie,fluent-reviewers,desktop-theme-reviewers,harry,Gijs
This is not an exhaustive redress of the WebRTC panel. It just replaces the labels
preceding the camera/microphone selectors with icons if Proton is enabled. There's
still a bunch of styling work to do in this panel for Proton, but that will occur
in a follow-up patch.

Differential Revision: https://phabricator.services.mozilla.com/D107718
2021-03-12 17:42:54 +00:00
Mike Conley
99fb99a4a8 Bug 1697315 - Add preliminary Proton styles for browser UI checkboxes. r=harry,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D107730
2021-03-12 17:00:53 +00:00
Jonathan Kew
a9143c6051 Bug 1692673 - Update tests for new Cut/Copy command-enabling behavior. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D107481
2021-03-12 16:34:42 +00:00
Brindusan Cristian
b073741c99 Backed out 3 changesets (bug 1692673) for bc failures in browser_contextmenu_input.js. CLOSED TREE
Backed out changeset 6060fa16bc3e (bug 1692673)
Backed out changeset 0f6717c26ae3 (bug 1692673)
Backed out changeset 8148b9e5dfba (bug 1692673)
2021-03-12 16:07:49 +02:00
Jonathan Kew
5eda87fe7b Bug 1692673 - Update tests for new Cut/Copy command-enabling behavior. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D107481
2021-03-12 12:04:08 +00:00
Alexandru Michis
09aaa7cff9 Backed out changeset 6ffdccffb2d5 (bug 1697315) for causing bc failures in browser_preferences_usage.js
CLOSED TREE
2021-03-12 08:13:05 +02:00
Mike Conley
2949934836 Bug 1697315 - Add preliminary Proton styles for browser UI checkboxes. r=harry,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D107730
2021-03-11 22:55:48 +00:00
Csoregi Natalia
46c0e3eebc Backed out 2 changesets (bug 1692673) for failures on browser_contextmenu.js. CLOSED TREE
Backed out changeset dd24e610d956 (bug 1692673)
Backed out changeset b88ab8c6dd39 (bug 1692673)
2021-03-11 23:27:31 +02:00
Jonathan Kew
ba5722b476 Bug 1692673 - Update tests for new Cut/Copy command-enabling behavior. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D107481
2021-03-11 16:16:34 +00:00
Butkovits Atila
479d6f893c Backed out 2 changesets (bug 1692673) for causing build bustages on EditorBase.cpp. CLOSED TREE
Backed out changeset 988b919adc5c (bug 1692673)
Backed out changeset 5b1ba8dbfc8a (bug 1692673)
2021-03-11 12:43:24 +02:00
Jonathan Kew
ba23557a7e Bug 1692673 - Update tests for new Cut/Copy command-enabling behavior. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D107481
2021-03-11 10:27:04 +00:00
Erica Wright
314b24db0d Bug 1682676 - Position infobars inside of the chrome. r=mstriemer
Depends on D106012

Differential Revision: https://phabricator.services.mozilla.com/D104741
2021-03-10 19:22:56 +00:00
Mark Striemer
f8d0050deb Bug 1682676 - Part 1: Move named-deck to toolkit widgets r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D106012
2021-03-10 19:22:56 +00:00
Jonathan Kew
ceb44d34d6 Bug 1664730 - Disable async font fallback when running mochitests, to avoid unpredictable extra reflows that can disrupt event-/timing-sensitive tests. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D107284
2021-03-10 12:26:52 +00:00
Emilio Cobos Álvarez
c3fa8e2b78 Bug 1696931 - Use even padding in menuitems on OSX. r=mstange
Otherwise with some fonts the menus look off. This doesn't change visual
appearance with the default font, afaict (but I don't have such a good eye so
please double-check).

Maybe we should do this only for the content select dropdown, but then again my
untrained eye doesn't see an issue for other menuitems either so...

Differential Revision: https://phabricator.services.mozilla.com/D107630
2021-03-09 21:41:25 +00:00
Nika Layzell
1dfe5d5e5b Bug 1663757 - Part 3: Start sending web progress events in oop subframes, r=annyG
Previously, we would only send web progress events from the toplevel
BrowserParent, as other frames would never have the browser-child.js framescript
loaded in them, and so would never start sending events. This change moves the
decision to begin sending events into BrowserChild itself around the same time
as it would've happened previously with the framescript.

This new callsite should still avoid sending events for the creation of the
initial about:blank document in the BrowserChild, while not skipping any other
events, as before.

Differential Revision: https://phabricator.services.mozilla.com/D105558
2021-03-09 15:29:41 +00:00
Dan Minor
de8b57ab75 Bug 1694507 - Update messaging in "restart with add-ons disabled" / "safe mode" dialog r=jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D107524
2021-03-09 14:16:42 +00:00
Dan Minor
1d86fd7081 Bug 1693128 - Update clear startup cache confirmation prompt content/text; r=Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D107529
2021-03-09 13:31:18 +00:00
Mike Conley
f70b722da2 Bug 1696987 - Apply preliminary Proton stylings to PopupNotification splitbuttons. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D107509
2021-03-08 22:04:13 +00:00
Mike Conley
19173121e0 Bug 1696946 - Suppress most PopupNotification notification icons when Proton is enabled. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D107497
2021-03-08 22:04:12 +00:00
Narcis Beleuzu
16d317a8b5 Backed out 1 changesets (bug 1696286) as per mconley`s request.
Backed out changeset 6f8b367e18e3 (bug 1696286)
2021-03-08 17:04:15 +02:00
Kagami Sascha Rosylight
a9417a719e Bug 1360715 - Part 2: Modify instanceofs in tests to non-cross-context r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D106662
2021-03-04 22:03:57 +00:00
Brindusan Cristian
b926d96be6 Backed out 3 changesets (bug 1360715) for mochitest failures at test_WebCrypto.html. CLOSED TREE
Backed out changeset b4a14c42313d (bug 1360715)
Backed out changeset 0e4b1b65fcbe (bug 1360715)
Backed out changeset fb8b9841d82b (bug 1360715)
2021-03-04 21:15:16 +02:00
Kagami Sascha Rosylight
73ec445d30 Bug 1360715 - Part 2: Modify instanceofs in tests to non-cross-context r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D106662
2021-03-04 15:05:26 +00:00
Jan-Erik Rediger
4a219f294b Bug 1695197 - Remove MOZ_GLEAN constant, introduce MOZ_GLEAN_ANDROID. r=chutten,emilio
We enable compilation of FOG/Glean on _all_ platforms.
We disable Glean initialization and metric recording on Android (GeckoView) by respecting MOZ_GLEAN_ANDROID.
This way GeckoView just works, consumers don't need to think about it (except in tests, these need to be disabled for Android builds).

Stubbing out the metric implementations will happen in the commits after
this one.

Differential Revision: https://phabricator.services.mozilla.com/D106766
2021-03-04 11:15:12 +00:00
Mike Conley
f1a82bcd16 Bug 1696286 - Make it possible for PopupNotifications to be visually unopinionated. r=Gijs
Being 'visually unopinionated' means not showing distinct styling for the main action.

Differential Revision: https://phabricator.services.mozilla.com/D107128
2021-03-04 00:54:01 +00:00
Andreea Pavel
002023eb26 Merge autoland to mozilla-central a=merge 2021-03-03 23:49:23 +02:00
Neil Deakin
2ffa311fe8 Bug 1694027, use the body's scrollHeight to compute the scroll area is it is available, r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D106044
2021-03-03 15:02:55 +00:00
Sebastian Hengst
7916a12f4f Backed out 2 changesets (bug 1528289) for breaking navigation with clicks after user scrolled by clicking with middle mouse button. a=backout
Backed out changeset 33c7b633ada2 (bug 1528289)
Backed out changeset be5cf87707f9 (bug 1528289)
2021-03-03 14:29:12 +01:00
Florian Quèze
8e0285b790 Bug 1693877 - Closing tabs should not trigger the finder lazy getter, r=mikedeboer.
Differential Revision: https://phabricator.services.mozilla.com/D105956
2021-03-03 10:50:20 +00:00
Jens Stutte
05581ddca4 Bug 1678330: Ensure nested SpinEventLoopUntil(OrShutdown) calls are traceable to the originating source in case of crash. r=nika,extension-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D106839
2021-03-02 22:11:58 +00:00
Cosmin Sabou
b2eb620ed0 Backed out changeset 03cae7800b41 (bug 1678330) for mochitest plain failures on test_window_open_discarded_bc.html. CLOSED TREE 2021-03-02 20:18:21 +02:00
Jens Stutte
a0af9ea0a4 Bug 1678330: Ensure nested SpinEventLoopUntil(OrShutdown) calls are traceable to the originating source in case of crash. r=nika,extension-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D106839
2021-03-02 15:15:20 +00:00
Masayuki Nakano
9b7cc9e1ca Bug 1695499 - Make browser_f7_caret_browsing.js wait async F7 key handling for toggling caret browsing r=Gijs
After fixing bug 1520263, `F7` key handling in chrome becomes async when
focused element is a remote content.  Therefore, the test should wait a
reply event from remote content in the cases.

Differential Revision: https://phabricator.services.mozilla.com/D106749
2021-03-02 00:45:32 +00:00
Masayuki Nakano
77d74d9e73 Bug 1528289 - part 2: Dispatch same events on the web contents when autoscroll is canceled with a click r=Gijs,edgar
Chrome behaves like this:

1. When user starts autoscroll with a middle click, `mousedown` and `mouseup`
   are fired, but `auxclick` nor `paste` event is not fired.
2. When user ends autoscroll with a left click, only `mouseup` event is fired.
   I.e, `mousedown` nor `click` event is not fired.
3. When user ends autoscroll with a middle click, only `mouseup` event is fired.
   I.e., `mousedown`, `auxclick` nor `paste` events is not fired.
4. When user ends autoscroll with a right click, `mouseup` and `contextmenu`
   events are fired, but `mousedown` and `auxclick` events are not fired.

This patch emulates these Chrome's behavior as far as possible.  However,
unfortunately, we cannot do exactly same behavior without some big patches
because each widget (`nsWindow` or `nsChildView`) discards a mouse event
which rolled up a widget before dispatching it into the DOM.  Therefore,
for now, this patch does not fix the following issues:

1. `mousedown` event is not fired in content when clicking outside the
   autoscroller to close it except when pressing the secondary button or on any
   buttons on Linux.
2. `mouseup` event is not fired in content when clicking outside the
   autoscroller to close it except when pressing the primary button macOS.
3. `click` event and `auxclick` events are fired when clicking outside the
   autoscroller with the secondary button.

So, the middle button `click`/`auxclick` events and `paste` event which is
reported to the bug won't be fired with this patch.  I'll file follow up bugs.

Differential Revision: https://phabricator.services.mozilla.com/D104652
2021-03-01 22:57:07 +00:00
Michelle Goossens
0dcdff469a Bug 1692339 - Add a "Redo" option underneath "Undo" in context menu for form fields r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D106565
2021-02-27 01:19:38 +00:00
Butkovits Atila
961b11bc3b Backed out changeset a2091ee84e0e (bug 1692339) for causing failures at browser_contextmenu_keyword.js. CLOSED TREE 2021-02-27 01:23:52 +02:00
Michelle Goossens
78395cc0e6 Bug 1692339 - Add a "Redo" option underneath "Undo" in context menu for form fields r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D106565
2021-02-26 20:04:29 +00:00
Neil Deakin
f66ba76299 Bug 1691499, add a link field to notification bar buttons to use a link instead, convert learn more buttons in notification bars to links, r=mstriemer,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D105750
2021-02-26 13:43:10 +00:00
Jared Wein
5810ee434c Bug 1665390 - Style bookmarks toolbar and tabs toolbar tooltips. r=NeilDeakin,ntim
Differential Revision: https://phabricator.services.mozilla.com/D104257
2021-02-25 20:47:54 +00:00
Cosmin Sabou
253c39a17a Backed out changeset 36b76c196497 (bug 1691499) for bc failures on browser_decoderDoctor.js. CLOSED TREE 2021-02-25 21:47:25 +02:00