Commit graph

62 commits

Author SHA1 Message Date
Kagami Sascha Rosylight
8258e76e3b Bug 1635018 - Part 2: Replace dragexit with dragleave in browser/ r=Gijs,mak
Differential Revision: https://phabricator.services.mozilla.com/D121190
2021-08-05 14:33:39 +00:00
Jared Wein
c4e12413fb Bug 1695472 - Add a mutation observer for fullscreen changes so we don't have to rely on timing of resize events. r=Gijs
A resize observer was also introduced to improve performance through coalesence of 'resize' events.

Differential Revision: https://phabricator.services.mozilla.com/D116522
2021-06-08 05:11:13 +00:00
Alexandru Michis
f2f6bad653 Backed out changeset 7fa771d9f62d (bug 1695472) for causing bc failures in browser_bug1620341.js (Bug 1714691) 2021-06-05 11:03:34 +03:00
Jared Wein
a634816fff Bug 1695472 - Add a mutation observer for fullscreen changes so we don't have to rely on timing of resize events. r=Gijs
A resize observer was also introduced to improve performance through coalesence of 'resize' events.

Differential Revision: https://phabricator.services.mozilla.com/D116522
2021-06-04 20:47:44 +00:00
James Teh
a8a9eee88d Bug 1700708: Don't insert the browser for unselected browser tabs when calling getRelatedElement. r=Gijs,dao
Otherwise, callers might end up unintentionally binding the browser for lazy background tabs.
This was happening when a11y queried the LABEL_FOR relation while building the a11y tree, causing all lazy tabs to be loaded.
All callers of this method only need it to insert a browser when the tab is selected anyway.

Differential Revision: https://phabricator.services.mozilla.com/D114566
2021-05-21 05:17:56 +00:00
Daisuke Akatsuka
6b099d836c Bug 1710289: Avoid pasting the content of clipboard to urlbar upon clicking on new tab button and tab bar. r=masayuki,adw
Differential Revision: https://phabricator.services.mozilla.com/D114700
2021-05-11 04:58:40 +00:00
Jared Wein
a247ea4bb2 Bug 1696360 - Disable tab sliding animation if prefers-reduced-motion is set. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D110983
2021-04-13 13:51:19 +00:00
Dão Gottwald
9115c44d2f Bug 1695292 - update tabstrip scroll buttons hover state to be consistent with Proton design. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D110933
2021-04-06 14:18:18 +00:00
Dão Gottwald
34e8f87e4d Bug 1696438 - Fix pinned tab positioning. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D110909
2021-04-06 14:18:18 +00:00
Alexandru Michis
0a0ec7a076 Backed out 2 changesets (bug 1695292, bug 1696438) for causing xpcshell failures in test_trr_cancel.js
CLOSED TREE

Backed out changeset 48c2e15e0472 (bug 1695292)
Backed out changeset 4b1eb7d5fe2d (bug 1696438)
2021-04-06 19:20:34 +03:00
Dão Gottwald
cf45fa64fb Bug 1695292 - update tabstrip scroll buttons hover state to be consistent with Proton design. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D110933
2021-04-06 14:18:18 +00:00
Dão Gottwald
85eda6a287 Bug 1696438 - Fix pinned tab positioning. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D110909
2021-04-06 14:18:18 +00:00
Daisuke Akatsuka
45e9ba0e09 Bug 1701638: Call preventDefault for middle click event on a tab to avoid pasting by the event. r=masayuki,adw
In this patch, avoid pasting action if the tab is removed by middle click.

Differential Revision: https://phabricator.services.mozilla.com/D110788
2021-04-06 00:31:36 +00:00
Jared Wein
f561f5d7a4 Bug 1699841 - Hide the secondary text for locales where it doesn't fit, and always make the overlay icon visible in such locales. r=desktop-theme-reviewers,harry
Differential Revision: https://phabricator.services.mozilla.com/D109842
2021-03-26 22:55:20 +00:00
Jared Wein
5f3ba32ae9 Bug 1688301 - Use a special attribute to insert the space between the pinned tabs and unpinned tabs to account for possible hidden tabs. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D105381
2021-03-12 18:19:42 +00:00
Jared Wein
d4b6efe707 Bug 1688294 - Account for the padding on the scrollbox when positioning pinned tabs. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D103953
2021-02-11 22:05:53 +00:00
Bogdan Tara
d3343662ce Backed out 4 changesets (bug 1688294, bug 1688072, bug 1689852, bug 1690775) for assertion failure at FetchDriver.cpp CLOSED TREE
Backed out changeset 875a43504848 (bug 1690775)
Backed out changeset 977472ead74c (bug 1688294)
Backed out changeset 0788a5748ee1 (bug 1688072)
Backed out changeset d2ca3aec6fd6 (bug 1689852)
2021-02-11 07:49:56 +02:00
Jared Wein
73dc85c622 Bug 1688294 - Account for the padding on the scrollbox when positioning pinned tabs. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D103953
2021-02-10 16:16:20 +00:00
Bogdan Tara
3e381638b2 Backed out 3 changesets (bug 1688294, bug 1688072, bug 1689852)for wpt leakcheck failures CLOSED TREE
Backed out changeset 32f3082f44bb (bug 1688294)
Backed out changeset bd374838529f (bug 1688072)
Backed out changeset b87c6bdada6e (bug 1689852)
2021-02-11 00:35:17 +02:00
Jared Wein
9062f47ef0 Bug 1688294 - Account for the padding on the scrollbox when positioning pinned tabs. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D103953
2021-02-10 16:16:20 +00:00
Mark Banner
c4afa9e9ad Bug 1687235 - Enable ESLint rule no-setter-return for browser/. r=mossop,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D102152
2021-01-26 13:42:38 +00:00
Brindusan Cristian
70ab748bed Backed out 5 changesets (bug 1687235) for mochitest failures at test_menulist_null_value.xhtml. CLOSED TREE
Backed out changeset 638c802ca1d1 (bug 1687235)
Backed out changeset ec830b771bce (bug 1687235)
Backed out changeset a7c933ddecfd (bug 1687235)
Backed out changeset c36493fb0599 (bug 1687235)
Backed out changeset 6eb33ad5d460 (bug 1687235)
2021-01-26 10:58:43 +02:00
Mark Banner
c793c1efb7 Bug 1687235 - Enable ESLint rule no-setter-return for browser/. r=mossop,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D102152
2021-01-25 22:27:19 +00:00
Oriol Brufau
97892639fb Bug 1580003 - Remove isLastMultiSelectChange parameter. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D45245
2021-01-20 11:56:54 +00:00
Narcis Beleuzu
f108cdcd91 Backed out changeset 81be428b9df0 (bug 1580003) for bc failures on browser_multiselect_tabs_close_other_tabs.js. CLOSED TREE 2021-01-14 21:19:04 +02:00
Oriol Brufau
04f94d6d52 Bug 1580003 - Remove isLastMultiSelectChange parameter. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D45245
2021-01-14 15:32:24 +00:00
Olli Pettay
aff747d5bc Bug 1675660 - Permanent private browsing new tab pages should have a consistent tab title (either always 'New Tab' or always 'Private Browsing'), r=Gijs
https://treeherder.mozilla.org/#/jobs?repo=try&revision=cd9437abac50dd7524518788cebbc5df5b389eb4

Differential Revision: https://phabricator.services.mozilla.com/D100641
2021-01-04 13:34:39 +00:00
Mike Conley
632be8b06a Bug 1661304 - Add an initial UserInteraction for tab opening. r=Gijs,data-review=chutten
Depends on D93590

Differential Revision: https://phabricator.services.mozilla.com/D88896
2020-10-20 20:17:50 +00:00
Narcis Beleuzu
1e5c5c405a Backed out 7 changesets (bug 1661304) for xpcshell failures on test_UserInteraction_annotations.js. CLOSED TREE
Backed out changeset 10459893968e (bug 1661304)
Backed out changeset 234f7dd34c95 (bug 1661304)
Backed out changeset e1954838e36f (bug 1661304)
Backed out changeset 6f0f76bb873d (bug 1661304)
Backed out changeset 5186bba48ce7 (bug 1661304)
Backed out changeset 442ce3a64bab (bug 1661304)
Backed out changeset 88b46f9a789e (bug 1661304)
2020-10-19 21:39:07 +03:00
Mike Conley
5bdc893fa8 Bug 1661304 - Add an initial UserInteraction for tab opening. r=Gijs,data-review=chutten
Differential Revision: https://phabricator.services.mozilla.com/D88896
2020-10-19 17:43:09 +00:00
Mike Conley
483aec57a3 Bug 1641243 - Make sure we can show tab switch warning when using in-order keyboard navigation. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D77141
2020-05-28 17:02:38 +00:00
Dão Gottwald
8b359d93c3 Bug 1638030 - Fix broken gBrowser.animationsEnabled checks. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D75344
2020-05-15 10:30:09 +00:00
aarushivij
972799f8aa Bug 1634013 - Remove the browser.tabs.multiselect pref r=dao
Differential Revision: https://phabricator.services.mozilla.com/D73074
2020-04-29 20:52:32 +00:00
Dão Gottwald
9b034b0eaf Bug 1628360 - Set aria-label on tabs-newtab-button. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D70380

--HG--
extra : moz-landing-system : lando
2020-04-09 15:52:44 +00:00
Nika Layzell
77d17e2914 Bug 1610614 - Part 3: Check for gFissionBrowser in dragover handler, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D61925

--HG--
extra : moz-landing-system : lando
2020-02-10 21:34:36 +00:00
Kendall Werts
a3b87c2eaa Bug 1613250 - Bring long press for new container tab menu back. r=Gijs,flod
Added long press as well as the old tooltip language back
and updated 2 tests.

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

--HG--
extra : moz-landing-system : lando
2020-02-05 21:50:58 +00:00
Noemi Erli
931c2134af Backed out changeset 579552c57946 (bug 1613250) for causing failures in test_tabbrowser.xhtml CLOSED TREE 2020-02-05 22:00:34 +02:00
Kendall Werts
451f25113a Bug 1613250 - Bring long press for new container tab menu back. r=Gijs,flod
Added long press as well as the old tooltip language back

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

--HG--
extra : moz-landing-system : lando
2020-02-05 17:51:12 +00:00
Kendall Werts
7f966c7fbf Bug 1606265 - Work on new tab containers menu popup. r=fluent-reviewers,Gijs,flod
Added right click on new tab button to open containers menu.
Removed long press and added option to enable left click in preferences menu.
Renamed privacy.userContext.longPressBehavior to privacy.userContext.newTabContainer.enabled

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

--HG--
extra : moz-landing-system : lando
2020-01-23 22:28:30 +00:00
Jan Sonntag
0d470191cd Bug 616130 - Add option to disable tab detaching r=dao
Differential Revision: https://phabricator.services.mozilla.com/D60180

--HG--
extra : moz-landing-system : lando
2020-01-17 13:44:29 +00:00
Dão Gottwald
37e4eda7ad Bug 1584498 - Set tab drop indicator width and negative margin in CSS instead of calculating them on the fly. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D59091

--HG--
extra : moz-landing-system : lando
2020-01-08 15:19:19 +00:00
Carson Greene
64dd6427d1 Bug 1576911 - Make ThumbnailsChild a JSWindowActorChild instead of ActorChild r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D45957

--HG--
extra : moz-landing-system : lando
2019-11-06 23:32:35 +00:00
Brian Grinstead
34fa4fa528 Bug 1514926 - Convert the arrowscrollbox binding to a Custom Element r=dao
This uses Shadow DOM slotting instead of XBL, and migrates styles from
using XBL anonymous traversal to using CSS Shadow Parts.

This also removes the basecontrol binding, since this was the last
binding to extend it.

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

--HG--
rename : toolkit/content/widgets/scrollbox.xml => toolkit/content/widgets/arrowscrollbox.js
extra : moz-landing-system : lando
2019-10-03 04:21:15 +00:00
Dorel Luca
d1c4f9139e Backed out changeset 5e221240fc1d (bug 1514926) for mochitest failures in browser/tools/mozscreenshots/primaryUI/browser_primaryUI.js
--HG--
rename : toolkit/content/widgets/arrowscrollbox.js => toolkit/content/widgets/scrollbox.xml
2019-10-03 06:08:18 +03:00
Brian Grinstead
98a08a3ce4 Bug 1514926 - Convert the arrowscrollbox binding to a Custom Element r=dao
This uses Shadow DOM slotting instead of XBL, and migrates styles from
using XBL anonymous traversal to using CSS Shadow Parts.

This also removes the basecontrol binding, since this was the last
binding to extend it.

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

--HG--
rename : toolkit/content/widgets/scrollbox.xml => toolkit/content/widgets/arrowscrollbox.js
extra : moz-landing-system : lando
2019-10-02 22:57:39 +00:00
Dão Gottwald
cb8c8ab22c Bug 1575238 - Remove tabs-newtab-button class. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D42656

--HG--
extra : moz-landing-system : lando
2019-08-28 13:45:21 +00:00
Sebastian Streich
db893cf0d7 Bug 1561056 - Pass CSP on Link-drop r=ckerschb,Gijs,farre
***
Fix linux build

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

--HG--
extra : moz-landing-system : lando
2019-08-20 12:43:02 +00:00
dennisschagt
3fb8915a37 Bug 1317138 - Summary: Add extra info in new-tab tooltip when containers are enabled r=jkt
Differential Revision: https://phabricator.services.mozilla.com/D37611

--HG--
extra : moz-landing-system : lando
2019-08-16 08:47:19 +00:00
Daniel Varga
95ce40b8d4 Backed out changeset a7ac9f64f6ea (bug 1561056) for build bustage at widget/gtk/nsDragService. On a CLOSED TREE 2019-08-16 09:30:39 +03:00
Sebastian Streich
c051155f99 Bug 1561056 - Pass CSP on Link-drop r=ckerschb,Gijs,farre
Differential Revision: https://phabricator.services.mozilla.com/D37563

--HG--
extra : moz-landing-system : lando
2019-08-15 18:44:00 +00:00