Commit Graph

66 Commits

Author SHA1 Message Date
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
Jared Wein
69027631cb 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-10 16:16:20 +00:00
Jared Wein
8d67a33bb0 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-10 16:16:19 +00:00
Bogdan Tara
8a4936d982 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
d5174fab83 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-10 16:16:20 +00:00
Jared Wein
d8dcdd424f 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-10 16:16:19 +00:00
Kris Maglione
caf1d0e771 Bug 1685801: Part 6 - Move some front-end code from BrowserUtils to a separate module. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D101486
2021-01-28 20:58:43 +00:00
Mihai Alexandru Michis
e10f79168a Backed out 12 changesets (bug 1685801) for causing bc failures in browser_ctrlTab.js
CLOSED TREE

Backed out changeset 021924b62f13 (bug 1685801)
Backed out changeset 38cc10101c1f (bug 1685801)
Backed out changeset 9ab9574ac72a (bug 1685801)
Backed out changeset 1a7f259cc2ec (bug 1685801)
Backed out changeset b267b19a7f6e (bug 1685801)
Backed out changeset 7dfcf0257487 (bug 1685801)
Backed out changeset ee0d0169b079 (bug 1685801)
Backed out changeset 0c358ee51951 (bug 1685801)
Backed out changeset 338ab91af557 (bug 1685801)
Backed out changeset a49415007aaf (bug 1685801)
Backed out changeset b91098299143 (bug 1685801)
Backed out changeset edf6209861a8 (bug 1685801)
2021-01-28 22:55:11 +02:00
Kris Maglione
2d5f151948 Bug 1685801: Part 6 - Move some front-end code from BrowserUtils to a separate module. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D101486
2021-01-28 05:25:03 +00:00
Jared Wein
1776c0e6e2 Bug 1688237 - Reduce the clickable area for the Mute/Unmute on the tab to the text and icon. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D102961
2021-01-28 00:18:29 +00:00
Butkovits Atila
91af0d3269 Backed out 12 changesets (bug 1685801) for causing failures on browser_fission_maxOrigins.js. CLOSED TREE
Backed out changeset 0d7153110519 (bug 1685801)
Backed out changeset 5175062925c7 (bug 1685801)
Backed out changeset 2c1250e786f0 (bug 1685801)
Backed out changeset 0ce3c773ba74 (bug 1685801)
Backed out changeset 9d51c6e24dee (bug 1685801)
Backed out changeset 3f4dc6349441 (bug 1685801)
Backed out changeset a80de9abb9f8 (bug 1685801)
Backed out changeset 30786893a5e7 (bug 1685801)
Backed out changeset 8007b12d6e32 (bug 1685801)
Backed out changeset fa814f4b7125 (bug 1685801)
Backed out changeset 14e4e47ee99f (bug 1685801)
Backed out changeset d9f1feba9454 (bug 1685801)
2021-01-28 07:15:59 +02:00
Kris Maglione
cebae4d59b Bug 1685801: Part 6 - Move some front-end code from BrowserUtils to a separate module. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D101486
2021-01-28 03:32:43 +00:00
Mark Banner
8a9fc4165b 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
201069fdac 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
36cf48f89d 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
Jared Wein
368e3b58a8 Bug 1681421 - Implement separated Proton tab design behind browser.proton.enabled pref. r=dao,Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D99823
2021-01-21 15:32:46 +00:00
Csoregi Natalia
3ebb8029b2 Backed out 2 changesets (bug 1681421) for failures on browser_devtools-record-capture.js. CLOSED TREE
Backed out changeset b4556b1e292c (bug 1681421)
Backed out changeset b649f963a6b1 (bug 1681421)
2021-01-20 22:36:09 +02:00
Jared Wein
ed913f7e6b Bug 1681421 - Implement separated Proton tab design behind browser.proton.enabled pref. r=dao,Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D99823
2021-01-20 17:11:36 +00:00
Oriol Brufau
16afb0e01f 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
2b5886c817 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
98b41b9fde Bug 1580003 - Remove isLastMultiSelectChange parameter. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D45245
2021-01-14 15:32:24 +00:00
Niklas Baumgardner
3b3f76d538 Bug 1667805 - Adding default favicon to tabs that don't have favicon when using PiP. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D91636
2020-09-28 22:44:04 +00:00
Niklas Baumgardner
40dca34520 Bug 1612648 - Picture in Picture tab mute options moved to overlay on tab image icon. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D90027
2020-09-23 19:17:18 +00:00
Mike Conley
afea9cf0bb Bug 1634796 - Add a panel that warns users before switching tabs when sharing the window over WebRTC. r=johannh,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D73734
2020-05-18 22:41:43 +00:00
aarushivij
265661a324 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
Emma Malysz
e4397c159d Bug 1590573, create a unified approach for caching fragments in our Custom Elements r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D58866
2020-04-08 16:17:50 +00:00
Razvan Maries
155eb99120 Backed out changeset 6b7c81561ecc (bug 1590573) for marionette perma failures on test_refresh_firefox.py. CLOSED TREE 2020-04-08 07:43:49 +03:00
Emma Malysz
5944c8268e Bug 1590573, create a unified approach for caching fragments in our Custom Elements r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D58866
2020-04-07 23:56:45 +00:00
Dão Gottwald
30249a55f7 Bug 1620626 - Move checkEmptyPageOrigin to BrowserUtils. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D65861
2020-03-09 15:52:06 +00:00
Brian Grinstead
66142236d7 Bug 1592054 - Initialize tabbrowser-tab contents before appending it into the DOM r=dao
This prevents a brief flash of unstyled tab content that can be noticed especially
in debug builds.

What happens currently is that we first append child content into the tab
upon connection, then we do attribute inheritance which sets the relevant
styling properties.

With this change we first set up the child content and attributes _before_ appending
the tab into the DOM, so that it's ready to render after being appended.

Differential Revision: https://phabricator.services.mozilla.com/D50837
2019-10-29 17:23:29 +00:00
Brian Grinstead
3c5aa12456 Bug 1590554 - Cache the parsed tabbrowser-tab fragment on the constructor instead of on each element;r=Gijs
This means we only need to call parseXULToFragment a max of once per document
instead of a maximum of once per tab (which in practice isn't any better than
not caching since we only run connectedCallback logic once per tab).

Differential Revision: https://phabricator.services.mozilla.com/D50137
2019-10-22 22:44:52 +00:00
Abdoulaye Oumar Ly
273a130a29 Bug 1481055 - Improve the consistency of params of tab multiselection functions in gBrowser. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D36356
2019-07-22 17:16:40 +00:00
Narcis Beleuzu
e3abc25d8a Backed out changeset ff49c94ed1d2 (bug 1481055) for bc failures on browser_multiselect_tabs_using_keyboard.js . CLOSED TREE 2019-07-18 23:10:58 +03:00