Commit Graph

98 Commits

Author SHA1 Message Date
Sam Foster
9dd38f735f Bug 1852622 - Track a lastSetActive property on each tab and use that when sorting open tabs for recency in firefox view. r=jsudiaman,Gijs,fxview-reviewers,tabbrowser-reviewers,mak,sclements
Differential Revision: https://phabricator.services.mozilla.com/D189444
2023-10-05 23:44:57 +00:00
Iulian Moraru
dc6135c698 Backed out changeset 5f5354d30a45 (bug 1783521) for causing bc failures on browser_ext_windows_create_url.js. CLOSED TREE 2023-09-08 10:21:20 +03:00
DJ
57144039b3 Bug 1783521 - add card preview when inactive tab hovered. r=settings-reviewers,desktop-theme-reviewers,tabbrowser-reviewers,fluent-reviewers,flod,dao,mconley
Differential Revision: https://phabricator.services.mozilla.com/D184260
2023-09-08 02:47:16 +00:00
Dão Gottwald
5e89f4908b Bug 1849904 - Convert a bunch of psuedo-boolean tab strip attributes to be standard boolean attributes. r=mconley,tabbrowser-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D186729
2023-08-29 06:52:49 +00:00
Gregory Pappas
7b8c07142a Bug 1809094 - Implement tab.autoDiscardable property r=robwu,geckoview-reviewers,extension-reviewers,Gijs,owlish,tabbrowser-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D166440
2023-06-21 07:50:17 +00:00
Cosmin Sabou
811d79e739 Backed out changeset f3fe6cc42791 (bug 1809094) for bc failures on browser_ext_tabs_autoDiscardable.js. 2023-06-21 03:24:56 +03:00
Gregory Pappas
ad10790d6e Bug 1809094 - Implement tab.autoDiscardable property r=robwu,geckoview-reviewers,extension-reviewers,Gijs,owlish,tabbrowser-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D166440
2023-06-20 23:59:08 +00:00
Sandor Molnar
1e6677e684 Backed out changeset 0ee2d1b2ec37 (bug 1809094) for causing android bustages. CLOSED TREE 2023-06-21 02:20:26 +03:00
Gregory Pappas
b89c0a7e67 Bug 1809094 - Implement tab.autoDiscardable property r=robwu,geckoview-reviewers,extension-reviewers,Gijs,owlish,tabbrowser-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D166440
2023-06-20 23:06:37 +00:00
Itiel
213e2bd9a9 Bug 1830679 - Convert element.setAttribute(data-l10n-{id,args}) uses in the codebase to document.l10n.setAttributes(element, id, args) r=eemeli,Gijs,willdurand,extension-reviewers,settings-reviewers,search-reviewers,devtools-reviewers,fxview-reviewers,mconley,Standard8,jdescottes,kcochrane,tabbrowser-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D176791
2023-06-14 17:16:39 +00:00
Iulian Moraru
ff572127aa Backed out changeset 76c5afdda762 (bug 1830679) for causing xpcshell failures on test_VariablesView_filtering-without-controller.js. CLOSED TREE 2023-06-12 22:03:43 +03:00
Itiel
548aeccf66 Bug 1830679 - Convert element.setAttribute(data-l10n-{id,args}) uses in the codebase to document.l10n.setAttributes(element, id, args) r=eemeli,Gijs,willdurand,extension-reviewers,settings-reviewers,search-reviewers,devtools-reviewers,fxview-reviewers,mconley,Standard8,jdescottes,kcochrane,tabbrowser-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D176791
2023-06-12 17:16:35 +00:00
Niklas Baumgardner
cafd4fd680 Bug 1811115 - Make tab owner a weak reference. r=dao,mhowell
Differential Revision: https://phabricator.services.mozilla.com/D179558
2023-06-06 13:26:39 +00:00
Iulian Moraru
9a36d620f9 Backed out changeset bbb3bbd9b6af (bug 1830679) for causing dt failures on browser_storage_cache_delete.js. CLOSED TREE 2023-05-18 22:09:25 +03:00
Itiel
801dad3de3 Bug 1830679 - Convert element.setAttribute(data-l10n-{id,args}) uses in the codebase to document.l10n.setAttributes(element, id, args) r=eemeli,willdurand,extension-reviewers,settings-reviewers,search-reviewers,devtools-reviewers,fxview-reviewers,mconley,Standard8,jdescottes,kcochrane
Differential Revision: https://phabricator.services.mozilla.com/D176791
2023-05-18 17:19:45 +00:00
Dão Gottwald
b4df38a218 Bug 1819359 - Replace removeTab's byMouse parameter with triggeringEvent parameter. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D171459
2023-03-02 15:22:00 +00:00
Gijs Kruitbosch
0a7332af5c Bug 1635761 - disable cancel drag animation on macOS for tabs dragged out of the window, r=emilio,mconley
Differential Revision: https://phabricator.services.mozilla.com/D166963
2023-01-17 19:48:24 +00:00
Dão Gottwald
4b170423dd Bug 1809465 - Replace _hoveredTab with a private tab property. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D166441
2023-01-10 17:10:30 +00:00
Oriol Brufau
efa6c3a035 Bug 1808661 - Remove beforehovered and afterhovered. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D166094
2023-01-06 21:48:02 +00:00
Oriol Brufau
81252a2a9f Bug 1808661 - Remove before-multiselected and beforeMultiselected. r=Gijs,dao
Depends on D166026

Differential Revision: https://phabricator.services.mozilla.com/D166027
2023-01-06 21:48:01 +00:00
Sandor Molnar
8df493554b Backed out 5 changesets (bug 1808661) for causing bc failures in browser/base/content/test/tabs/browser_positional_attributes.js CLOSED TREE
Backed out changeset 16871d37b859 (bug 1808661)
Backed out changeset 607a282e25f5 (bug 1808661)
Backed out changeset c2ad604be361 (bug 1808661)
Backed out changeset b22c7589a7bb (bug 1808661)
Backed out changeset b0c1ee751b7a (bug 1808661)
2023-01-06 22:21:10 +02:00
Oriol Brufau
ae8fa22d48 Bug 1808661 - Remove beforehovered and afterhovered. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D166094
2023-01-06 19:38:54 +00:00
Oriol Brufau
a4c57bb663 Bug 1808661 - Remove before-multiselected and beforeMultiselected. r=Gijs,dao
Depends on D166026

Differential Revision: https://phabricator.services.mozilla.com/D166027
2023-01-06 19:38:54 +00:00
Emilio Cobos Álvarez
4b6e8f0d7d Bug 1802142 - Remove layer="true" from tab throbber. r=dao
It doesn't do much now that we're not using XUL layout, and it's
unnecessary because the tab throbber animation uses CSS transforms
nowadays anyways.

Depends on D162850

Differential Revision: https://phabricator.services.mozilla.com/D162851
2022-11-23 16:03:46 +00:00
Oriol Brufau
ce0f675cd9 Bug 1764452 - Avoid tabs.onUpdated events for 'attention' when value doesn't change. r=Gijs,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D143553
2022-04-21 08:30:07 +00:00
Sarah Clements
ac27d9d5d6 Bug 1747430 - remove tabIndicatorReplacesIcon in browser tabs css file r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D137775
2022-02-11 16:19:52 +00:00
Emilio Cobos Álvarez
68ebef3aff Bug 1718220 - Try to sync-decode to hopefully fix some frequent flickering tests.
MANUAL PUSH: Hopefully trivially fixes some orange CLOSED TREE.
2022-02-03 22:29:02 +01:00
Emilio Cobos Álvarez
6145598468 Bug 1718220 - Make favicons regular HTML images. r=dao
The code for rendering these is better than for <xul:image>. Remove
validate="never" because it'd do nothing with HTML images and we don't
need this (favicons are data: URIs so they are always cached / never
revalidated).

Differential Revision: https://phabricator.services.mozilla.com/D137746
2022-02-03 18:35:25 +00:00
Sandor Molnar
c18bc96ff4 Backed out changeset 12ab8e6c1362 (bug 1642218) for causing browser-chrome failures in browser_tabMuteAffectsPiP. CLOSED TREE 2022-01-14 19:20:55 +02:00
Rashelle Hopkins
d520b1e2c8 Bug 1642218 - Make PiP reflect tab mute r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D134891
2022-01-14 16:43:45 +00:00
Bernard Igiri
1b2239ebc6 Bug 1714276 - Limit height of tab when font size is changed r=dao,desktop-theme-reviewers
Set a maximum height on tabs to prevent it from expanding and moving the display of the web page.

Differential Revision: https://phabricator.services.mozilla.com/D134169
2022-01-06 16:33:27 +00:00
kz04px
4e48ff311d Bug 1684876 - Separate Play and Mute tab menu icons and functionality r=Gijs,alwu,flod
Differential Revision: https://phabricator.services.mozilla.com/D128280
2021-10-26 16:33:10 +00:00
Toshihito Kikuchi
37ac4d2ae7 Bug 1715858 - Part2. Add telemetry scalars to count the tab unload and reload events. r=NeilDeakin
This patch adds two scalars:

* `browser.engagement.tab_unload_count`: Incremented by 1 when TabUnloader
  successfully unloaded a tab.
* `browser.engagement.tab_reload_count`: Incremented by 1 when an unloaded
  tab was reloaded.

The value of `browser.engagement.tab_reload_count` will be the same as
the count of the histogram `TAB_UNLOAD_TO_RELOAD` data, but we still need
this scalar to compare it to `browser.engagement.tab_unload_count`, which
tells us the ratio of reload-after-unload tabs to all unloaded tabs.

Depends on D120019

Differential Revision: https://phabricator.services.mozilla.com/D120020
2021-07-22 21:15:00 +00:00
Toshihito Kikuchi
31e2140144 Bug 1715858 - Part1. Add a new telemetry histogram TAB_UNLOAD_TO_RELOAD. r=NeilDeakin
The new histogram `TAB_UNLOAD_TO_RELOAD` records how long a tab had been
unloaded until it was reload by a user.  With this data, we can evaluate
the selection logic to choose a tab to unload.  For example, if many of
unloaded tabs are reloaded within 30 seconds or so, we unload a wrong tab.

Differential Revision: https://phabricator.services.mozilla.com/D120019
2021-07-22 21:15:00 +00:00
Gijs Kruitbosch
3a8f64863a Bug 1711519 - remove tabbrowser non-proton code and gProton global browser window property, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D116632
2021-06-03 11:41:55 +00:00
Neil Deakin
a35f7a2e52 Bug 1709379, don't special case picture in picture mode in tooltips as the button is still a mute button, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D115555
2021-05-31 13:09:44 +00:00
Jared Wein
d0b18fe433 Bug 1696553 - Move the loading burst inside of the tab-background so it will get clipped by the tab shape and border radius. r=desktop-theme-reviewers,ntim
Differential Revision: https://phabricator.services.mozilla.com/D110139
2021-04-05 18:20:27 +00:00
Jared Wein
4f4a385177 Bug 1701707 - Fix browser_mute_webAudio.js by first hovering the tab-icon-stack before hovering the audio icon. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D110591
2021-04-01 21:20:13 +00:00
Jared Wein
dbfd3845e0 Bug 1701003 - Move proton tabs to the proton general pref. r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D109764
2021-03-26 22:55:21 +00:00
Jared Wein
b6c2f73bcd Bug 1686529 - Update the tab and toolbar colors for Proton Light and Proton Dark themes. r=desktop-theme-reviewers,harry
Differential Revision: https://phabricator.services.mozilla.com/D109418
2021-03-26 03:44:18 +00:00
smolnar
a034924d85 Backed out changeset c10c8cecab42 (bug 1686529) browser-chrome failures in browser_preferences_usage. CLOSED TREE 2021-03-26 05:07:08 +02:00
Jared Wein
c9e27dbfff Bug 1686529 - Update the tab and toolbar colors for Proton Light and Proton Dark themes. r=desktop-theme-reviewers,harry
Differential Revision: https://phabricator.services.mozilla.com/D109418
2021-03-26 01:17:01 +00:00
Tim Nguyen
7005daf4e7 Bug 1693066 - Implement new proton tab audio indicator design. r=jaws,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D107733
2021-03-13 14:17:36 +00:00
Zibi Braniecki
3b41a90ec0 Bug 1697144 - Fix context line tab for non-proton, and push the line 1px up in proton. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D107690
2021-03-09 18:00:46 +00:00
Zibi Braniecki
b9f36709e3 Bug 1696525 - Update Proton container tab styling using latest spec. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D107549
2021-03-08 21:54:27 +00:00
Emma Malysz
709cbbe608 Bug 1693902, clicking pip label should change tab r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D106034
2021-02-24 15:51:51 +00:00
Jared Wein
94d71e0c5b Bug 1688072 - Tweak the dimensions of the tabs to get closer to the Proton design. r=fluent-reviewers,dao,flod
Differential Revision: https://phabricator.services.mozilla.com/D102802
2021-02-11 22:05:52 +00:00
Jared Wein
1a69c646db Bug 1689852 - Show autoplay blocked and picture-in-picture text label in tab. r=mconley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D103826
2021-02-11 22:05:52 +00:00
Tim Nguyen
5c5595ce5c Bug 1692113 - Stop relying on 'true' value of getAttribute('hidden'). r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D104820
2021-02-11 15:22:18 +00:00
Bogdan Tara
99f030e4d0 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