Commit Graph

982 Commits

Author SHA1 Message Date
Gijs Kruitbosch
92d5c97d00 Bug 1586136 - enable browser_customization_context_menus.js for fission r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D48160
2019-10-04 09:36:16 +00:00
Tim Nguyen
c46f15fbf3 Bug 1586141 - Remove document.createXULElement("textbox") usages from tests. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D48138
2019-10-04 00:56:28 +00:00
Dão Gottwald
37548a28a9 Bug 1582797 - OverflowableToolbar should respond to resize events immediately. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D46624
2019-09-25 12:09:32 +00:00
Harry Twyford
4dcbbda2be Bug 1536312 - Reenable browser/components/customizableui/test/browser_884402_customize_from_overflow.js on Mac and Windows. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D45886
2019-09-23 14:44:49 +00:00
Dão Gottwald
5460be55c4 Bug 1580538 - Make OverflowableToolbar work without overflow:hidden. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D46297
2019-09-20 13:11:23 +00:00
Gijs Kruitbosch
a9707e8401 Bug 1561581 - listen for key events in panels 'later' than the builtin menu handling code, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D44679
2019-09-18 22:48:15 +00:00
Tim Nguyen
2be30c16a5 Bug 1534455 - Convert autocomplete binding to a customized input element. r=dao,bgrins
Differential Revision: https://phabricator.services.mozilla.com/D33250
2019-09-17 06:22:42 +00:00
Mihai Alexandru Michis
7aa1fc73e6 Backed out changeset e859a5aebb5b (bug 1534455) for causing failures at test_bug437844.xul 2019-09-17 07:51:36 +03:00
Tim Nguyen
7d98f6a96f Bug 1534455 - Convert autocomplete binding to a customized input element. r=dao,bgrins
Differential Revision: https://phabricator.services.mozilla.com/D33250
2019-09-17 01:35:25 +00:00
monikamaheshwari
edb30ffaec Bug 1578683 Turn on ESLint rule prefer-boolean-length-check for toolkit and browser r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D45629
2019-09-14 09:39:26 +00:00
Cosmin Sabou
b785499307 Backed out changeset 21ee43d26d0f (bug 1536312) for turning bug 1536312 into permafail. 2019-09-14 02:14:18 +03:00
Harry Twyford
9c54a7801c Bug 1536312 - Reenable browser/components/customizableui/test/browser_884402_customize_from_overflow.js on Mac and Windows. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D45886
2019-09-13 21:39:06 +00:00
Edouard Oger
524d154c78 Bug 1570569 p1 - Add Sync Disabled state to Synced Tabs menu. r=vbudhram,fluent-reviewers,flod,markh
Differential Revision: https://phabricator.services.mozilla.com/D44484
2019-09-11 01:17:46 +00:00
harry
17bf0b1e94 Bug 1578485 - Re-enable browser_918049_skipintoolbarset_dnd.js. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D45031
2019-09-06 17:17:07 +00:00
Coroiu Cristina
c66efcc985 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
2019-09-05 09:56:36 +00:00
harry
c6e365ef45 Bug 1577000 - Fix Megabar breakout width on window resize. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D43674
2019-09-03 22:28:39 +00:00
Coroiu Cristina
5fbe635dfc 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
ff91941345 Bug 1577000 - Fix Megabar breakout width on window resize. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D43674
2019-09-02 18:12:22 +00:00
Sylvestre Ledru
8cad86666c Bug 1575249 - Ride along: remove +x permissions on source files r=Ehsan
Depends on D42672

Differential Revision: https://phabricator.services.mozilla.com/D42673
2019-08-21 09:57:03 +00:00
Sebastian Hengst
93296f412a 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
2019-08-19 15:54:56 +00:00
Razvan Maries
60db28b304 Bug 1468890 - Disabled browser_967000_button_charEncoding.js on Linux. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D42458
2019-08-19 09:25:05 +00:00
meghaaa
2915192b47 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
0f4a61c1c2 Bug 1566952: Part 1 - Annotate mochitests that crash with Fission enabled. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D38725
2019-07-17 13:37:48 -07:00
Boris Zbarsky
5c7393e484 Bug 1568278. Remove various unnecessary QIs to nsIDOMWindow. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D39065
2019-07-24 01:26:07 +00:00
Gijs Kruitbosch
97354cba7f Bug 1469113 - fix intermittent issues in browser_884402_customize_from_overflow.js, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D39002
2019-07-23 17:17:00 +00:00
James Teh
1f1c367bce 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
2019-07-18 04:55:51 +00:00
Gijs Kruitbosch
bdf74e092d 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
2019-07-12 16:27:58 +00:00
Dorel Luca
a2abe7cb8f 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
eb523878a2 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
2019-07-12 12:35:59 +00:00
harry
0868f3b12f 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
2019-07-06 21:10:33 +00:00
Victor Porof
8eb72fd3fc Bug 1561435 - Format browser/components/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D36042
2019-07-05 09:53:32 +02:00
Mihai Alexandru Michis
372f3445c6 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
86d1612103 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
2019-07-04 03:57:47 +00:00
Andreea Pavel
bcc59449cd 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
809280f5cb 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
2019-07-02 14:47:07 +00:00
Andrew Swan
c124590602 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
2019-06-20 14:09:37 -07:00
Ciure Andrei
360ee087a8 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)
2019-06-28 00:21:50 +03:00
Andrew Swan
c20b711ae1 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
2019-06-20 14:09:37 -07:00
James Teh
6cf282f002 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
2019-06-14 09:44:55 +00:00
Michael Krasnov
d62ab08276 Bug 1530785 - Change calls to deprecated waitForCondition r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D32626
2019-06-04 11:28:33 +00:00
shindli
63af86e5ca 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
b36b7c80cb 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
2019-05-24 15:31:39 +00:00
Andrew Swan
1ab513d145 Bug 1519577 Convert toolbarbutton to a custom element r=surkov
Differential Revision: https://phabricator.services.mozilla.com/D31941
2019-05-20 10:01:02 -07:00
Gijs Kruitbosch
64566202e5 Bug 1547573 - fix sorting in and add test for themes dropdown in customize mode, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D30392
2019-05-09 18:22:53 +00:00
James Teh
fc05c5a674 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
2019-05-08 05:18:17 +00:00
James Teh
d26dcaee2e 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
2019-05-02 10:35:57 +00:00
James Teh
7c62cc8c15 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
2019-05-02 10:35:49 +00:00
Joel Maher
41ecc30f4a Bug 1546459 - remove subsuite=clipboard from manifests. r=ahal
remove subsuite=clipboard from manifests

Differential Revision: https://phabricator.services.mozilla.com/D28521
2019-05-01 08:16:44 +00:00
Ciure Andrei
2355f6b949 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
dff2e75717 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
2019-05-01 04:01:35 +00:00