Commit graph

819 commits

Author SHA1 Message Date
harry
9219af6886 Bug 1578485 - Re-enable browser_918049_skipintoolbarset_dnd.js. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D45031

--HG--
extra : moz-landing-system : lando
2019-09-06 17:17:07 +00:00
Coroiu Cristina
19d1a50744 Bug 1536312 - disabled browser_884402_customize_from_overflow.js on windows and mac for frequest failures r=egao
Differential Revision: https://phabricator.services.mozilla.com/D44805

--HG--
extra : moz-landing-system : lando
2019-09-05 09:56:36 +00:00
harry
60ef93e2ce Bug 1577000 - Fix Megabar breakout width on window resize. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D43674

--HG--
extra : moz-landing-system : lando
2019-09-03 22:28:39 +00:00
Coroiu Cristina
79d4e12a44 Backed out changeset 18705df33e23 (bug 1577000) for browser-chrome failures at browser/components/customizableui/test/browser_918049_skipintoolbarset_dnd.js 2019-09-03 04:05:35 +03:00
harry
6772173be2 Bug 1577000 - Fix Megabar breakout width on window resize. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D43674

--HG--
extra : moz-landing-system : lando
2019-09-02 18:12:22 +00:00
Sylvestre Ledru
7759b614e2 Bug 1575249 - Ride along: remove +x permissions on source files r=Ehsan
Depends on D42672

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

--HG--
extra : moz-landing-system : lando
2019-08-21 09:57:03 +00:00
Sebastian Hengst
235498bb68 Bug 1572955 - Remove devtools toolbar button in browser_984455_bookmarks_items_reparenting.js to get same available toolbar space across branches. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D42483

--HG--
extra : moz-landing-system : lando
2019-08-19 15:54:56 +00:00
Razvan Maries
54381141f5 Bug 1468890 - Disabled browser_967000_button_charEncoding.js on Linux. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D42458

--HG--
extra : moz-landing-system : lando
2019-08-19 09:25:05 +00:00
meghaaa
709224c55c Bug 1530781 - Replaced waitForCondition in browser_901207_searchbar_in_panel.js with TestUtils.waitForCondition. r=johannh
Differential Revision: https://phabricator.services.mozilla.com//D42085
2019-08-15 11:57:38 +03:00
Kris Maglione
4bd4d680d4 Bug 1566952: Part 1 - Annotate mochitests that crash with Fission enabled. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D38725

--HG--
extra : rebase_source : 3e8b32b86b12b22d038baa770070a5c8095043c9
2019-07-17 13:37:48 -07:00
Boris Zbarsky
a818800ec5 Bug 1568278. Remove various unnecessary QIs to nsIDOMWindow. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D39065

--HG--
extra : moz-landing-system : lando
2019-07-24 01:26:07 +00:00
Gijs Kruitbosch
67a95099e3 Bug 1469113 - fix intermittent issues in browser_884402_customize_from_overflow.js, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D39002

--HG--
extra : moz-landing-system : lando
2019-07-23 17:17:00 +00:00
James Teh
f6179ac757 Bug 1561517: PanelMultiView: Don't override the tab key when an open menulist has focus. r=johannh
Tab in an open menulist should close the menulist.
Previously, we were overriding the tab key in this case, which meant that the menulist remained open while focus moved elsewhere.

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

--HG--
extra : moz-landing-system : lando
2019-07-18 04:55:51 +00:00
Gijs Kruitbosch
b5b5d6a0ab Bug 1560178 - fix miscellaneous tests to allow them to keep working when disallowing remote content in the parent process, r=aswan,ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D36310

--HG--
extra : moz-landing-system : lando
2019-07-12 16:27:58 +00:00
Dorel Luca
77d61d6a6f Backed out 5 changesets (bug 1560178) for Browser-chrome failures in builds/worker/workspace/build/src/dom/base/Document.cpp. CLOSED TREE
Backed out changeset 1ff8a41dd3c1 (bug 1560178)
Backed out changeset 4aaeda889656 (bug 1560178)
Backed out changeset b1dfc0b5a14c (bug 1560178)
Backed out changeset 45fca0f1b675 (bug 1560178)
Backed out changeset fc2be64e4ece (bug 1560178)
2019-07-12 18:38:34 +03:00
Gijs Kruitbosch
8b9bc73770 Bug 1560178 - fix miscellaneous tests to allow them to keep working when disallowing remote content in the parent process, r=aswan,ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D36310

--HG--
extra : moz-landing-system : lando
2019-07-12 12:35:59 +00:00
harry
f56a5c0ec4 Bug 1522012 - Implement Touch Bar's native customization window and remove ui.touchbar.layout preference. r=spohl,mikedeboer,fluent-reviewers,Pike
This patch also fixes the Home and Sidebar Touch Bar buttons, since using them after customizing showed that they no longer worked.

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

--HG--
extra : moz-landing-system : lando
2019-07-06 21:10:33 +00:00
Victor Porof
1f830c96da Bug 1561435 - Format browser/components/, a=automatic-formatting
# ignore-this-changeset

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

--HG--
extra : source : d3afcafdce650a6f36cebbc126ee93b17f13cf52
2019-07-05 09:53:32 +02:00
Mihai Alexandru Michis
421a5483d0 Backed out changeset 3e2fe70b181a (bug 1522012) for causing failures in browser_touchbar_tests.js CLOSED TREE 2019-07-04 18:47:07 +03:00
harry
d1e552113e Bug 1522012 - Implement Touch Bar's native customization window and remove ui.touchbar.layout preference. r=spohl,mikedeboer,fluent-reviewers,Pike
This patch also fixes the Home and Sidebar Touch Bar buttons, since using them after customizing showed that they no longer worked.

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

--HG--
extra : moz-landing-system : lando
2019-07-04 03:57:47 +00:00
Andreea Pavel
4332741c0a Backed out changeset c1b80824ae88 (bug 1522012) for failing bc at browser_touchbar_tests.j on a CLOSED TREE 2019-07-03 00:19:25 +03:00
harry
d33a170707 Bug 1522012 - Implement Touch Bar's native customization window and remove ui.touchbar.layout preference. r=spohl,mikedeboer,fluent-reviewers,Pike
This patch also fixes the Home and Sidebar Touch Bar buttons, since using them after customizing showed that they no longer worked.

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

--HG--
extra : moz-landing-system : lando
2019-07-02 14:47:07 +00:00
Andrew Swan
7696519cff Bug 1555060 Convert <tabs> to a custom element
The conversion for "regular" <tabs> elements is straightforward, most of
the work here is to support the tab strip (the <tabs> element with the id
"tabbrowser-tabs").  The markup needed for the tab strip moves directly
into browser.xhtml and the construction/teardown logic is now explicitly
driven from gBrowser.  There are many more little tweaks too numerous to
enumerate.

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

--HG--
rename : browser/base/content/tabbrowser.xml => browser/base/content/tabbrowser-tabs.js
extra : source : c163881a80c9a032b40f7d965fad6a6850fcf8a4
extra : intermediate-source : a5c6deeda8a9475ac0268a4351417c8ff659c962
extra : histedit_source : 5eb8b3d14027f2aeca5c52534096837cd0343104%2Ca23a07ddd5e1fb8bd084644dd6db0ee028b7c4b4
2019-06-20 14:09:37 -07:00
Ciure Andrei
c04368fddd Backed out 3 changesets (bug 1555060) for causing test_tabbar.py to perma fail CLOSED TREE
Backed out changeset a5c6deeda8a9 (bug 1555060)
Backed out changeset f4e21e465f38 (bug 1555060)
Backed out changeset c71c45fe3e63 (bug 1555060)

--HG--
rename : browser/base/content/tabbrowser-tabs.js => browser/base/content/tabbrowser.xml
2019-06-28 00:21:50 +03:00
Andrew Swan
e6c0e0f03a Bug 1555060 Convert <tabs> to a custom element
The conversion for "regular" <tabs> elements is straightforward, most of
the work here is to support the tab strip (the <tabs> element with the id
"tabbrowser-tabs").  The markup needed for the tab strip moves directly
into browser.xhtml and the construction/teardown logic is now explicitly
driven from gBrowser.  There are many more little tweaks too numerous to
enumerate.

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

--HG--
rename : browser/base/content/tabbrowser.xml => browser/base/content/tabbrowser-tabs.js
extra : rebase_source : 6b2b0ed9b01958d1b2db605ab300c4bebcaa461c
extra : source : c163881a80c9a032b40f7d965fad6a6850fcf8a4
2019-06-20 14:09:37 -07:00
James Teh
5993e555d3 Bug 1557115: Fix PanelMultiView keyboard navigation for embedded iframes. r=Gijs
Bug 1545766 (D28442) tweaked PanelMultiView keyboard navigation to behave as expected for embedded browser elements.
This patch extends this to handle iframe elements such as used in the builtin Profiler panel.
In addition, it avoids setting tabindex="-1" on iframe and browser elements, since this breaks tabbing behavior in iframe elements (and possibly causes issues in browser elements as well).
iframe and browser elements are already focusable, so this isn't needed anyway.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 09:44:55 +00:00
Michael Krasnov
81d89484e1 Bug 1530785 - Change calls to deprecated waitForCondition r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D32626

--HG--
extra : moz-landing-system : lando
2019-06-04 11:28:33 +00:00
shindli
c14bbbdd9a Backed out changeset 92835da18445 (bug 1552565) for causing perma bc failures in browser/components/extensions/test/browser/browser_ext_browserAction_popup_preload.js CLOSED TREE 2019-05-24 23:17:33 +03:00
Greg Tatum
9d01a5ae17 Bug 1552565 - Fix event listener for CustomizableUI when destroying widgets; r=Gijs
The CustomizableUI does not delete the _addedEventListeners property from
the view node when the widget is destroyed. This stops the widget from
correctly having events dispatched to it after recreating it, as the
initialization code assumes that it has already been set up.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 15:31:39 +00:00
Andrew Swan
a745ec6099 Bug 1519577 Convert toolbarbutton to a custom element r=surkov
Differential Revision: https://phabricator.services.mozilla.com/D31941

--HG--
extra : rebase_source : 3709ef713f1a7dc9fbc2d0ac97f16bea757fcd2b
2019-05-20 10:01:02 -07:00
Gijs Kruitbosch
ff5a80aceb Bug 1547573 - fix sorting in and add test for themes dropdown in customize mode, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D30392

--HG--
extra : moz-landing-system : lando
2019-05-09 18:22:53 +00:00
James Teh
c504fadc7d Bug 1547635: PanelMultiView: Don't override keyboard navigation in context menus. r=Gijs
Normally, context menu keyboard handling takes precedence.
However, because we have a capturing window keydown listener, our listener takes precedence.
Therefore, we need to check for an open context menu and suppress our keyboard handling in this case.

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

--HG--
extra : moz-landing-system : lando
2019-05-08 05:18:17 +00:00
James Teh
6cf69b31f4 Bug 1546633: PanelMultiView: Send mousedown event when activating a button via the keyboard. r=Gijs
Previously, we sent a command event and a click event.
Normally, the command event executes the action, then the click event closes the menu.
However, in some cases (e.g. the Library button), there is no command event handler and the mousedown event executes the action instead.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 10:35:57 +00:00
James Teh
32a5b927ef Bug 1545766: PanelMultiView: Don't override keyboard navigation in embedded documents. r=Gijs
Extension panels contain embedded documents; i.e. a <browser> element.
We want users to be able to tab to these and we want them to be focused automatically if a subview is opened from the keyboard, so treat them as tabbable.
However, once an embedded document is focused, we can't manage keyboard navigation inside it, so don't try.
Previously, we tried, which meant keys were overridden even though they didn't do anything, breaking keyboard navigation in extensions altogether.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 10:35:49 +00:00
Joel Maher
6611f95ab0 Bug 1546459 - remove subsuite=clipboard from manifests. r=ahal
remove subsuite=clipboard from manifests

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

--HG--
extra : moz-landing-system : lando
2019-05-01 08:16:44 +00:00
Ciure Andrei
38ce44ca57 Backed out 2 changesets (bug 1545766, bug 1546633) for causing browser_PanelMultiView_keyboard.js to perma fail CLOSED TREE
Backed out changeset 041741ce1646 (bug 1546633)
Backed out changeset fbc294a6fe78 (bug 1545766)
2019-05-01 09:02:48 +03:00
James Teh
6b2c1efe9c Bug 1546633: PanelMultiView: Send mousedown event when activating a button via the keyboard. r=Gijs
Previously, we sent a command event and a click event.
Normally, the command event executes the action, then the click event closes the menu.
However, in some cases (e.g. the Library button), there is no command event handler and the mousedown event executes the action instead.

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

--HG--
extra : moz-landing-system : lando
2019-05-01 04:01:35 +00:00
James Teh
e5870b20a4 Bug 1545766: PanelMultiView: Don't override keyboard navigation in embedded documents. r=Gijs
Extension panels contain embedded documents; i.e. a <browser> element.
We want users to be able to tab to these and we want them to be focused automatically if a subview is opened from the keyboard, so treat them as tabbable.
However, once an embedded document is focused, we can't manage keyboard navigation inside it, so don't try.
Previously, we tried, which meant keys were overridden even though they didn't do anything, breaking keyboard navigation in extensions altogether.

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

--HG--
extra : moz-landing-system : lando
2019-05-01 04:01:35 +00:00
Gijs Kruitbosch
811c33eeca Bug 1515204 - add mouseup after drop in EventUtils, r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D28749

--HG--
extra : moz-landing-system : lando
2019-04-30 12:55:23 +00:00
Gijs Kruitbosch
88b77a1a40 Bug 1543129 - fix buttons disappearing in customize mode after using 'restore defaults', r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D28719

--HG--
extra : moz-landing-system : lando
2019-04-29 13:36:04 +00:00
Andrew Swan
66e382f5b2 Bug 1538983 Convert button xbl binding to a custom element r=bgrins
As of this change, instances of xul <button> use a custom element.
The button-base xbl binding remains for now, since it is still used
by toolbarbutton, it will be removed soon.

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

--HG--
rename : toolkit/content/widgets/button.xml => toolkit/content/widgets/button.js
extra : rebase_source : 2be8ee3fa9bb43866013f62211d8cb3706dbf1ab
2019-04-15 14:27:32 -07:00
Gijs Kruitbosch
1024a69819 Bug 1546482 - clean up added toolbars properly so editcontrols test passes, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D28661

--HG--
extra : moz-landing-system : lando
2019-04-24 14:51:09 +00:00
Gijs Kruitbosch
32599911f8 Bug 1544447 - add support for numpad enter key and add tests to check activation works, r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D28431

--HG--
extra : moz-landing-system : lando
2019-04-23 11:44:36 +00:00
Gijs Kruitbosch
00fe7a02db Bug 1539984 - pass along whether a focus change was tripped by a keypress to ensure :-moz-focusring works as designed, r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D27874

--HG--
extra : moz-landing-system : lando
2019-04-23 11:12:02 +00:00
James Teh
1a6f689917 Bug 1454865: PanelMultiView: When entering a subview using the keyboard, focus the first button after the Back button in the subview. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D26067

--HG--
extra : moz-landing-system : lando
2019-04-15 01:38:15 +00:00
James Teh
4e6ac5b1e0 Bug 1477673: Refactor PanelMultiView keyboard navigation to use a TreeWalker. r=Gijs,johannh
Previously, this code cached a list of controls on first use and used that for navigation.
This refactor addresses several issues:

1. There is now a separate focus order for tab/shift+tab and down/up arrows.
    This allows menulists, textboxes, etc. which use the arrow keys themselves to be focused with tab, but skipped with the arrows.
    This means the user won't fall into these controls when using the up/down arrow keys and be confused by the subsequent arrowing behaviour.

2. When a menulist, textbox, etc. is focused, the arrow keys, space and enter are now passed to the control.
    This is a better fix for handling of the arrow keys by menulists (bug 1522092).
    It also fixes left arrow in a textarea moving to the previous view instead of moving the caret (bug 1489874).

3. This improves handling of dynamic updates to the panel.
    For example, elements that are initially disabled and enabled later will be navigable.
    This is because the next element is determined dynamically by the TreeWalker, rather than using a cached list.

4. The interim fix for bug 1522092 disabled PanelMultiView keyboard navigation.
    This caused some regressions, including arrow keys/activation on the Site Identity Report a Problem link (bug 1539976) and some controls not being navigable if the Site Identity panel is opened using the mouse (bug 1539984).
    With the above fixes, we can now re-enable PanelMultiView keyboard navigation in the Site identity panel and thus fix these regressions.

5. Previously, PanelMultiView keyboard navigation was disabled in the main toolbar overflow menu.
    This is because the search box can be added to the overflow menu, which previously caused problems for the arrow keys.
    With the above fixes, we can now safely enable PanelMultiView keyboard navigation in the overflow menu.

6. PanelMultiView keyboard tests have been added.
    Previously, we relied on tests specific to various panels to exercise this functionality.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 01:38:08 +00:00
Oriol Brufau
c3e455508e Bug 1504567 - Don't prematurely insert lazy tabs in customize mode. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D24657

--HG--
extra : moz-landing-system : lando
2019-04-02 12:58:40 +00:00
Oriol Brufau
4b939a88d2 Bug 1540530 - Don't tear down Customize Mode when reloading about:blank. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D25547

--HG--
extra : moz-landing-system : lando
2019-04-09 17:54:01 +00:00
Cosmin Sabou
65e5dc96a7 Backed out 2 changesets (bug 1477673, bug 1454865) for browser chrome failures on browser_PanelMultiView_keyboard. CLOSED TREE
Backed out changeset eca8a6e641c0 (bug 1454865)
Backed out changeset 69db665d8263 (bug 1477673)
2019-04-09 14:29:08 +03:00
James Teh
426d8677cb Bug 1454865: PanelMultiView: When entering a subview using the keyboard, focus the first button after the Back button in the subview. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D26067

--HG--
extra : moz-landing-system : lando
2019-04-09 09:54:41 +00:00
James Teh
a286b1ed3c Bug 1477673: Refactor PanelMultiView keyboard navigation to use a TreeWalker. r=Gijs,johannh
Previously, this code cached a list of controls on first use and used that for navigation.
This refactor addresses several issues:

1. There is now a separate focus order for tab/shift+tab and down/up arrows.
    This allows menulists, textboxes, etc. which use the arrow keys themselves to be focused with tab, but skipped with the arrows.
    This means the user won't fall into these controls when using the up/down arrow keys and be confused by the subsequent arrowing behaviour.

2. When a menulist, textbox, etc. is focused, the arrow keys, space and enter are now passed to the control.
    This is a better fix for handling of the arrow keys by menulists (bug 1522092).
    It also fixes left arrow in a textarea moving to the previous view instead of moving the caret (bug 1489874).

3. This improves handling of dynamic updates to the panel.
    For example, elements that are initially disabled and enabled later will be navigable.
    This is because the next element is determined dynamically by the TreeWalker, rather than using a cached list.

4. The interim fix for bug 1522092 disabled PanelMultiView keyboard navigation.
    This caused some regressions, including arrow keys/activation on the Site Identity Report a Problem link (bug 1539976) and some controls not being navigable if the Site Identity panel is opened using the mouse (bug 1539984).
    With the above fixes, we can now re-enable PanelMultiView keyboard navigation in the Site identity panel and thus fix these regressions.

5. Previously, PanelMultiView keyboard navigation was disabled in the main toolbar overflow menu.
    This is because the search box can be added to the overflow menu, which previously caused problems for the arrow keys.
    With the above fixes, we can now safely enable PanelMultiView keyboard navigation in the overflow menu.

6. PanelMultiView keyboard tests have been added.
    Previously, we relied on tests specific to various panels to exercise this functionality.

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

--HG--
extra : moz-landing-system : lando
2019-04-09 09:54:39 +00:00
Ciure Andrei
4116e08315 Merge inbound to mozilla-central. a=merge 2019-04-04 07:34:14 +03:00
Jan-Erik Rediger
6bc73bc6a2 Bug 1529696 - Rename DATASET_RELEASE_CHANNEL_OPTOUT/OPTIN to DATASET_ALL/PRERELEASE_CHANNELS everywhere r=chutten
Depends on D25934

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

--HG--
extra : moz-landing-system : lando
2019-04-03 17:12:11 +00:00
Kris Maglione
a15a869f4f Bug 1525762: Part 2a - Migrate built-in LWTs to static WebExtension themes. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D24627

--HG--
rename : browser/base/content/defaultthemes/dark.icon.svg => browser/themes/addons/dark/icon.svg
rename : browser/base/content/defaultthemes/light.icon.svg => browser/themes/addons/light/icon.svg
rename : toolkit/mozapps/extensions/content/default-theme-icon.svg => toolkit/mozapps/extensions/default-theme/icon.svg
extra : rebase_source : a844186d5a113b596c6bb6bdcd49f443e1879ab2
extra : histedit_source : a5b745dcdac9106fe224895d13862b156feb1eb0
2019-02-08 14:18:52 -08: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
Kris Maglione
dc9f1e38d5 Bug 1525511: Part 5 - Get rid of most LWTManager gunk in tests. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D18788

--HG--
extra : rebase_source : d550bfad07edeaae24ec385b2b57d2d9ae0161df
2019-02-05 21:25:21 -08:00
Kris Maglione
196384f808 Bug 1525511: Part 2c - Stop using LightweightThemeManager for customize mode themes menu. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D18784

--HG--
extra : rebase_source : bc5d359283ab8714fb42ae362ffc88b6ca0fe484
2019-02-05 17:23:24 -08:00
Kris Maglione
a5a3286f53 Bug 1525511: Part 2b - Delete recommended theme gunk. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D18783

--HG--
extra : rebase_source : a299976bbe01c1be8fa3b95dfe129ced67ca6495
2019-02-05 21:20:37 -08:00
Gijs Kruitbosch
19b3a61aa7 Bug 1462911 - allow for new overflown items to be the first item in the overflow list, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D24944

--HG--
extra : moz-landing-system : lando
2019-03-26 19:14:27 +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
Minsoo Kim
68dc81978e Bug 1530799 - Replaced waitForCondition function with TestUtils.waitForCondition r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D22041

--HG--
extra : moz-landing-system : lando
2019-03-06 09:43:44 +00:00
Mellina Yonashiro
f424ec57d6 Bug 1530801 - Replace waitForCondition in browser_947914_button_addons.js withTestUtils.waitForCondition r=johannh
waitForCondition usage in the browser_947914_button_addons.js test file can be replaced by the TestUtils.waitForCondition utility function.

> The function was replaced. There was only one occurance in this file (browser_947914_button_addons.js), but may exists in other ones.

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

--HG--
extra : moz-landing-system : lando
2019-03-04 21:36:02 +00:00
AmberM
779b774794 Bug 1530778 - Replace waitForCondition in browser_88502_customize_mode_observers_disabed.js with TestUtils.waitForCondition. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D21849

--HG--
extra : moz-landing-system : lando
2019-03-04 12:40:31 +00:00
lloan
336c5d76b8 Bug 1530783 - Replace waitForCondition with TestUtils.waitForCondition. r=johannh
Bug 1530783 - Replace waitForCondition with TestUtils.waitForCondition. r=johannh

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

--HG--
extra : moz-landing-system : lando
2019-02-28 10:41:49 +00:00
lloan
a0afe6dd19 Bug 1530777 - Replace waitForCondition with TestUtils.waitForCondition. r=johannh
Bug 1530777 - Replace waitForCondition with TestUtils.waitForCondition. r=johannh

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

--HG--
extra : moz-landing-system : lando
2019-02-28 11:41:59 +00:00
jcit
7058fdef9c Bug 1530787 - Replace waitForConditon in browser_914138 with TestUtils.waitForCondition r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D21391

--HG--
extra : moz-landing-system : lando
2019-02-27 21:46:33 +00:00
Mark Banner
7d00f1921c Bug 1522438 - Port Customizable UI tests to QuantumBar. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D21031

--HG--
extra : moz-landing-system : lando
2019-02-26 23:28:34 +00:00
Joel Maher
2d1cf6ee1f Bug 1527369 - re-enable many tests on windows 1803 due to invalid screen resolution whilst testing. r=gbrown
re-enable many tests on windows 1803 due to invalid screen resolution whilst testing

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

--HG--
extra : moz-landing-system : lando
2019-02-12 17:47:39 +00:00
Joel Maher
bdd8e3ce31 Bug 1522900 - adjust manifests to allow tests to pass on windows10 1803 release. r=gbrown CLOSED TREE
--HG--
extra : rebase_source : 1350412a9925eea526bda708011086c4e8e19170
extra : amend_source : 548af67b37ba2207f380c509a1b213c323fcd1cb
2019-02-11 10:02:51 +01:00
Mark Striemer
6ef0bc9dc2 Bug 1500147 - Part 2: Record LWT telemetry in customize mode r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D18002

--HG--
extra : moz-landing-system : lando
2019-02-07 16:42:04 +00:00
Brian Grinstead
04c18529e4 Bug 1487065 - Implement popup-notification as a Custom Element r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D17699

--HG--
rename : toolkit/content/widgets/notification.xml => toolkit/content/widgets/popupnotification.js
extra : moz-landing-system : lando
2019-02-07 22:16:26 +00:00
Myk Melez
25349d2601 Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D17526

--HG--
extra : moz-landing-system : lando
2019-01-30 17:26:25 +00:00
Kris Maglione
e930b89c34 Bug 1514594: Part 3 - Change ChromeUtils.import API.
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8

This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:

  ChromeUtils.import("resource://gre/modules/Services.jsm");

is approximately the same as the following, in the new model:

  var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");

Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs

This was done using the followng script:

https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8

Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs

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

--HG--
extra : rebase_source : 359574ee3064c90f33bf36c2ebe3159a24cc8895
extra : histedit_source : b93c8f42808b1599f9122d7842d2c0b3e656a594%2C64a3a4e3359dc889e2ab2b49461bab9e27fc10a7
2019-01-17 10:18:31 -08:00
Cristina Coroiu
4ef4266796 Bug 1515204 - disable browser_962069_drag_to_overflow_chevron.js on linux and mac for frequent failures. r=jmaher 2019-01-28 02:20:00 +02:00
Mark Banner
15b881a65f Bug 1521707 - Move promisePopupEvent to BrowserTestUtils.jsm. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D17259

--HG--
extra : moz-landing-system : lando
2019-01-23 14:04:46 +00:00
Gijs Kruitbosch
0f0796c9c5 Bug 1458046 - avoid remote updates when the browser is not active and fix editcontrols_update test, r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D16626

--HG--
extra : moz-landing-system : lando
2019-01-16 16:20:43 +00:00
Dão Gottwald
75986fa000 Bug 1514505 - Remove unused urlbar-textbox-container. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D14683

--HG--
extra : moz-landing-system : lando
2018-12-18 11:16:05 +00:00
Dão Gottwald
0afe87a2cf Bug 1513827 - Let toolbar context menu handle nodes without ids. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D14390

--HG--
extra : moz-landing-system : lando
2018-12-13 14:53:18 +00:00
Gijs Kruitbosch
1dfbc61056 Bug 1494014 - fix icon on the lightweight theme button to be correct when changing it from the menu, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D12546

--HG--
extra : moz-landing-system : lando
2018-11-21 17:23:05 +00:00
Cosmin Sabou
931548d569 Backed out changeset 6ce32daf8079 (bug 1494014) for browser chrome failures on browser_1007336_lwthemes_in_customize_mode. CLOSED TREE 2018-11-21 18:12:24 +02:00
Gijs Kruitbosch
fb77da7472 Bug 1494014 - fix icon on the lightweight theme button to be correct when changing it from the menu, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D12546

--HG--
extra : moz-landing-system : lando
2018-11-21 15:08:03 +00:00
James Teh
382c02eef0 Bug 1506503: PanelMultiView: Automatically focus the first item if a panel is opened via the keyboard. r=johannh,paolo
Previously, we had specific code to do this for the "View site information" button (#identity-box) when activated via the keyboard.
To work well for keyboard and screen reader users, all such popups (e.g. Firefox menu, Page Actions, etc.) should do this.
These are all based on panelMultiView.
The arguments passed to PanelMultiView.openPopup can include the event which triggered the popup.
We now use this to detect keypress events and focus the first item in the panel in that case.

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

--HG--
extra : moz-landing-system : lando
2018-11-16 22:51:59 +00:00
Dão Gottwald
0c9c7990e7 Bug 967917 - Enable browser_tabbar_big_widgets.js across platforms. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D12114

--HG--
rename : browser/base/content/test/general/browser_tabbar_big_widgets.js => browser/components/customizableui/test/browser_tabbar_big_widgets.js
extra : moz-landing-system : lando
2018-11-16 15:19:41 +00:00
Brian Grinstead
08b08080f8 Bug 1505734 - Remove logic from CustomizableUI toolbar XBL constructor;r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D11665

--HG--
extra : moz-landing-system : lando
2018-11-14 00:46:20 +00:00
Alexander Surkov
17f55aee76 Bug 1493594 - replace customizationTarget XBL property by CustomizableUI method, r=gijs 2018-11-08 13:45:22 +07:00
Kris Maglione
ade8c9ede8 Bug 1482091: Part 2 - Remove TelemetryStopwatch.jsm in favor of native implementation. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D9888

--HG--
extra : source : afd0a13bcfff4c92ad2497ec687f466484481667
extra : amend_source : 501bca3f94a0cb0c8bec1f30d0b3f64a50b04e48
extra : intermediate-source : bc03f101937e373fdaca735f3f356960a5239bc0
2018-10-25 19:04:01 -07:00
arthur.iakab
0c81738411 Backed out 2 changesets (bug 1482091) for bc failures on browser_domFullscreen_fullscreenMode.js
Backed out changeset bc03f101937e (bug 1482091)
Backed out changeset 28a19b7290ab (bug 1482091)
2018-11-03 01:08:36 +02:00
Kris Maglione
7fa01216a4 Bug 1482091: Part 2 - Remove TelemetryStopwatch.jsm in favor of native implementation. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D9888

--HG--
extra : source : afd0a13bcfff4c92ad2497ec687f466484481667
extra : amend_source : bf22d8e9ce5c081902bd5c75b892cc434a167300
2018-10-25 19:04:01 -07:00
Kris Maglione
1c39319950 Bug 1540856: Part 1 - Remove useless references to lightweightThemes preferences. r=aswan,dao
Differential Revision: https://phabricator.services.mozilla.com/D25677

--HG--
extra : rebase_source : d65a8b4e152342fd039cf35a410311f7ac664c9c
extra : histedit_source : c3fc70a285b39a6a8c09bac963211159573a5d09
2019-04-01 15:22:20 -07:00
Sebastian Hengst
1ad50182a7 merge mozilla-central to autoland
--HG--
rename : third_party/rust/nom/.cargo-checksum.json => third_party/rust/nom-3.2.1/.cargo-checksum.json
rename : third_party/rust/nom/CHANGELOG.md => third_party/rust/nom-3.2.1/CHANGELOG.md
rename : third_party/rust/nom/Cargo.toml => third_party/rust/nom-3.2.1/Cargo.toml
rename : third_party/rust/nom/src/bits.rs => third_party/rust/nom-3.2.1/src/bits.rs
rename : third_party/rust/nom/src/branch.rs => third_party/rust/nom-3.2.1/src/branch.rs
rename : third_party/rust/nom/src/bytes.rs => third_party/rust/nom-3.2.1/src/bytes.rs
rename : third_party/rust/nom/src/character.rs => third_party/rust/nom-3.2.1/src/character.rs
rename : third_party/rust/nom/src/internal.rs => third_party/rust/nom-3.2.1/src/internal.rs
rename : third_party/rust/nom/src/lib.rs => third_party/rust/nom-3.2.1/src/lib.rs
rename : third_party/rust/nom/src/macros.rs => third_party/rust/nom-3.2.1/src/macros.rs
rename : third_party/rust/nom/src/methods.rs => third_party/rust/nom-3.2.1/src/methods.rs
rename : third_party/rust/nom/src/multi.rs => third_party/rust/nom-3.2.1/src/multi.rs
rename : third_party/rust/nom/src/nom.rs => third_party/rust/nom-3.2.1/src/nom.rs
rename : third_party/rust/nom/src/regexp.rs => third_party/rust/nom-3.2.1/src/regexp.rs
rename : third_party/rust/nom/src/sequence.rs => third_party/rust/nom-3.2.1/src/sequence.rs
rename : third_party/rust/nom/src/simple_errors.rs => third_party/rust/nom-3.2.1/src/simple_errors.rs
rename : third_party/rust/nom/src/str.rs => third_party/rust/nom-3.2.1/src/str.rs
rename : third_party/rust/nom/src/stream.rs => third_party/rust/nom-3.2.1/src/stream.rs
rename : third_party/rust/nom/src/traits.rs => third_party/rust/nom-3.2.1/src/traits.rs
rename : third_party/rust/nom/src/util.rs => third_party/rust/nom-3.2.1/src/util.rs
rename : third_party/rust/nom/src/verbose_errors.rs => third_party/rust/nom-3.2.1/src/verbose_errors.rs
rename : third_party/rust/nom/src/whitespace.rs => third_party/rust/nom-3.2.1/src/whitespace.rs
rename : third_party/rust/nom/tests/arithmetic.rs => third_party/rust/nom-3.2.1/tests/arithmetic.rs
rename : third_party/rust/nom/tests/arithmetic_ast.rs => third_party/rust/nom-3.2.1/tests/arithmetic_ast.rs
rename : third_party/rust/nom/tests/blockbuf-arithmetic.rs => third_party/rust/nom-3.2.1/tests/blockbuf-arithmetic.rs
rename : third_party/rust/nom/tests/cross_function_backtracking.rs => third_party/rust/nom-3.2.1/tests/cross_function_backtracking.rs
rename : third_party/rust/nom/tests/float.rs => third_party/rust/nom-3.2.1/tests/float.rs
rename : third_party/rust/nom/tests/ini.rs => third_party/rust/nom-3.2.1/tests/ini.rs
rename : third_party/rust/nom/tests/ini_str.rs => third_party/rust/nom-3.2.1/tests/ini_str.rs
rename : third_party/rust/nom/tests/issues.rs => third_party/rust/nom-3.2.1/tests/issues.rs
rename : third_party/rust/nom/tests/json.rs => third_party/rust/nom-3.2.1/tests/json.rs
rename : third_party/rust/nom/tests/mp4.rs => third_party/rust/nom-3.2.1/tests/mp4.rs
rename : third_party/rust/nom/tests/multiline.rs => third_party/rust/nom-3.2.1/tests/multiline.rs
rename : third_party/rust/nom/tests/named_args.rs => third_party/rust/nom-3.2.1/tests/named_args.rs
rename : third_party/rust/nom/tests/omnom.rs => third_party/rust/nom-3.2.1/tests/omnom.rs
rename : third_party/rust/nom/tests/overflow.rs => third_party/rust/nom-3.2.1/tests/overflow.rs
rename : third_party/rust/nom/tests/reborrow_fold.rs => third_party/rust/nom-3.2.1/tests/reborrow_fold.rs
rename : third_party/rust/nom/tests/test1.rs => third_party/rust/nom-3.2.1/tests/test1.rs
extra : rebase_source : 6c5b45c092fd51bf1b3ce15960416fb59311d152
2018-10-22 20:34:24 +03:00
Eliza Balazs
95e79e79cd Bug 1458046 - Disable browser_editcontrols_update.js on mac for frequent failures. r=jmaher 2018-10-22 04:02:00 +03:00
Gijs Kruitbosch
ce2d30dc03 Bug 1500268 - remove legacy toolbar and currentset support from customizableui, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D9172

--HG--
extra : moz-landing-system : lando
2018-10-22 16:02:07 +00:00
Gijs Kruitbosch
cfd6524777 Bug 1500268 - remove customizableui toolbar's insertItem method, r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D9173

--HG--
extra : moz-landing-system : lando
2018-10-22 16:02:05 +00:00
Olli Pettay
34fa9d52b1 Bug 1498379 - browser_homeDrop.js and head.js rely on EventUtils.js to dispatch artificial mouseup after dnd, r=gijs
--HG--
extra : rebase_source : d167e5cc78ba9e027ceefcb4cd81dad272853ec1
2018-10-15 22:33:05 -04:00
Gurzau Raul
fd63f0c02c Backed out 2 changesets (bug 1498379, bug 1498381) for permafailing at /test/tabs/browser_multiselect_tabs_drag_to_bookmarks_toolbar.js a=backout
Backed out changeset 0178681fab81 (bug 1498379)
Backed out changeset 962c7631d98c (bug 1498381)
2018-10-15 01:14:40 +03:00
Olli Pettay
dce761f6fc Bug 1498379 - browser_homeDrop.js and customizableui/test/head.js rely on EventUtils.js to dispatch artificial mouseup after dnd, r=gijs 2018-10-13 13:10:15 +03:00
Jared Wein
d38a852ff0 Bug 1480532 - Remove 'Reload All Tabs' from tab context menu. r=Felipe
I left off the part about adding Reload Tabs to the All Tabs menu since the specs don't mention how this would appear with the New Container Tab menuitem and the Tab Manager project has been split off from the multiselect tabs project.

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

--HG--
extra : moz-landing-system : lando
2018-10-12 21:16:44 +00:00
Jared Wein
db73173d1f Bug 1496338 - Tab bar context menu should read 'Bookmark Selected Tab...' if only one tab is selected. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D8267

--HG--
extra : moz-landing-system : lando
2018-10-12 21:15:34 +00:00
Masayuki Nakano
3a7b6f337e Bug 1343955 - part 0: Fix bug of browser_panel_keyboard_navigation.js r=smaug
browser_panel_keyboard_navigation.js sets "Tab" to first argument of
EventUtils.synthesizeKey().  However, this causes inputting "T", "a", "b" with
a key press.  The test intended to emulate pressing the "Tab" key.  So, it
should be "KEY_Tab".

Note that this will cause permanent orange with the following patches since
synthesizeKey() will detect this kind of mistake.

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

--HG--
extra : moz-landing-system : lando
2018-10-02 14:21:11 +00:00
Jared Wein
435e84add2 Bug 1480529 - Changed 'Bookmark All Tabs' to 'Bookmark Tab' for single tab selections. r=Felipe
I changed the toolbar context menuitem from 'Bookmark All Tabs' to 'Bookmark Selected Tabs' because it is separated from a specific tab and thus it is not clear which tab would get bookmarked if only one is selected. This seemed much clearer to me in my testing. The wording of 'Bookmark Selected Tabs' is already used elsewhere where we have 'Reload Selected Tabs', 'Close Selected Tabs', etc.

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

--HG--
extra : moz-landing-system : lando
2018-10-02 16:24:43 +00:00