Commit graph

14 commits

Author SHA1 Message Date
Ehsan Akhgari
277cd878e9 Bug 1193749 - Switch the keyboard shortcut to toggle the mute state of a tab to Ctrl+M; r=jaws 2015-08-14 20:43:47 -04:00
Ehsan Akhgari
01622f82f4 Bug 1193134 - Run test_click_on_pinned_tab_after_mute independently; r=jaws
This way the function runs after all of the tabs from the previous
function have been closed, and since this test is independent, it would
be better for it to be isolated.
2015-08-11 21:29:37 -04:00
Ehsan Akhgari
1a31ede1e0 Bug 1193085 - Always remove the soundplaying state when starting a new top-level load; r=jaws 2015-08-11 21:29:35 -04:00
Ehsan Akhgari
e5e0ae4df3 Bug 1192449 - Part 2: Increase the timeout of the workaround for bug 1190903 to 3 seconds 2015-08-10 18:12:57 -04:00
Ehsan Akhgari
9f010726b1 Bug 1192449 - Part 1: Increase the timeout of the test 2015-08-10 18:12:55 -04:00
Ehsan Akhgari
4db099dbd2 Bug 1191491 - Do not dispatch an audio-playback notification when swapping browsers; r=smaug
We send a pagehide event during swapping docshell frame loaders, and
before this patch we would not be able to differentiate this event with
the one that we send when navigating away from a page, so we would
incorrectly dispatch an audio-playback notification indicating that
audio playback has stopped.  This patch adds a flag to the root docshell
when the frame loader swapping is in progress and disables the above
behavior when that flag is set.
2015-08-07 12:18:24 -04:00
Ehsan Akhgari
93dbfbbfed Bug 1191959 - Make sure that pinned tabs are still clickable after unuting a tab that is not playing; r=jaws
This bug happens becuase when toggleMuteAudio() is called from the click
handler for the tab, we remove the muted attribute during unmuting,
which makes the element display:none.  Therefore, when the mouse pointer
leaves that region, there is no element to receive the mouseout event
and as a result, the _overPlayingIcon variable stays true, which means
we stop tab switching in the mousedown handler.
2015-08-06 23:09:11 -04:00
Ehsan Akhgari
b93c5afb6f Bug 1188114 - Change the tooltips for the tab audio indicator icon to describe the action taken by clicking the icon; r=jaws
The (%S) in the tooltip strings is a placeholder to be filled in bug
1186267.
2015-08-06 13:38:06 -04:00
Ehsan Akhgari
6d278fed4c Bug 1190106 - Preserve the playing and muted icons when swapping browsers; r=jaws 2015-08-04 15:54:39 -04:00
Sebastian Hengst
d3364c4ca1 Backed out 8fdfa9d502f8 (bug 1190106) for M-e10s(bc2) bustage. r=backout 2015-08-02 10:17:50 +02:00
Ehsan Akhgari
f87c728a4a Bug 1190106 - Preserve the playing and muted icons when swapping browsers; r=jaws 2015-08-02 01:43:23 -04:00
Ehsan Akhgari
7781b0599d Bug 1190081 - Keep the tab muted icon visible and functional even when the audio playback on the tab has been stopped; r=jaws 2015-08-02 01:39:00 -04:00
Ehsan Akhgari
2f210910eb Bug 1188718 - Don't change the currently selected tab when clicking on the audio mute button; r=jaws 2015-07-29 17:18:16 -04:00
Ehsan Akhgari
043fb66742 Bug 486262 - Part 4: Add automated tests; r=dao 2015-07-29 17:18:15 -04:00