Commit graph

5358 commits

Author SHA1 Message Date
Alexandru Michis
b40e464292 Backed out 5 changesets (bug 1702330) for causing failures in browser_aboutNewTab_defaultBrowserNotification.js
CLOSED TREE

Backed out changeset 365fd1bb6dde (bug 1702330)
Backed out changeset eba73c72be18 (bug 1702330)
Backed out changeset e1277c21543f (bug 1702330)
Backed out changeset 907e4fcda266 (bug 1702330)
Backed out changeset eb2a8569ed02 (bug 1702330)
2021-04-09 03:34:23 +03:00
Mark Striemer
0201d62878 Bug 1702330 - Graduate infobars to main proton pref r=jaws,marionette-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D110638
2021-04-08 22:25:04 +00:00
Zibi Braniecki
00a0221bcd Bug 1694661 - Update tab switch checkbox labels for content prompts, r=Gijs,fluent-reviewers,jaws
Differential Revision: https://phabricator.services.mozilla.com/D107571
2021-04-07 11:06:50 +00:00
Neil Deakin
4ca286a995 Bug 1701668, remove onBeforeLinkTraversal implementations and handle links in docshell, r=kmag,mixedpuppy,geckoview-reviewers,agi
This also fixes links in top or in-process subframes and out-of-process subframes in extensions sidebars and panels so that they open in new tabs.

Differential Revision: https://phabricator.services.mozilla.com/D110102
2021-04-06 18:52:46 +00:00
Mark Striemer
355b6522d8 Bug 1690333 - Proton infobar styles r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D104585
2021-03-29 02:38:56 +00:00
Butkovits Atila
e3f13578b0 Backed out changeset 1890d2ac5a43 (bug 1690333) for causing failures on test_bug509732.xhtml. CLOSED TREE 2021-03-29 02:56:02 +03:00
Mark Striemer
bc875387b4 Bug 1690333 - Proton infobar styles r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D104585
2021-03-28 19:04:34 +00:00
Butkovits Atila
71d46d5a75 Backed out 2 changesets (bug 1690333, bug 1699250) for causing failures on test_bug509732.xhtml. CLOSED TREE
Backed out changeset dcba2814dbc4 (bug 1690333)
Backed out changeset ae3a0e6dde00 (bug 1699250)
2021-03-28 21:16:58 +03:00
Mark Striemer
5711775e12 Bug 1690333 - Proton infobar styles r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D104585
2021-03-28 17:02:21 +00:00
Cosmin Sabou
4618d0a607 Backed out 2 changesets (bug 1690333, bug 1699250) for mochitest failures on test_notificationbox.xhtml.
Backed out changeset d6780d34ca05 (bug 1690333)
Backed out changeset 50cc5db86f1e (bug 1699250)
2021-03-27 23:58:04 +02:00
Mark Striemer
ce67801c64 Bug 1690333 - Proton infobar styles r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D104585
2021-03-27 21:02:51 +00:00
Jared Wein
bf9bf52bb8 Bug 1701003 - Move proton tabs to the proton general pref. r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D109764
2021-03-26 22:55:21 +00:00
Jared Wein
bb408b4167 Bug 1670972 - Fix default value preference type mismatches with calls to defineLazyPreferenceGetter. r=vbudhram,markh,tjr
Differential Revision: https://phabricator.services.mozilla.com/D93400
2021-03-25 20:15:39 +00:00
Gijs Kruitbosch
9e20a27ad0 Bug 1694511 - update references inside the prefs/about:addons to Preferences/Options to use 'Settings' instead, r=preferences-reviewers,fluent-reviewers,jaws,robwu
Differential Revision: https://phabricator.services.mozilla.com/D106199
2021-03-25 19:11:47 +00:00
Doug Thayer
6f388475d6 Bug 1694811 - Ensure tabmodalprompts also hide PanelUI notification panels r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D109528
2021-03-25 17:54:10 +00:00
Doug Thayer
6e2e64a6e2 Bug 1694811 - Hide notifications for gDialogBox modals r=Gijs
Fairly self-explanatory. This just extends the tab-based modal popup hiding
behavior to modals going through gDialogBox.

Differential Revision: https://phabricator.services.mozilla.com/D109527
2021-03-25 17:54:10 +00:00
Doug Thayer
c8daa84209 Bug 1694811 - Extend existing popup hiding logic to PanelUI r=Gijs
This effectively mirrors the panel hiding logic we use to hide
PopupNotifications panels so that we also hide notifications attached to the
hamburger menu. This will cover alerts and other similar modals originating
from content.

Differential Revision: https://phabricator.services.mozilla.com/D109526
2021-03-25 17:54:10 +00:00
Emma Malysz
5688cf327e Bug 1699473: bold first sentence in disk storage infobar r=Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D109678
2021-03-25 15:42:00 +00:00
Csoregi Natalia
a60c66265b Backed out changeset 816285ac4de4 (bug 1694511) for failures on browser_experimental_features.js. CLOSED TREE 2021-03-24 15:15:27 +02:00
Gijs Kruitbosch
65f48ef9b0 Bug 1694511 - update references inside the prefs/about:addons to Preferences/Options to use 'Settings' instead, r=preferences-reviewers,fluent-reviewers,jaws,robwu
Differential Revision: https://phabricator.services.mozilla.com/D106199
2021-03-24 11:27:27 +00:00
Scott
1e202523c4 Bug 1693376 - Move save to Pocket to the toolbar. r=Gijs,fluent-reviewers,gvn,flod
Differential Revision: https://phabricator.services.mozilla.com/D107744
2021-03-23 20:06:03 +00:00
Mike Conley
42f43cbb1f Bug 1698063 - Update confirmation hint string for bookmarking. r=flod
Not porting to Fluent here because updating ConfirmationHint to use Fluent
strings for all hints is out of scope.

Differential Revision: https://phabricator.services.mozilla.com/D109378
2021-03-22 17:49:44 +00:00
Scott
fc1515023f Bug 1699516 - Change Pocket main.js file name to pktUI.js r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D109096
2021-03-19 20:18:15 +00:00
Gijs Kruitbosch
f7401d75b1 Bug 1695442 - raise minimized or occluded windows when showing a window-modal prompt, r=pbz
This ensures the modal is visible. I'm deliberately not doing this for content or tab-modal
prompts, where there wasn't a history of doing this and where I think it would open up
dos-style annoyance vectors.

Differential Revision: https://phabricator.services.mozilla.com/D109058
2021-03-19 16:27:49 +00:00
Andrew McCreight
c684b1b069 Bug 1699614 - Work around document use-after-unlink in Proton pref callback. r=Gijs
Due to some kind of weirdness, you can end up with a weakly held preference
callback being run even after the DOM objects it holds references to are unlinked
by the cycle collector, which can cause crashes. This patch works around
that by taking advantage of the fact that we now drop weak references to DOM
objects when they are unlinked to change the preference callback closure to
instead hold a weak reference.

Differential Revision: https://phabricator.services.mozilla.com/D109031
2021-03-19 15:12:11 +00:00
Mark Striemer
82cccfaf64 Bug 1697788 - Move popup blocked infobar to informational r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D108814
2021-03-18 16:21:54 +00:00
Tim Nguyen
e0e0e47210 Bug 1699083 - Remove blocklist_favicon.png and use blocked.svg instead. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D108760
2021-03-17 19:03:51 +00:00
Emma Malysz
030b47279a Bug 1691464, remove screenshot feature from page action panel and move to dedicated widget r=fluent-reviewers,sfoster,flod
The widget is only added if screenshots are enabled (similar behavior to the fxa
toolbar button).
Button must take into account onLocationChange due to the fact that screenshots
extension is not available on about pages.
Adds a test for the disabled state, with more screenshot tests intended in the future

Differential Revision: https://phabricator.services.mozilla.com/D107727
2021-03-17 20:19:23 +00:00
Cosmin Sabou
dc2b83b3e4 Backed out changeset 294ee16f9e45 (bug 1699083) for gtest failures on WebRtcIceConnectTest. CLOSED TREE 2021-03-17 22:22:24 +02:00
Tim Nguyen
f26c169fa0 Bug 1699083 - Remove blocklist_favicon.png and use blocked.svg instead. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D108760
2021-03-17 19:03:51 +00:00
Mark Banner
0dedfd16f1 Bug 1474941 - Remove the browser.search.context.loadInBackground preference from the WebExtension search flow. r=mixedpuppy
The preference shouldn't affect WebExtensions as it is non-obvious (WebExtensions might not be using a context menu so a user wouldn't expect that preference to affect them), and WebExtensions can choose themselves if a tab needs to be in the background or not.

This also removes it from the command line search flow where it had no effect anyway.

Differential Revision: https://phabricator.services.mozilla.com/D107870
2021-03-17 14:13:49 +00:00
Tim Nguyen
9bee18195e Bug 1698210 - Simplify RTL icon animations and multi-transform patterns with CSS individual transforms. r=Itiel
Differential Revision: https://phabricator.services.mozilla.com/D108280
2021-03-14 15:51:09 +00:00
Paul Zuehlcke
5d2d56e536 Bug 1693621 - Only clear temporary block permissions on user reload. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D106496
2021-03-12 10:06:15 +00:00
Gijs Kruitbosch
ea276e4ba5 Bug 1696793 - improve close and multiple dialog handling for window-modal dialogs, r=mtigley
The html:dialog event can respond to [esc] keypresses itself. In that case,
we need to close the embedded dialog ourselves, or the UI ends up broken.

We also need to make sure that if e.g. the opening multiple pages from bookmarks warning is up,
and then the user tries to quit or in some other way opens another dialog, things don't break.
This also applies to tests that repeatedly invoke dialogs, where we need to wait for both
the SubDialog instance and the wrapping html:dialog element to agree on their state.

Differential Revision: https://phabricator.services.mozilla.com/D107463
2021-03-11 11:34:35 +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
Emilio Cobos Álvarez
2e965c1195 Bug 1695323 - Update canvas permission panel strings. r=mconley,flod
Differential Revision: https://phabricator.services.mozilla.com/D107053
2021-03-09 18:50:10 +00:00
Nika Layzell
aa17bf647b Bug 1209947 - Part 1: Skip more of XULBrowserWindow.onLocationChange for subframes, r=Gijs
With the changes in this patch stack, it will become more common for frontend
code to receive onLocationChange notifications for subframes, as we will now
correctly report events for oop subframes, and will also deliver notifications
for the first document loaded in subframes in order to update the current remote
URI on CanonicalBrowsingContext.

This change makes more of the callbacks fired by onLocationChange be guarded by
the isTopLevel check, including setting the "URL" crash annotation and updating
the macOS touchbar, which should hopefully both fix existing latent bugs, and
ensure that these issues don't occur with the more frequent onLocationChange
callbacks.

Differential Revision: https://phabricator.services.mozilla.com/D105554
2021-03-09 15:29:39 +00:00
Marco Bonardo
2b99ea2e97 Bug 1696752 - Allow to Add Web Engines from the urlbar contextual menu. r=harry,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D107370
2021-03-09 13:44:03 +00:00
Csoregi Natalia
fa029583ab Backed out changeset 0a8323260fa7 (bug 1696752) for build bustages on page_action_menu_add_search_engine_2.xml CLOSED TREE 2021-03-09 14:13:06 +02:00
Marco Bonardo
46c22b83c6 Bug 1696752 - Allow to Add Web Engines from the urlbar contextual menu. r=harry,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D107370
2021-03-09 11:19:40 +00:00
Noemi Erli
aca0968430 Backed out changeset 8bd015dd9182 (bug 1696793) for causing failures in browser_confirm_unblock_download.js CLOSED TREE 2021-03-09 13:45:50 +02:00
Gijs Kruitbosch
82bee9c9a8 Bug 1696793 - fix window modal dialog handling of html:dialog closing separately, r=mtigley
The html:dialog event can respond to [esc] keypresses itself. In that case,
we need to close the embedded dialog ourselves, or the UI ends up broken.

Differential Revision: https://phabricator.services.mozilla.com/D107463
2021-03-09 10:26:14 +00:00
Mike Conley
389534e150 Bug 1696418 - Don't highlight the default action for more permission panels when Proton is enabled. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D107505
2021-03-09 03:06:51 +00:00
Gijs Kruitbosch
0285465585 Bug 1693277 - fix positioning of content dialogs irrespective of size, r=mtigley
This commit uses CSS grid layout to position content modal prompts, and to get the
requisite 5% top and bottom margins in a way that doesn't require JS to update,
and adapts to resizing and things like the find bar and devtools opening. To make
this work right it also removes the 5px negative top margin for these dialogs.

Then this commit adds some logic to SubDialog.jsm to support this behaviour.
Prior to this change, SubDialog.jsm sets height/width on the dialogs that go
through it, except if they pass sizeto=available (used by the print dialog).

This new sizeTo value similarly avoids all the complex sizing logic - but also
avoids the print logic of having an aspect ratio to maintain when the window
changes size. We use the content size it determines to set the height of the
dialog (a grid row): either 90% (so there's 5% above and 5% below) or the
document height, whichever is smaller.

The next commit will use this setup to deal with the problem of variable length
content inside the dialog that we're trying to show.

Differential Revision: https://phabricator.services.mozilla.com/D107110
2021-03-05 10:50:52 +00:00
Alexandru Michis
55e499c3cf Backed out 3 changesets (bug 1693277) for causing bc failures in browser_modal_resize.js
CLOSED TREE

Backed out changeset 0580aaec32a0 (bug 1693277)
Backed out changeset be8108cd9820 (bug 1693277)
Backed out changeset 8b9986d057d7 (bug 1693277)
2021-03-05 03:58:03 +02:00
Gijs Kruitbosch
d81adf55b0 Bug 1693277 - fix positioning of content dialogs irrespective of size, r=mtigley
This commit uses CSS grid layout to position content modal prompts, and to get the
requisite 5% top and bottom margins in a way that doesn't require JS to update,
and adapts to resizing and things like the find bar and devtools opening. To make
this work right it also removes the 5px negative top margin for these dialogs.

Then this commit adds some logic to SubDialog.jsm to support this behaviour.
Prior to this change, SubDialog.jsm sets height/width on the dialogs that go
through it, except if they pass sizeto=available (used by the print dialog).

This new sizeTo value similarly avoids all the complex sizing logic - but also
avoids the print logic of having an aspect ratio to maintain when the window
changes size. We use the content size it determines to set the height of the
dialog (a grid row): either 90% (so there's 5% above and 5% below) or the
document height, whichever is smaller.

The next commit will use this setup to deal with the problem of variable length
content inside the dialog that we're trying to show.

Differential Revision: https://phabricator.services.mozilla.com/D107110
2021-03-05 00:07:36 +00:00
Jared Wein
c6f4ebbf27 Bug 1696322 - Move the formatted tab and bookmarks tooltip behind its own Proton pref. r=bwinton
Differential Revision: https://phabricator.services.mozilla.com/D107171
2021-03-04 18:03:58 +00:00
Horst
e8193fff6f Bug 1685883 - fix javascript error when marionette is disabled r=whimboo,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D104526
2021-03-04 11:56:55 +00:00
Emilio Cobos Álvarez
abf614f578 Bug 1695085 - Update IndexedDB permission prompt. r=mconley,flod
Differential Revision: https://phabricator.services.mozilla.com/D107060
2021-03-03 20:17:22 +00:00
Sam Foster
0f8cdcd29b Bug 1686521 - Proton: Show FxA button based on signed-in state. r=markh,mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D105702
2021-03-03 00:01:12 +00:00
Neil Deakin
fb6f781783 Bug 1670808, if session history in parent is available, use that to get the items for the back forward menu instead. Otherwise, don't cancel showing the context menu if only one history item is available, r=Gijs
FillHistoryMenu was returning early and preventing the context menu from opening when there is only one history item. For long-presses, the menu typically doesn't open until after the updateSessionHistory callback was finished so the menu shows properly, but context menus have no delay. However, when browsingContext.sessionHistory is available, we can get the history without callbacks.

Also, combine the two similar session history tests into one more complete test.

Differential Revision: https://phabricator.services.mozilla.com/D106694
2021-03-02 10:59:27 +00:00
Mike Conley
45a48a96c5 Bug 1693092 - Update strings for Safe Mode menu items. r=emalysz,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D106812
2021-03-01 18:41:52 +00:00
Mike Conley
61c60021f1 Bug 1695721 - Make sure Safe Mode AppMenu menu item string gets updated when in Safe Mode. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D106810
2021-03-01 18:41:51 +00:00
Emilio Cobos Álvarez
915f02d25c Bug 1694951 - Remove printing.trigger telemetry. r=jwatt,marionette-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D106465
2021-03-01 11:36:43 +00:00
Patrick Storz
5fd2488fce Bug 360332 - Enable modifiers / middle click for context search. r=Standard8
Allows to perform the search in a new foreground/background tab or
a new window using modifiers or middle mouse button.

Introduces a certain level of consistency with other entries in
the context menu, like navigation and "view image".

Differential Revision: https://phabricator.services.mozilla.com/D103354
2021-02-26 17:14:05 +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
Mike Conley
d1abcdce20 Bug 1693851 - Fix some variety of tests so that they pass with and without Proton AppMenu enabled. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D106381
2021-02-25 23:43:08 +00:00
Florian Quèze
9beeba38b3 Bug 1690368 - call updateFxaToolbarMenu before focusing the urlbar causes a style flush, r=markh.
Differential Revision: https://phabricator.services.mozilla.com/D106500
2021-02-25 22:49:29 +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
Neil Deakin
86db2fec08 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-25 12:00:39 +00:00
Jared Wein
50acbfa8b6 Bug 1691488 - Remove the 'No thanks' button from the URI fixup infobar r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D105579
2021-02-24 15:20:09 +00:00
Jared Wein
fcc697ff62 Bug 1691488 - Change infobar button text to sentence case. r=fluent-reviewers,flod,Gijs
The "Preferences" -> "Settings" changes have been reverted so this can land now. Those string changes will be handled in bug 1694511.

Differential Revision: https://phabricator.services.mozilla.com/D105577
2021-02-24 15:20:08 +00:00
Emma Malysz
38dfb59850 Bug 1690131: create proton-specific fxa menu r=mconley,markh,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D104937
2021-02-23 15:37:12 +00:00
Mike Conley
d4da30ccf4 Bug 1690573 - Migrate the report-site-issue UI access point to the Help menu. r=denschub,mixedpuppy,fluent-reviewers,webcompat-reviewers,flod
We're not 100% certain if Help is the right spot for this, but we're going
to give it a shot and see. If it turns out it _is_ the right spot, we'll
probably do something a little more self-contained, and less hacky.

I'm leaving the old .properties file just in case we change our mind here.
Yes, we'll want to port to Fluent anyways, but our ultimate choice of where
we put this thing is probably going to dictate where the string lives.

Differential Revision: https://phabricator.services.mozilla.com/D104832
2021-02-23 00:11:05 +00:00
Micah Tigley
7ebb03087c Bug 1690575 - Clarify toolbar context menu items. r=Gijs,fluent-reviewers,jaws
Differential Revision: https://phabricator.services.mozilla.com/D104862
2021-02-22 21:41:29 +00:00
Kate Hudson
5ed61e3b12 Bug 1692230 - Move nimbus code to its own directory r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D105567
2021-02-20 02:51:12 +00:00
Julian Descottes
5e9590e26a Bug 1693626 - [devtools] Remote debugging visual cue for devtools should update dynamically r=nchevobbe
It should also not be displayed for the browser toolbox.

I messed up strings with the initial landing:
- wrong event name used in browser.js (no dynamic update)
- wrong flag passed from BT launcher (stripes show up when BT is used)

Sorry about that

Differential Revision: https://phabricator.services.mozilla.com/D105666
2021-02-19 06:34:59 +00:00
Sean Feng
93ae22d5b9 Bug 1692350 - Implement a telemetry probe to collect page load data for documents that use lazyload r=emilio,chutten
Differential Revision: https://phabricator.services.mozilla.com/D104912
2021-02-17 22:25:02 +00:00
Mihai Alexandru Michis
8d0efc214f Backed out changeset 6a0dcd8f4e3e (bug 1692350) for causing crashes in WindowContext.
CLOSED TREE
2021-02-17 21:02:59 +02:00
Sean Feng
7917a71b50 Bug 1692350 - Implement a telemetry probe to collect page load data for documents that use lazyload r=emilio,chutten
Differential Revision: https://phabricator.services.mozilla.com/D104912
2021-02-17 17:17:52 +00:00
Gijs Kruitbosch
9fd23bd547 Bug 1693282 - stop the proton main and tabs prefs toggling the same attribute, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D105461
2021-02-17 16:34:02 +00:00
Punam Dahiya
ad41a3d038 Bug 1688802 - Remove focus from the address bar in about:welcome r=dao,k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D103004
2021-02-17 06:25:09 +00:00
Julian Descottes
2b6f6c8116 Bug 1659129 - [devtools] Show a visual cue in the URL bar when DevTools has an opened socked r=ochameau,nchevobbe,freddyb
Differential Revision: https://phabricator.services.mozilla.com/D103776
2021-02-17 00:44:58 +00:00
Butkovits Atila
2b85c45f31 Backed out changeset 1a5c5bb711b4 (bug 1688802) for causing failures on browser_aboutwelcome_skipFocus.js. CLOSED TREE 2021-02-17 00:12:16 +02:00
Punam Dahiya
ae7e45b76f Bug 1688802 - Remove focus from the address bar in about:welcome r=dao,k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D103004
2021-02-16 21:07:41 +00:00
Butkovits Atila
79ddd88798 Backed out changeset 9e3376ccd1da (bug 1659129) for causing failure on test_devtools_socket_status.js. CLOSED TREE 2021-02-16 22:57:30 +02:00
Julian Descottes
daf94640ae Bug 1659129 - [devtools] Show a visual cue in the URL bar when DevTools has an opened socked r=ochameau,nchevobbe,freddyb
Differential Revision: https://phabricator.services.mozilla.com/D103776
2021-02-16 20:00:18 +00:00
Emma Malysz
9258625209 Bug 1690858: add safemode toggle to help menu r=mconley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D104747
2021-02-16 16:51:45 +00:00
james
16060f0cc4 Bug 1691274 - Use DOM hidden property methods instead of attribute methods in browser/ directory. r=ntim,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D104552
2021-02-13 23:33:51 +00:00
Narcis Beleuzu
ed6880e281 Backed out changeset b3fcb4fcea64 (bug 1691274) for bc failures on browser_pointerlock_warning.js . CLOSED TREE 2021-02-13 21:46:51 +02:00
james
8069ab6165 Bug 1691274 - Use DOM hidden property methods instead of attribute methods in browser/ directory. r=ntim,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D104552
2021-02-13 18:11:18 +00:00
Gijs Kruitbosch
d63ecb6114 Bug 1685313 - disable menus, commands and tabswitches while window-modal dialogs are up, r=jaws
This removes observation of the 'disabled' attribute from the macOS
full screen menu items, because removing the attribute doesn't work
correctly. This is a scenario that, as far as I can tell, didn't
happen elsewhere until now. On other OSes we use a single item which
gets disabled state directly from the command attribute (ie without
an 'observes' child) which appears to work fine.

It also exempts the editing commands from being disabled, but it
appears that at least on macOS, undo history is lost anyway. It's
not clear to me why this is the case, but I don't think it needs
to block an initial landing of this work.

Differential Revision: https://phabricator.services.mozilla.com/D103389
2021-02-12 22:41:54 +00:00
Gijs Kruitbosch
b0c70ac17d Bug 1685313 - allow window modal dialogs to display inside windows, r=jaws,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D103388
2021-02-12 22:41:53 +00:00
Andreea Pavel
c9c6e3158d Backed out 3 changesets (bug 1685313) for failing test_prompt.html on a CLOSED TREE
Backed out changeset 7bdcbdc2d57f (bug 1685313)
Backed out changeset 319bc4d7bc0d (bug 1685313)
Backed out changeset 713de42fe3b4 (bug 1685313)
2021-02-12 06:50:58 +02:00
Gijs Kruitbosch
7512d98047 Bug 1685313 - disable menus, commands and tabswitches while window-modal dialogs are up, r=jaws
This removes observation of the 'disabled' attribute from the macOS
full screen menu items, because removing the attribute doesn't work
correctly. This is a scenario that, as far as I can tell, didn't
happen elsewhere until now. On other OSes we use a single item which
gets disabled state directly from the command attribute (ie without
an 'observes' child) which appears to work fine.

It also exempts the editing commands from being disabled, but it
appears that at least on macOS, undo history is lost anyway. It's
not clear to me why this is the case, but I don't think it needs
to block an initial landing of this work.

Differential Revision: https://phabricator.services.mozilla.com/D103389
2021-02-11 23:57:57 +00:00
Gijs Kruitbosch
86da8f87a3 Bug 1685313 - allow window modal dialogs to display inside windows, r=jaws,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D103388
2021-02-11 23:57:57 +00:00
Tom Schuster
cb04d0eac4 Bug 52821 - Add a pref to disable the quit application shortcut. r=Gijs
browser.quitShortcut.disabled=true will disable the Ctrl + Q shortcut on all platforms.

Differential Revision: https://phabricator.services.mozilla.com/D104189
2021-02-10 17:02:57 +00:00
Marco Bonardo
cdeebb521d Bug 1678323 - Ctrl+L, Tab stopped working with browser.toolbars.keyboard_navigation=false. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D104212
2021-02-09 10:50:33 +00:00
Paul Zuehlcke
66fe5653ff Bug 1596897 - Moved permission list from site identity to separate permission panel. r=johannh
- Added a new permission panel managed by the gPermissionPanel object
- Updated identity-box to separate identity and permission section

Differential Revision: https://phabricator.services.mozilla.com/D99892
2021-02-05 13:40:35 +00:00
Mike Conley
e9351a2745 Bug 1689632 - Simplify the Help menu a bit. r=emalysz,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D103489
2021-02-01 15:31:30 +00:00
Chris Peterson
e25d5cd7d9 Bug 1685779 - Add Alt/Command + Left Arrow keyboard shortcut to Back button tooltip. r=Gijs,masayuki,fluent-reviewers,flod
We disabled Backspace as a keyboard shortcut to go back one page (bug 1041377). We can use the Back and Forward buttons' tooltips to advertise the other shortcuts users can use instead of Backspace (like we do on the Reload button's tooltip).

Differential Revision: https://phabricator.services.mozilla.com/D102053
2021-02-01 06:44:45 +00:00
Micah Tigley
d245fddb87 Bug 1686316 - Show the allowFocusCheckbox for dialogs opened from TabDialogBox. r=Gijs
This revision introduces helpers for determining whether or not dialogs opened with TabDialogBox show the checkbox for allowing focus (tab switching). The approach for showing the checkbox follows the pattern similar to how its handled for TabModalPromptBox:

First, when a prompt is opened, the "DOMWillOpenModalDialog" event is fired from `PromptParent.jsm` on the browser tab. The browser then determines if the tab the event is dispatched on is the current selected tab. If the dialog was opened from another tab, then we check if the content prompt principal permission "focus-tab-by-prompt" is allowed for the URI the dialog was opened for and store its prompt principal on the tab prompt's `_onNextPromptShowAllowFocusCheckboxFor` property.  This presence for this value is ultimately what determines whether or not the checkbox is shown. Everything after that, the prompt's UI component is responsible for handling the checkbox's state and setting a handler for setting the permission when it's checked.

Implementing this for TabDialogBox makes it so we also store the prompt principal on the dialog box. We then process this value and send some information (such as explicitly setting a `checkLabel` value) via the `args` object for common dialog to process. And finally, we set the "focus-tab-by-prompt" permission for that URI via a closing callback for the dialog.

Differential Revision: https://phabricator.services.mozilla.com/D102076
2021-01-31 03:05:00 +00:00
Csoregi Natalia
a7cb602561 Backed out changeset 73c1995ff098 (bug 1685779) for failures on browser_ext_menus_replace_menu.js. CLOSED TREE 2021-01-31 00:57:04 +02:00
Chris Peterson
119f424dc2 Bug 1685779 - Add Alt/Command + Left Arrow keyboard shortcut to Back button tooltip. r=Gijs,masayuki,fluent-reviewers,flod
We disabled Backspace as a keyboard shortcut to go back one page (bug 1041377). We can use the Back and Forward buttons' tooltips to advertise the other shortcuts users can use instead of Backspace (like we do on the Reload button's tooltip).

Differential Revision: https://phabricator.services.mozilla.com/D102053
2021-01-29 14:50:44 +00:00
Emma Malysz
205673ebee Bug 1689405: remove components of library panel r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D103532
2021-01-30 17:12:51 +00:00
Narcis Beleuzu
868935867c Backed out 2 changesets (bug 1596897) for bc failures on browser_search_discovery.js
Backed out changeset 635972f169e7 (bug 1596897)
Backed out changeset a84b667007e2 (bug 1596897)
2021-01-30 04:01:21 +02:00
Paul Zuehlcke
6445d181dc Bug 1596897 - Moved permission list from site identity to separate permission panel. r=johannh
- Added a new permission panel managed by the gPermissionPanel object
- Updated identity-box to separate identity and permission section

Differential Revision: https://phabricator.services.mozilla.com/D99892
2021-01-29 16:06:08 +00:00
Kris Maglione
e6237071e6 Bug 1685801: Part 6 - Move some front-end code from BrowserUtils to a separate module. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D101486
2021-01-28 20:58:43 +00:00
Kris Maglione
f440a0cc36 Bug 1685801: Part 2 - Move site origin telemetry to separate module. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D101482
2021-01-28 20:58:26 +00:00
Mihai Alexandru Michis
040e2ea5d0 Backed out 12 changesets (bug 1685801) for causing bc failures in browser_ctrlTab.js
CLOSED TREE

Backed out changeset 021924b62f13 (bug 1685801)
Backed out changeset 38cc10101c1f (bug 1685801)
Backed out changeset 9ab9574ac72a (bug 1685801)
Backed out changeset 1a7f259cc2ec (bug 1685801)
Backed out changeset b267b19a7f6e (bug 1685801)
Backed out changeset 7dfcf0257487 (bug 1685801)
Backed out changeset ee0d0169b079 (bug 1685801)
Backed out changeset 0c358ee51951 (bug 1685801)
Backed out changeset 338ab91af557 (bug 1685801)
Backed out changeset a49415007aaf (bug 1685801)
Backed out changeset b91098299143 (bug 1685801)
Backed out changeset edf6209861a8 (bug 1685801)
2021-01-28 22:55:11 +02:00
Brindusan Cristian
e117dc4695 Backed out 2 changesets (bug 1596897) for mochitest failures at browser_setIgnoreCertificateErrors.js. CLOSED TREE
Backed out changeset 00c45a405129 (bug 1596897)
Backed out changeset 61304ccbaada (bug 1596897)
2021-01-28 21:53:46 +02:00
Kris Maglione
69c936d646 Bug 1685801: Part 6 - Move some front-end code from BrowserUtils to a separate module. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D101486
2021-01-28 05:25:03 +00:00
Kris Maglione
59963809cd Bug 1685801: Part 2 - Move site origin telemetry to separate module. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D101482
2021-01-28 18:48:25 +00:00
Mihai Alexandru Michis
3d03115e06 Backed out changeset 4c98dbd2dbac (bug 1686316) for causing bc failures in browser_openPromptInBackgroundTab.js
CLOSED TREE
2021-01-28 20:28:29 +02:00
Paul Zuehlcke
868eb8a1f8 Bug 1596897 - Moved permission list from site identity to separate permission panel. r=johannh
- Added a new permission panel managed by the gPermissionPanel object
- Updated identity-box to separate identity and permission section

Differential Revision: https://phabricator.services.mozilla.com/D99892
2021-01-28 18:00:44 +00:00
Micah Tigley
2b8127587b Bug 1686316 - Show the allowFocusCheckbox for dialogs opened from TabDialogBox. r=Gijs
This revision introduces helpers for determining whether or not dialogs opened with TabDialogBox show the checkbox for allowing focus (tab switching). The approach for showing the checkbox follows the pattern similar to how its handled for TabModalPromptBox:

First, when a prompt is opened, the "DOMWillOpenModalDialog" event is fired from `PromptParent.jsm` on the browser tab. The browser then determines if the tab the event is dispatched on is the current selected tab. If the dialog was opened from another tab, then we check if the content prompt principal permission "focus-tab-by-prompt" is allowed for the URI the dialog was opened for and store its prompt principal on the tab prompt's `_onNextPromptShowAllowFocusCheckboxFor` property.  This presence for this value is ultimately what determines whether or not the checkbox is shown. Everything after that, the prompt's UI component is responsible for handling the checkbox's state and setting a handler for setting the permission when it's checked.

Implementing this for TabDialogBox makes it so we also store the prompt principal on the dialog box. We then process this value and send some information (such as explicitly setting a `checkLabel` value) via the `args` object for common dialog to process. And finally, we set the "focus-tab-by-prompt" permission for that URI via a closing callback for the dialog.

Differential Revision: https://phabricator.services.mozilla.com/D102076
2021-01-28 17:41:00 +00:00
Butkovits Atila
7decdccbdc Backed out 12 changesets (bug 1685801) for causing failures on browser_fission_maxOrigins.js. CLOSED TREE
Backed out changeset 0d7153110519 (bug 1685801)
Backed out changeset 5175062925c7 (bug 1685801)
Backed out changeset 2c1250e786f0 (bug 1685801)
Backed out changeset 0ce3c773ba74 (bug 1685801)
Backed out changeset 9d51c6e24dee (bug 1685801)
Backed out changeset 3f4dc6349441 (bug 1685801)
Backed out changeset a80de9abb9f8 (bug 1685801)
Backed out changeset 30786893a5e7 (bug 1685801)
Backed out changeset 8007b12d6e32 (bug 1685801)
Backed out changeset fa814f4b7125 (bug 1685801)
Backed out changeset 14e4e47ee99f (bug 1685801)
Backed out changeset d9f1feba9454 (bug 1685801)
2021-01-28 07:15:59 +02:00
Kris Maglione
5b2b2517a2 Bug 1685801: Part 6 - Move some front-end code from BrowserUtils to a separate module. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D101486
2021-01-28 03:32:43 +00:00
Kris Maglione
36a64d4784 Bug 1685801: Part 2 - Move site origin telemetry to separate module. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D101482
2021-01-28 03:32:30 +00:00
Emma Malysz
0ee3d1c888 Bug 1688700, add items to proton app menu r=fluent-reviewers,mconley,flod
Differential Revision: https://phabricator.services.mozilla.com/D103090
2021-01-28 00:29:29 +00:00
Butkovits Atila
df8358b5bb Backed out changeset 9226bc3ca03c (bug 1688700) for causing failures on browser_preferences_usage.js. 2021-01-28 01:09:22 +02:00
Emma Malysz
365360e929 Bug 1688700, add items to proton app menu r=fluent-reviewers,mconley,flod
Differential Revision: https://phabricator.services.mozilla.com/D103090
2021-01-27 21:18:20 +00:00
Butkovits Atila
0bd4fa26f2 Backed out changeset cc398c4ac5c8 (bug 1688700) for causing mochitest failures. CLOSED TREE 2021-01-27 22:59:12 +02:00
Emma Malysz
6d589aa680 Bug 1688700, add items to proton app menu r=fluent-reviewers,mconley,flod
Differential Revision: https://phabricator.services.mozilla.com/D103090
2021-01-27 19:58:22 +00:00
Gijs Kruitbosch
45ca6b7c5f Bug 1681138 - avoid delaying loading the bookmarks toolbar in new windows post-startup, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D101689
2021-01-22 12:42:25 +00:00
Mark Banner
9a1e222770 Bug 1664847 - Change BrowserSearchTelemetry.recordSearch to take a browser rather than tabbrowser as that is more accurate. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D102440
2021-01-21 23:08:09 +00:00
Mark Banner
9ef7551b55 Bug 1513680 - Remove remaining references to ContentSearch.jsm. r=daleharvey
Depends on D102226

Differential Revision: https://phabricator.services.mozilla.com/D102227
2021-01-22 08:31:03 +00:00
Bogdan Tara
cd76ee9261 Backed out 2 changesets (bug 1680216, bug 1681138) for browser_984455_bookmarks_items_reparenting.js failures
Backed out changeset 09beb66ab605 (bug 1680216)
Backed out changeset 5e8e8cc89f61 (bug 1681138)
2021-01-22 04:55:12 +02:00
Gijs Kruitbosch
088b5c2ed6 Bug 1681138 - avoid delaying loading the bookmarks toolbar in new windows post-startup, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D101689
2021-01-22 01:13:39 +00:00
Jared Wein
eba891ef0a Bug 1681421 - Implement separated Proton tab design behind browser.proton.enabled pref. r=dao,Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D99823
2021-01-21 15:32:46 +00:00
Csoregi Natalia
6df60ec3bc Backed out 2 changesets (bug 1681421) for failures on browser_devtools-record-capture.js. CLOSED TREE
Backed out changeset b4556b1e292c (bug 1681421)
Backed out changeset b649f963a6b1 (bug 1681421)
2021-01-20 22:36:09 +02:00
Jared Wein
0eb16a5a43 Bug 1681421 - Implement separated Proton tab design behind browser.proton.enabled pref. r=dao,Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D99823
2021-01-20 17:11:36 +00:00
Anny Gakhokidze
3ae9a2f63d Bug 1630908 - Part 1: Pass OriginAttributes to be included with remote type, r=nika,marionette-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D101073
2021-01-19 22:23:29 +00:00
Dave Townsend
2459f40c64 Bug 1682593: Remove the site specific browser feature. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D101860
2021-01-15 11:11:19 +00:00
Micah Tigley
4210332570 Bug 1680637 - Rename TabDialogBox's manager to tabDialogManager r=marionette-reviewers,Gijs
To clarify the two separate SubDialog managers managed by TabDialogManager, this patch renames `_.dialogManager` to `._tabDialogManager`.

Depends on D100066

Differential Revision: https://phabricator.services.mozilla.com/D100955
2021-01-14 06:55:55 +00:00
Micah Tigley
dcd626eb78 Bug 1680637 - Add a dialog manager for content prompts in TabDialogBox r=jaws,Gijs
The TabDialogBox will manage two separate SubDialog managers at the tab and content level. Dialogs managed at the tab level will always be on top of content ones and should always receive focus first when tab switching or refocusing the window.

Differential Revision: https://phabricator.services.mozilla.com/D100066
2021-01-14 06:55:55 +00:00
Butkovits Atila
7742c03714 Backed out 4 changesets (bug 1680637, bug 1682395) for causing Marionette failures. CLOSED TREE
Backed out changeset 073e0be7db95 (bug 1680637)
Backed out changeset 552b91b31b0f (bug 1682395)
Backed out changeset c80de6c72779 (bug 1680637)
Backed out changeset d513e228b0ad (bug 1680637)
2021-01-13 02:13:06 +02:00
Micah Tigley
c0ec6961ed Bug 1680637 - Rename TabDialogBox's manager to tabDialogManager r=marionette-reviewers,Gijs
To clarify the two separate SubDialog managers managed by TabDialogManager, this patch renames `_.dialogManager` to `._tabDialogManager`.

Depends on D100066

Differential Revision: https://phabricator.services.mozilla.com/D100955
2021-01-11 20:55:19 +00:00
Micah Tigley
ebb0c0923f Bug 1680637 - Add a dialog manager for content prompts in TabDialogBox r=jaws,Gijs
The TabDialogBox will manage two separate SubDialog managers at the tab and content level. Dialogs managed at the tab level will always be on top of content ones and should always receive focus first when tab switching or refocusing the window.

Differential Revision: https://phabricator.services.mozilla.com/D100066
2021-01-11 20:55:09 +00:00
Bogdan Tara
6101a13054 Backed out 3 changesets (bug 1680637, bug 1682395) for browser/base/content/* failures CLOSED TREE
Backed out changeset 270e2e3183de (bug 1682395)
Backed out changeset e3566f596187 (bug 1680637)
Backed out changeset 66563136c84e (bug 1680637)
2021-01-11 21:36:20 +02:00
Micah Tigley
a3faaf4c5d Bug 1680637 - Rename TabDialogBox's manager to tabDialogManager r=marionette-reviewers,Gijs
To clarify the two separate SubDialog managers managed by TabDialogManager, this patch renames `_.dialogManager` to `._tabDialogManager`.

Depends on D100066

Differential Revision: https://phabricator.services.mozilla.com/D100955
2021-01-11 05:13:00 +00:00
Micah Tigley
5d13763b51 Bug 1680637 - Add a dialog manager for content prompts in TabDialogBox r=jaws,Gijs
The TabDialogBox will manage two separate SubDialog managers at the tab and content level. Dialogs managed at the tab level will always be on top of content ones and should always receive focus first when tab switching or refocusing the window.

Differential Revision: https://phabricator.services.mozilla.com/D100066
2021-01-11 17:52:53 +00:00
Emma Malysz
c04c6333bc Bug 1685184, print selected frame when selecting Print Frame from context menu r=marionette-reviewers,mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D100842
2021-01-07 19:34:56 +00:00
Mark Banner
3f5df73069 Bug 1681382 - Drop BrowserSearch.record*SearchInTelemetry and call BrowserSearchTelemetry direct. r=daleharvey
Depends on D99206

Differential Revision: https://phabricator.services.mozilla.com/D99207
2020-12-10 23:40:58 +00:00
Mark Banner
5cf95b6b27 Bug 1680735 - Move search specific telemetry out of BrowserUsageTelemetry.jsm into a new module. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D98753
2020-12-08 20:42:03 +00:00
Michael Kaply
6197f4c30c Bug 1680095 - Block Save Link As if site is blocked by policy. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D98527
2020-12-07 16:37:12 +00:00
Tim Huang
9fadef5261 Bug 1679325 - Part 1: Making contentAreaUtils.saveURL to accept cookieJarSettings. r=smaug
This patch makes the contentAreaUtils.saveURL to be aware of the
cookieJarSettings, and updates all callers.

This also updates the documentation of the persistArgs
'cookieJarSettings' for internalPersist().

Differential Revision: https://phabricator.services.mozilla.com/D98455
2020-12-03 20:10:36 +00:00
Micah Tigley
dade423e1a Bug 1678659 - Remove 'Show Other Bookmarks' context menu item from the primary toolbar. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D97840
2020-12-01 21:27:50 +00:00
Gijs Kruitbosch
5e6f13744e Bug 1680069 - proton root attribute and pref work, r=jaws,mconley
Differential Revision: https://phabricator.services.mozilla.com/D98375
2020-12-01 20:11:54 +00:00
Emilio Cobos Álvarez
a302d5875a Bug 1679160 - Simplify a bit PageStyleChild. r=mconley
We don't use the href, so don't send it to the parent.

Remove getBrowserStyleSheets (also unused).

Differential Revision: https://phabricator.services.mozilla.com/D97921
2020-11-30 21:37:15 +00:00
Gijs Kruitbosch
e811fa3d34 Bug 1667237 - bookmarks toolbar flickers on startup / new windows in some cases, r=florian,jaws
Differential Revision: https://phabricator.services.mozilla.com/D97712
2020-11-20 13:22:38 +00:00
Micah Tigley
69903c7039 Bug 1674539 - Add option to hide Other Bookmarks button from bookmarks toolbar. r=jaws,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D97211
2020-11-19 21:49:26 +00:00
Narcis Beleuzu
7d6ce0d218 Backed out 2 changesets (bug 1674539) for bc failures on browser_toolbar_other_bookmarks.js . CLOSED TREE
Backed out changeset 63032f8390ea (bug 1674539)
Backed out changeset 36ab7b9324d9 (bug 1674539)
2020-11-19 23:46:02 +02:00
Micah Tigley
6a8271fa76 Bug 1674539 - Add option to hide Other Bookmarks button from bookmarks toolbar. r=jaws,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D97211
2020-11-19 20:40:04 +00:00
Jared Wein
e95fc55e72 Bug 1665391 - Add telemetry to measure effectiveness of 2h2020 bookmarks changes. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D97251
2020-11-19 16:01:25 +00:00
Nika Layzell
6b824cc31d Bug 1671983 - Part 2: Remove SessionStore.navigateAndRestore, r=annyG,kashav
This formed the backbone of the previous process switching codepath, and
shouldn't be necessary anymore thanks to DocumentChannel's new codepath.

This also removes the eager process switching logic from frontend's _loadURI, as
it would rarely be taken, unless an invalid URI was entered, already.

Differential Revision: https://phabricator.services.mozilla.com/D94639
2020-11-12 18:00:55 +00:00
Nika Layzell
9ff27adca3 Bug 1671983 - Part 1: Remove now-unused process switching shouldLoadURI methods, r=annyG,geckoview-reviewers,snorp
These methods are no longer necessary, as all loads which can trigger process
switches now go through DocumentChannel.

The shouldLoadURI methods on nsIWebBrowserChrome3 are unfortunately still
necessary as they're used by the disabled-by-default "Single-Site Browser"
feature. In the future this may be possible to clean-up.

Differential Revision: https://phabricator.services.mozilla.com/D94638
2020-11-12 18:00:53 +00:00
Jared Wein
746d24163a Bug 1674091 - Show and hide the empty bookmarks message if there are visible children in the toolbar. r=Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D96763
2020-11-14 01:07:35 +00:00
Cosmin Sabou
2bd1948f4f Backed out 3 changesets (bug 1674091) for bookmarks.jsm bc related failures.
Backed out changeset b37a366b6bca (bug 1674091)
Backed out changeset 4d49ba20a908 (bug 1674091)
Backed out changeset c2ed373e6fc3 (bug 1674091)
2020-11-13 02:37:56 +02:00
Jared Wein
3c8613ae90 Bug 1674091 - Show and hide the empty bookmarks message if there are visible children in the toolbar. r=Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D96763
2020-11-12 21:23:52 +00:00