Commit graph

109 commits

Author SHA1 Message Date
Dave Townsend
95ccf713ef Bug 1864896: Autofix unused function arguments (browser/base/content). r=Gijs,application-update-reviewers,tabbrowser-reviewers,places-reviewers,bytesized,dao
Differential Revision: https://phabricator.services.mozilla.com/D202949
2024-03-19 14:59:20 +00:00
Dave Townsend
13cfe8a536 Bug 1882099: Only call _mouseenter and _mouseleave when entering or leaving the tab. r=tabbrowser-reviewers,dao
It's not clear that there is any user-visible bug here but it is causing unnecessary work and can
cause debugging to be harder than it needs to be.

Differential Revision: https://phabricator.services.mozilla.com/D202790
2024-02-27 19:35:54 +00:00
Natalia Csoregi
ba37842ca2 Backed out changeset aa5fc411278d (bug 1876522) for causing failures on browser_tab_tooltips.js. CLOSED TREE 2024-02-15 08:45:45 +02:00
DJ
7c1aff4b83 Bug 1876522 - only reset tab hover delay when mouse leaves tabstrip. r=tabbrowser-reviewers,mak
Differential Revision: https://phabricator.services.mozilla.com/D201245
2024-02-15 04:49:59 +00:00
Stanca Serban
5e205dac9e Backed out changeset 2443d0b3d17d (bug 1873025) for causing mochitests failures in browser_opentabs_recency.js. CLOSED TREE 2024-02-09 05:11:12 +02:00
Sam Foster
d40ed7e466 Bug 1873025 - Fix the displayed relative time for open tabs listing to match the recency sorting.r=jsudiaman,fxview-reviewers,tabbrowser-reviewers,dao
* Carry over lastAccessed times from tabs that haven't been seen/active this session.
* Use the lastSeenActive rather than lastAccessed timestamp for labeling open tabs in firefox view.

Differential Revision: https://phabricator.services.mozilla.com/D198892
2024-02-09 00:10:20 +00:00
Sandor Molnar
a63e23d14c Backed out changeset 25aa38248ad9 (bug 1873025) for causing bc failures at browser/base/content/test/tabs/browser_lastSeenActive.js CLOSED TREE 2024-02-06 00:25:46 +02:00
Sam Foster
fc331cd672 Bug 1873025 - Fix the displayed relative time for open tabs listing to match the recency sorting.r=jsudiaman,fxview-reviewers,tabbrowser-reviewers,dao
* Carry over lastAccessed times from tabs that haven't been seen/active this session.
* Use the lastSeenActive rather than lastAccessed timestamp for labeling open tabs in firefox view.

Differential Revision: https://phabricator.services.mozilla.com/D198892
2024-02-05 21:21:44 +00:00
DJ
2c25cf5feb 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
2024-01-12 19:29:18 +00:00
Narcis Beleuzu
11a7de2215 Backed out changeset fe2ffeac3ec2 (bug 1783521) for marionette failure on test_restore_manually.py . CLOSED TREE 2023-12-20 21:20:39 +02:00
DJ
d9aae7c836 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-12-20 15:56:51 +00:00
Sam Foster
6e6ac6197e 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
e7ba138c88 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
bfd5a700c3 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
4f4e82ce4b 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
fb28cc97e2 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
87bdf668d4 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
0289eeada1 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
9549861449 Backed out changeset 0ee2d1b2ec37 (bug 1809094) for causing android bustages. CLOSED TREE 2023-06-21 02:20:26 +03:00
Gregory Pappas
86acbd80ac 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
cf26dda371 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
1a03d0ff0d 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
d6ff8a9975 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
e23c623ada 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
170aaf5bb7 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
076aaf6671 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
077339c4e9 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
bfd7c98ba3 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
0564edd687 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
849bfbb19b 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
a1eb3c4eb8 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
24b08f1f9f 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
14f328f107 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
b0b472c28d 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
d0e9f50241 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
56b156bf6a 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
bdd15984a3 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
257a6beb7b 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
488c7066ed 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
b2d1e0cb30 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
ca77ba9aa2 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
51f6dd7336 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
cfc15812c6 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
641797c018 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
a7bf50d1d1 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
feb380e741 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
5b9b440b1f 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
c8b625a20e 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
9de9397e15 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
bf9bf52bb8 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