Commit graph

737 commits

Author SHA1 Message Date
Gijs Kruitbosch
a9281aec97 Bug 1711519 - remove trivial gProton and gProtonDoorhangers checks, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D116630
2021-06-03 11:41:54 +00:00
Neil Deakin
0b4418c6a7 Bug 1696214, use moveToAnchor to position the tab and places tooltips so that the close and mute button tooltips appear correctly, r=jaws
This involves changing moveToAnchor to be allowed while the popup is showing. This change allows the buttons within the tab to use the normal algorithm for determining the tooltip position. This also fixes bug 1695900 so that tooltips for items in bookmarks menus also appear offset as well. Only the main tab and bookmarks on the toolbar appear aligned with the button's bottom edge.

Differential Revision: https://phabricator.services.mozilla.com/D115558
2021-05-31 13:07:35 +00:00
Harry Twyford
cd77dfe67a Bug 1706479 - Part 2 - Stop overriding tooltiptext on bookmark icon. r=adw
This resolves a failure in browser/base/content/test/pageActions-proton/browser_PageActions_bookmark.js. That test checks the tooltiptext on the bookmark button hbox. Before part 1 of this patch, the hbox always had one of the generic tooltiptexts "Bookmark Current Tab"/"Edit This Bookmark". This tooltiptext was set in updateBookmarkPageMenuItem. Then, in __updateStar, we set the tooltiptext on the <image> contained in the hbox to be "Bookmark this page ([shortcut])"/"Edit this bookmark ([shortcut])". Since the <image> filled the entire hbox, the tooltiptext on the hbox underneath was never seen. Since Part 1 of this patch moved the semantic meaning of the page action buttons from the <image> to the hbox, the tooltiptext containing the shortcut was also moved to the hbox. However, updateBookmarkPageMenuItem was overriding the shortcut tooltiptext with the generic text and thus browser_PageActions_bookmark.js was failing intermittently. The timing of when the tooltiptext was overridden was variable.

This patch stops setting the generic tooltiptext on the hbox altogether. I'm splitting this out into its own patch since I think it needs its own review. With Part 1 applied, when actually using the browser, the hbox had the tooltiptext with the shortcut. I'm not totally clear on why that was working despite updateBookmarkPageMenuItem overriding it, so I'd like to make sure this change is okay.

Depends on D114131

Differential Revision: https://phabricator.services.mozilla.com/D115485
2021-05-19 20:37:19 +00:00
Harry Twyford
a06f041cc3 Bug 1706479 - Wrap page action icons in an hbox. r=morgan,adw
To resolve this bug, we need page action icons and semantic page action nodes to be separate. That way, we can apply filters to the icons without also filtering the nodes' outlines. This means the semantic meaning of the page action button must move up a level, to the enclosing hbox. This means reverting bug 1482025, so I'd like a11y review on this patch.

Differential Revision: https://phabricator.services.mozilla.com/D114131
2021-05-19 20:37:19 +00:00
Csoregi Natalia
d7ca7f4485 Backed out changeset e90263d64998 (bug 1706479) for failures on browser_parsable_css.js. CLOSED TREE 2021-05-18 18:21:47 +03:00
Harry Twyford
8cb8e99863 Bug 1706479 - Wrap page action icons in an hbox. r=morgan,adw
To resolve this bug, we need page action icons and semantic page action nodes to be separate. That way, we can apply filters to the icons without also filtering the nodes' outlines. This means the semantic meaning of the page action button must move up a level, to the enclosing hbox. This means reverting bug 1482025, so I'd like a11y review on this patch.

Differential Revision: https://phabricator.services.mozilla.com/D114131
2021-05-18 13:33:06 +00:00
Mark Banner
17997fac31 Bug 1695011 - Wait for star ui initialisation to complete before continuing with tests to avoid intermittents. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D114734
2021-05-11 15:16:48 +00:00
Daisuke Akatsuka
689f832ca8 Bug 1511062: Apply bookmark-moved event. r=mak
Depends on D102573

Differential Revision: https://phabricator.services.mozilla.com/D102574
2021-05-06 04:24:35 +00:00
Daisuke Akatsuka
2fbaab105d Bug 1511062: Remove old/new parent id from onItemMoved in nsINavBookmarkObserver. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D102572
2021-05-06 04:24:34 +00:00
Csoregi Natalia
ead13148c2 Backed out 4 changesets (bug 1511062) for causing bustage on nsNavHistoryResult.cpp. CLOSED TREE
Backed out changeset ed9ac8c3097b (bug 1511062)
Backed out changeset dc8c9488cf1a (bug 1511062)
Backed out changeset 2cf6fca33bf3 (bug 1511062)
Backed out changeset 87b0bbbcb0e6 (bug 1511062)
2021-05-06 05:53:12 +03:00
Daisuke Akatsuka
459dae23fa Bug 1511062: Apply bookmark-moved event. r=mak
Depends on D102573

Differential Revision: https://phabricator.services.mozilla.com/D102574
2021-05-06 02:29:44 +00:00
Daisuke Akatsuka
b45071c413 Bug 1511062: Remove old/new parent id from onItemMoved in nsINavBookmarkObserver. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D102572
2021-05-06 02:29:43 +00:00
Csoregi Natalia
a76b78d543 Backed out changeset e01ec8694924 (bug 1700957) as requested. CLOSED TREE 2021-04-28 18:09:01 +03:00
Emma Malysz
ce84c86379 Bug 1700957, graduate browser.proton.doorhangers.enabled pref to main proton pref r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D110135
2021-04-28 03:17:56 +00:00
Butkovits Atila
9597a30fbb Backed out changeset 1c362512f27b (bug 1700957) for causing failures at test_chrome_only_media_queries.html. CLOSED TREE 2021-04-28 05:55:14 +03:00
Emma Malysz
a344c0fa4c Bug 1700957, graduate browser.proton.doorhangers.enabled pref to main proton pref r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D110135
2021-04-28 00:29:45 +00:00
Sam Foster
a80c336fa1 Bug 1704865 - Update the boomark icons and remove the bookmarked transition filmstrip animations. r=desktop-theme-reviewers,dao,harry
Differential Revision: https://phabricator.services.mozilla.com/D112404
2021-04-20 22:05:43 +00:00
Markus Stange
818878069f Bug 1704948 - Update browser.bookmarks.openInTabClosesMenu handling to keep the menu open for middle clicks. r=Gijs
In the past, menus stayed open when an item was middle-clicked. Now that menus
fire command on middle-click, they automatically close when middle-clicked.
So this code now needs to handle middle clicks on menus like left clicks on
menus, and manually keep the menu open (rather than rely on them staying open
by default).
This functionality is covered by browser_stayopenmenu.js.

Differential Revision: https://phabricator.services.mozilla.com/D112683
2021-04-20 17:44:17 +00:00
Dão Gottwald
725e4d8466 Bug 1701306 - Remove custom code setting the "open" attribute on panel anchors. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D110817
2021-04-14 13:57:34 +00:00
Andrew McCreight
6ad26cb8a3 Bug 1703083 - Don't run maybeShowOtherBookmarksFolder if doc has gone away. r=kmag
This can also touch the doc, so we don't want to run it if the
doc has been unlinked.

Differential Revision: https://phabricator.services.mozilla.com/D111332
2021-04-08 23:21:43 +00:00
smolnar
6524a17cb9 Backed out changeset 034a69e0a73e (bug 1701306) for causing browser-chrome failures in browser_page_action_menu. CLOSED TREE 2021-04-08 17:16:21 +03:00
Dão Gottwald
ce1716242b Bug 1701306 - Remove custom code setting the "open" attribute on panel anchors. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D110817
2021-04-08 12:53:08 +00:00
Andrew McCreight
3107158e4b Bug 1703083 - Use the lazy pref getter workaround for SHOW_OTHER_BOOKMARKS. r=Gijs
This lazy pref getter callback fires a number of times while running
browser_toolbar_other_bookmarks.js, which is experiencing a number
of intermittent failures due to the XPCWJS weak reference CC issue
(bug 1652531) so hopefully this will fix that.

Differential Revision: https://phabricator.services.mozilla.com/D110856
2021-04-07 22:34:14 +00:00
Francesco Lodolo (:flod)
830a1bba6e Bug 1703003 - Migrate Bookmark panel Cancel/Remove buttons to Fluent and fix capitalization, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D110894
2021-04-06 17:15:31 +00:00
Alexandru Michis
8c30456526 Backed out changeset 8d8aa8575c1d (bug 1701306) for causing multiple bc failures.
CLOSED TREE
2021-04-06 19:45:27 +03:00
Dão Gottwald
53e4be34d5 Bug 1701306 - Remove custom code setting the "open" attribute on panel anchors. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D110817
2021-04-06 13:22:50 +00:00
Mike Conley
4cc7c10f24 Bug 1697491 - Update remaining copy for Bookmarks Panel. r=flod,fluent-reviewers
Depends on D109191

Differential Revision: https://phabricator.services.mozilla.com/D109376
2021-03-30 17:51:57 +00:00
Dorel Luca
e5438a0497 Backed out 2 changesets (bug 1697507, bug 1697491) for Browser-chrome in browser/components/places/tests/browser/browser_bookmark_remove_tags.js. CLOSED TREE
Backed out changeset 83a561e6c1d0 (bug 1697507)
Backed out changeset 319022b89093 (bug 1697491)
2021-03-30 20:17:13 +03:00
Mike Conley
968a779473 Bug 1697491 - Update remaining copy for Bookmarks Panel. r=flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D109376
2021-03-30 16:40:31 +00:00
Micah Tigley
4f62b29aa6 Bug 1693139 - Open bookmarks dialogs with in-window modal, plus some styling to input fields. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D108870
2021-03-30 00:56:35 +00:00
Mike Conley
15246d9023 Bug 1697533 - Update the organization of the Bookmarks toolbar menu popup, and change style for Proton. r=mak,harry,desktop-theme-reviewers
Given the time constraints, and how fiddly this menupopup is (it's a menupopup
masquerading as a panel), I opted to not try to fix bug 985024. Instead, I've
applied the Proton styles as best I can given what I know about the styles
applied for the other menus.

Differential Revision: https://phabricator.services.mozilla.com/D109151
2021-03-23 19:35:32 +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
Jared Wein
7ba3580f2e Bug 1692669 - Replace icon group navigation on macOS page context menu with 'normal' menuitems. r=flod,mconley
Differential Revision: https://phabricator.services.mozilla.com/D108475
2021-03-22 14:43:32 +00:00
Greg Tatum
eec448bd47 Bug 1695671 - Update strings in the global menubar r=Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D107533
2021-03-09 20:17:32 +00:00
Tim Nguyen
41fc8d5a7f Bug 1695351 - Wrap rich tab tooltip titles instead of cropping them. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D107281
2021-03-04 23:16:53 +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
Erica Wright
7563ded7df Bug 1692668 - Update bookmarks context menu for clarity. r=Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D106046
2021-03-02 15:34:56 +00:00
Jared Wein
51c498a4b9 Bug 1695711 - Only add the position and anchortoclosest attributes to the tabs and bookmarks toolbar tooltips if Proton is enabled. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D106818
2021-03-01 20:49:02 +00:00
Butkovits Atila
f8cb3c7d6a Backed out changeset b3df95f06470 (bug 1692668) for causing failure at browser_bookmark_change_location.js. CLOSED TREE 2021-02-26 23:07:49 +02:00
Erica Wright
978fc6c4ca Bug 1692668 - Update bookmarks context menu for clarity. r=Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D106046
2021-02-26 18:38:07 +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
Daisuke Akatsuka
7e58e85147 Bug 897954: Remove onBeginUpdateBatch and onEndUpdateBatch functions. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D105441
2021-02-25 01:58:24 +00:00
smolnar
8a82d9ec16 Backed out 3 changesets (bug 897954) for causing node test failures in PlacesFeed. CLOSED TREE
Backed out changeset 0a60eb3f7ba8 (bug 897954)
Backed out changeset 9443814d173b (bug 897954)
Backed out changeset 2e558ac8e419 (bug 897954)
2021-02-25 03:21:58 +02:00
Daisuke Akatsuka
9f8f7cf96f Bug 897954: Remove onBeginUpdateBatch and onEndUpdateBatch functions. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D105441
2021-02-25 00:12:40 +00:00
Mike Conley
3da2d710da Bug 1688960 - Use h1 and h2 elements for panel headers and subheaders. r=Standard8,yzen,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D105081
2021-02-24 02:52:30 +00:00
Dorel Luca
df1d85fc90 Backed out 2 changesets (bug 1688960, bug 1693177) for Browser-chrome failures in browser/base/content/test/sync/browser_sync.js. CLOSED TREE
Backed out changeset 13e08408add0 (bug 1693177)
Backed out changeset a34474998cd6 (bug 1688960)
2021-02-24 03:36:21 +02:00
Mike Conley
7404b84286 Bug 1688960 - Use h1 and h2 elements for panel headers and subheaders. r=Standard8,yzen,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D105081
2021-02-23 23:16:12 +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
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