Commit graph

1884 commits

Author SHA1 Message Date
Danny Coates
7dab664a8c Bug 1543121 - Add buttons for toggling FxA message (in bookmark panel) r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D28165

--HG--
extra : moz-landing-system : lando
2019-04-25 14:47:24 +00:00
Brian Grinstead
08992fb8e8 Bug 1546501 - Remove unnecessary type attributes (i.e. [type="application/javascript"]) on non-test script tags r=mossop
This is an autogenerated commit, generated with https://bug1546501.bmoattachments.org/attachment.cgi?id=9060222

Differential Revision: https://phabricator.services.mozilla.com/D28559

--HG--
extra : moz-landing-system : lando
2019-04-24 19:43:57 +00:00
Christian Frey
0d498a90b2 Bug 1544501 - Convert the ToolbarContextMenu to use strings from Fluent r=jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D28281

--HG--
extra : moz-landing-system : lando
2019-04-24 10:49:15 +00:00
Marco Bonardo
f007744700 Bug 1541647 - Avoid rebinding the urlbar on startup if Quantum Bar is enabled. r=Standard8
Applying the attribute early enough allows us to avoid rebinding the urlbar,
plus a few checks to ensure "popup" windows, without a visible toolbar, work
properly.

Differential Revision: https://phabricator.services.mozilla.com/D27253

--HG--
extra : moz-landing-system : lando
2019-04-12 14:14:51 +00:00
Tim Nguyen
efdcf0a31e Bug 1540387 - Replace browser-compacttheme.js with theme experiments. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D25536

--HG--
extra : moz-landing-system : lando
2019-04-11 00:16:05 +00:00
Coroiu Cristina
4a56b6ca02 Backed out 4 changesets (bug 1540387) for xpcshell failures at toolkit/mozapps/extensions/test/xpcshell/test_shutdown.js on a CLOSED TREE
Backed out changeset 0f940b496e58 (bug 1540387)
Backed out changeset f8e11c0bb2a4 (bug 1540387)
Backed out changeset e3ca91d64e82 (bug 1540387)
Backed out changeset ee2913c76f4a (bug 1540387)
2019-04-11 02:57:19 +03:00
Tim Nguyen
5429683dc7 Bug 1540387 - Replace browser-compacttheme.js with theme experiments. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D25536

--HG--
extra : moz-landing-system : lando
2019-04-03 08:28:18 +00:00
Nicholas Cowles
a759e8ba70 Bug 1523747 - Move customize mode strings over to fluent, r=Gijs,jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D26418

--HG--
extra : moz-landing-system : lando
2019-04-10 15:46:31 +00:00
Yuan Cheng
2c84c3d3c6 Bug 1523761 - Move the syncedTabs strings from browser.dtd to fluent, r=Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D22980

--HG--
extra : moz-landing-system : lando
2019-03-28 00:07:48 +00:00
Brian
d8eb046cd9 Bug 1523763 - Move tab context menu strings to FTL file loaded on-demand. r=Gijs,flod
Moved tab context menu out of browser.dtd to browser.xul except for sendPageToDevice, sendLinkToDevice, moveTabOptions, moveSelectedTabOptions, undoCloseTab. Not sure if tabbrowser.js and tabbrowser.xul are working as intended.

Differential Revision: https://phabricator.services.mozilla.com/D19312

--HG--
extra : moz-landing-system : lando
2019-03-29 14:55:12 +00:00
Gijs Kruitbosch
ec1e8dbd88 Bug 1538366 - don't show accounts button in popups and ensure it gets an arrow in the overflow panel, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D24575

--HG--
extra : moz-landing-system : lando
2019-03-22 22:35:50 +00:00
Doug Thayer
b172543596 Bug 1441308 - Core renderroot splitting changes r=kats,sotaro
This is a large patch that contains all of the core changes for
renderroot splitting.

Differential Revision: https://phabricator.services.mozilla.com/D20701

--HG--
extra : moz-landing-system : lando
2019-03-22 18:28:42 +00:00
Ciure Andrei
3de853018a Backed out 7 changesets (bug 1441308)for causing webrender build bustages CLOSED TREE
Backed out changeset 1764701d11d1 (bug 1441308)
Backed out changeset 32f7793dfd1a (bug 1441308)
Backed out changeset d8b4d6ec9b40 (bug 1441308)
Backed out changeset e2f83e4816dd (bug 1441308)
Backed out changeset baee8ada680f (bug 1441308)
Backed out changeset c09a51622e98 (bug 1441308)
Backed out changeset 737807563dd5 (bug 1441308)
2019-03-22 10:52:44 +02:00
Doug Thayer
5b3a0454a4 Bug 1441308 - Core renderroot splitting changes r=kats,sotaro
This is a large patch that contains all of the core changes for
renderroot splitting.

Differential Revision: https://phabricator.services.mozilla.com/D20701

--HG--
extra : moz-landing-system : lando
2019-03-22 03:15:14 +00:00
Gijs Kruitbosch
98463769e5 Bug 1536514 - actually close quote of 'PanelUI-fxa' for fxa menu keypress handler, r=vbudhram
Differential Revision: https://phabricator.services.mozilla.com/D24067

--HG--
extra : moz-landing-system : lando
2019-03-19 18:06:35 +00:00
Vijay Budhram
de28a9888d Bug 1524665 - Add FxA avatar toolbar menu, r=gijs,eoger
Differential Revision: https://phabricator.services.mozilla.com//D20433

--HG--
extra : rebase_source : b5d3d213eb130d46b6786a8445a85944bfef32e2
2019-02-23 17:56:19 +00:00
Ricky Rosario
13c49573c1 Bug 1533588 - Bookmark confirmation hint panel is missing "Saved to Library!" text after landing patch from bug #1528955 r=dao
MozReview-Commit-ID: Ks6TAsIpHFz

Differential Revision: https://phabricator.services.mozilla.com/D22991

--HG--
extra : moz-landing-system : lando
2019-03-13 08:16:27 +00:00
Brendan Dahl
7ebaf1cd2b Bug 1527977 - Share XUL prototype cache with XUL and XHTML. r=smaug
Create a new parser (PrototypeDocumentParser) and content sink
(PrototypeDocumentContentSink) that can be used by both XUL and XHTML.

The new parser moves the code from XULDocument that handles creating and
loading a nsXULPrototypeDocument from either the cache or the source
file. Once the parser has finished loading the prototype it notifies the
content sink. The parser is largely a stub and would be better suited
for use as a nsBaseParser, but nsHTMLDocument unfortunately needs an
nsIParser.

The new content sink has the XULDocument code responsible for the
prototype traversal that creates the DOM (XULDocument::ResumeWalk and
friends) and fires off various events.

To unify XUL and XHTML, the XHTML readystate event sequence is used in
XUL. However, the layout path of XHTML loaded from the prototype cache
more closely follows XUL, where frame initializers and layout don't
start until the entire DOM is built.

Differential Revision: https://phabricator.services.mozilla.com/D21236

--HG--
rename : dom/xul/XULDocument.cpp => dom/prototype/PrototypeDocumentContentSink.cpp
rename : parser/moz.build => dom/prototype/moz.build
rename : parser/moz.build => parser/prototype/moz.build
extra : moz-landing-system : lando
2019-03-09 01:00:23 +00:00
Alexander Surkov
9947de8f4b Bug 1525101 - Convert browser-search-autocomplete-result-popup into a Custom Element, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D20819

--HG--
extra : moz-landing-system : lando
2019-03-06 21:06:41 +00:00
Ricky Rosario
1a7923c7af Bug 1528955 - Tab successfully pinned notification r=dao
MozReview-Commit-ID: IUKhiRvDsqZ

Differential Revision: https://phabricator.services.mozilla.com/D21393

--HG--
extra : moz-landing-system : lando
2019-03-06 15:34:34 +00:00
Alexander Surkov
e5f57aa59a Bug 1525101 - Convert autocomplete-rich-result-popup into a Custom Element, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D20506

--HG--
extra : moz-landing-system : lando
2019-03-05 17:45:57 +00:00
James Teh
9dd9138423 Bug 1531246: Support keyboard activation (space/enter) of the Downloads toolbar button when focused. r=Gijs
Depends on D21614

Differential Revision: https://phabricator.services.mozilla.com/D21615

--HG--
extra : moz-landing-system : lando
2019-03-01 12:00:45 +00:00
Marco Bonardo
69d74cca55 Bug 1523332 - Allow to instant switch on and off the Quantum Bar. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D20534

--HG--
extra : moz-landing-system : lando
2019-03-01 14:52:17 +00:00
Ricky Rosario
4c98b7c5c0 Bug 1528952 - Add Pin tab action to the Page Actions Menu r=andreio,dao
MozReview-Commit-ID: 4MMiF2u61uV

Differential Revision: https://phabricator.services.mozilla.com/D20422

--HG--
extra : moz-landing-system : lando
2019-02-22 08:04:12 +00:00
James Teh
3676e15738 Bug 1436086: Implement keyboard navigation for the main and Bookmarks toolbars. r=Gijs
Having separate tab stops for every toolbar control results in an unmanageable number of tab stops.
Therefore, we group several buttons under a single tab stop and allow movement between them using left/right arrows.
However, text inputs use the arrow keys for their own purposes, so they need their own tab stop.
There are also groups of buttons before and after the URL bar input which should get their own tab stop.
The subsequent buttons on the toolbar are then another tab stop after that.

Tab stops for groups of buttons are set using the <toolbartabstop/> element.
This element is invisible, but gets included in the tab order.
When one of these gets focus, it redirects focus to the appropriate button.
This avoids the need to continually manage the tabindex of toolbar buttons in response to toolbarchanges.

Navigation to for the View site information button and notification anchors is now managed by this new framework.
As such, they no longer need their own position in the tab order and the CSS has been tweaked accordingly.

For now, this new functionality is behind a pref (browser.toolbars.keyboard_navigation) which is currently disabled by default.

Differential Revision: https://phabricator.services.mozilla.com/D15060

--HG--
extra : moz-landing-system : lando
2019-02-13 22:51:06 +00:00
Cosmin Sabou
ea11387364 Backed out changeset a14a11bf2d6f (bug 1436086) for eslint failure on browser_toolbarButtonKeyPress.js. CLOSED TREE 2019-02-13 15:35:34 +02:00
James Teh
356adc5d97 Bug 1436086: Implement keyboard navigation for the main and Bookmarks toolbars. r=Gijs
Having separate tab stops for every toolbar control results in an unmanageable number of tab stops.
Therefore, we group several buttons under a single tab stop and allow movement between them using left/right arrows.
However, text inputs use the arrow keys for their own purposes, so they need their own tab stop.
There are also groups of buttons before and after the URL bar input which should get their own tab stop.
The subsequent buttons on the toolbar are then another tab stop after that.

Tab stops for groups of buttons are set using the <toolbartabstop/> element.
This element is invisible, but gets included in the tab order.
When one of these gets focus, it redirects focus to the appropriate button.
This avoids the need to continually manage the tabindex of toolbar buttons in response to toolbarchanges.

Navigation to for the View site information button and notification anchors is now managed by this new framework.
As such, they no longer need their own position in the tab order and the CSS has been tweaked accordingly.

For now, this new functionality is behind a pref (browser.toolbars.keyboard_navigation) which is currently disabled by default.

Differential Revision: https://phabricator.services.mozilla.com/D15060

--HG--
extra : moz-landing-system : lando
2019-02-13 11:18:45 +00:00
Gijs Kruitbosch
8a184432c1 Bug 1498295 - move pocket strings into browser strings, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D15526

--HG--
extra : moz-landing-system : lando
2019-01-08 12:36:37 +00:00
Gijs Kruitbosch
8cd5081ad9 Bug 1514724 - actually insert pocket in the 'right' place in browser.xul to avoid migration issues in browser_pageActions.js , rs=bustage on a CLOSED TREE
--HG--
extra : amend_source : 49f9c04ae6e944104c44a84df3c0a539d0642c88
2018-12-28 13:16:51 +00:00
Gijs Kruitbosch
b5785ef772 Bug 1514724 - move pocket page action into markup, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D14803

--HG--
extra : rebase_source : bc5d116af660342b069f39a1b3ccbd04dedcd6f9
2018-12-28 11:27:00 +00:00
James Teh
3efa5efdbd Bug 1506504: Add/fix keyboard behaviour for browser toolbar buttons which open popups. r=Gijs
1. Fix the Firefox menu button so that it only handles space and enter, rather than incorrectly activating for *all* key presses.
2. Add keyboard support (space and enter) for the Library and page Actions buttons.
3. Add keyboard support (space and enter) for customizable widgets of type "view"; e.g. the Developer button.
4. Add keyboard support (space and enter) for page action buttons pinned to the URL bar; e.g. the Send Tab to Device button.

Differential Revision: https://phabricator.services.mozilla.com/D11608

--HG--
extra : moz-landing-system : lando
2018-12-20 11:33:32 +00:00
Dão Gottwald
efd44eae02 Bug 1515902 - Introduce panel-footer class to fix common color problem with footer buttons. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D15188

--HG--
rename : toolkit/themes/shared/close-icon.inc.css => toolkit/themes/shared/global.inc.css
extra : moz-landing-system : lando
2018-12-21 15:44:44 +00:00
Dão Gottwald
99a2ee62ea Bug 1515284 - Quantumbar: Make clicking the history dropmarker work. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D14955

--HG--
extra : moz-landing-system : lando
2018-12-19 17:05:37 +00:00
Dão Gottwald
e36aa33a99 Bug 1513468 - Remove spacer above tab toolbar items. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D14234

--HG--
extra : moz-landing-system : lando
2018-12-17 18:03:40 +00:00
Dão Gottwald
31f5825ca3 Bug 1514139 - Quantumbar: Allow moving the cursor by clicking in the address bar while the results popup is open. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D14530

--HG--
extra : moz-landing-system : lando
2018-12-14 09:53:43 +00:00
Dão Gottwald
d776888886 Bug 1513200 - Move pre-tabs and post-tabs spacers outside of TabsToolbar-customization-target and revert bug 1445728. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D14142

--HG--
extra : moz-landing-system : lando
2018-12-11 12:35:03 +00:00
Mike Conley
c590cc3dc5 Bug 1510631 - Allow items to be placed on the left of the toolbar menubar spacer. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D13290

--HG--
extra : moz-landing-system : lando
2018-11-28 20:43:26 +00:00
Mike Conley
a8e69172a4 Bug 1507536 - Set skipintoolbarset="true" on some titlebar items to avoid redundant context menu items. r=dao
This adds a skipintoolbarset to the toolbar-menubar spacer and the titlebar-buttonbox-container
hbox to avoid a case where an exception can be thrown from CustomizableUI.isWidgetRemovable,
which expects all direct descendants of toolbars to either have an ID, be one of a special
set of node types, or have skipintoolbarset="true" set on it.

Differential Revision: https://phabricator.services.mozilla.com/D13147

--HG--
extra : moz-landing-system : lando
2018-11-27 22:33:33 +00:00
Dão Gottwald
0f23fd4558 Bug 1509309 - Move most browser-*.js scripts from global-scripts.inc to browser.xul. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D13064

--HG--
extra : moz-landing-system : lando
2018-11-27 21:55:21 +00:00
Cosmin Sabou
a9287012c1 Backed out changeset fd00df2e0aba (bug 1507536) for causing bug 1509711 as mconley requested. a=backout 2018-11-27 23:56:47 +02:00
Ehsan Akhgari
cc714b7adc Bug 1490811 - Part 1: Add a permission doorhanger for the storage access API r=baku,johannh
Differential Revision: https://phabricator.services.mozilla.com/D12467

--HG--
extra : moz-landing-system : lando
2018-11-26 21:23:16 +00:00
Mike Conley
ae73252072 Bug 1507536 - Remove spacer in toolbar-menubar, and just make the menubar items flex instead. r=dao
This also adds a skipintoolbarset to the titlebar-buttonbox-container hbox to avoid a case
where an exception can be thrown from CustomizableUI.isWidgetRemovable, which expects all
direct descendants of toolbars to either have an ID, be one of a special set of node types,
or have skipintoolbarset="true" set on it.

Differential Revision: https://phabricator.services.mozilla.com/D12592

--HG--
extra : moz-landing-system : lando
2018-11-23 05:35:48 +00:00
Mike Conley
619e4b963b Bug 1507382 - Show titlebar items when menubar enabled. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D12236

--HG--
extra : moz-landing-system : lando
2018-11-21 15:09:31 +00:00
Dão Gottwald
1b9bb473b9 Bug 1508590 - Load searchbar.js from browser.xul rather than global-scripts.inc. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D12406

--HG--
extra : moz-landing-system : lando
2018-11-21 02:18:32 +00:00
Dão Gottwald
0b29cb4320 Bug 1508585 - Load search-one-offs.js lazily. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D12405

--HG--
extra : moz-landing-system : lando
2018-11-20 17:04:43 +00:00
Dão Gottwald
5b9912f43e Bug 1506261 - Convert search-one-offs from a custom element to a plain JS class and initialize it lazily. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D11889

--HG--
extra : moz-landing-system : lando
2018-11-17 08:46:35 +00:00
Mike Conley
87e56a69cb Bug 1506457 - Only show titlebar indicators in the titlebar-secondary-buttonbox on macOS. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D12153

--HG--
extra : moz-landing-system : lando
2018-11-16 20:45:36 +00:00
Cosmin Sabou
55394c287c Backed out changeset 10a5af6d30df (bug 1506261) for causing window leaks on OSX debug. CLOSED TREE 2018-11-15 10:53:29 +02:00
Dão Gottwald
6c78bc8bfd Bug 1506261 - Convert search-one-offs from a custom element to a plain JS class and initialize it lazily. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D11889

--HG--
extra : moz-landing-system : lando
2018-11-15 00:55:31 +00:00
Cosmin Sabou
00f29cfcf6 Merge mozilla-central to mozilla-inbound. 2018-11-10 13:51:14 +02:00