Commit graph

31 commits

Author SHA1 Message Date
Jared Wein
a182a61bce Bug 1298559 - Enable eslint for /browser/base/content/test/ r=mattn
MozReview-Commit-ID: BZlkPTcLJMB
2016-08-31 12:53:24 -04:00
Alastor Wu
20745c8136 Bug 1240423 - part8 : modify tests r=baku
MozReview-Commit-ID: 7NlzmcZAlrd

--HG--
extra : rebase_source : fe7d43b0275483e9e082504b88af8f106cadbc19
2016-06-01 10:26:34 +08:00
Kris Maglione
3543ac46b0 Bug 1238311: Part 2 - Persist tab mutedInfo in sessionstore. r=ehsan
--HG--
extra : commitid : HX9K6Rabf3v
extra : rebase_source : 0cada35053441177863b89753e3c9a8968dc1908
extra : histedit_source : 07331d5b938d79c59dfd8789bb581e65f6a29d26
2016-01-26 17:05:42 -08:00
Kris Maglione
c1fb002168 Bug 1238311: Part 1 - Add "mutedinfo" tab attribute, and related getters. r=ehsan
--HG--
extra : commitid : 9DPlneRvHzR
extra : rebase_source : ca203251ef8480f7740be085cb54054338cde151
extra : histedit_source : 6faed49810c464ede10d7349629b03c81e7c5055%2Cb97ac9dc316731f640e9e488a70e2c1a695ecf08
2016-01-29 18:14:31 -08:00
Hiroyuki Ikezoe
bf8d27e4d2 Bug 1227320 - Need to wait two TabAttrModified events to ensure soundplaying attribue is updated. r=ehsan
We need to receive two TabAttrModified events with 'soundplaying'.
The first one comes from nsDocument::OnPageHide, the second one comes
from nsDocument::OnPageShow.
Moreover 'audio-playback' notification is not passed to chrome process on E10S so
we should wait 'audiochannel-activity-normal' instead.
2015-12-29 16:13:00 -08:00
Andrea Marchesini
f44bf80ff9 Bug 1213154 - tab-sound-icon should be supported by bfcache, r=roc 2015-11-23 11:35:14 +00:00
Carsten "Tomcat" Book
43610824f0 Backed out changeset 780061f96448 (bug 1213154)
--HG--
extra : rebase_source : 0d1ba1ee2f11faeedf93fa0baa4c06348deffdc4
2015-10-20 16:08:51 +02:00
Andrea Marchesini
ca59daf031 Bug 1213154 - tab-sound-icon should be supported by bfcache, r=roc
--HG--
extra : rebase_source : f9ee2ae4ea973b4c69633368cb5e0c5e6afa6540
2015-10-20 01:33:00 +02:00
Ehsan Akhgari
bf33ea16ea Bug 1211314 - Use tab.toggleMuteAudio() from sessionstore instead of setting the muted attribute manually on the tab; r=jaws 2015-10-14 17:21:05 -04:00
Ehsan Akhgari
d28c07379c Bug 1200236 - Mute the browser when swapping a muted tab; r=jaws 2015-09-10 21:00:09 -04:00
Ehsan Akhgari
16cd50266e Bug 1200487 - Refactor playing and pausing a tab in browser_audioTabIcon.js; r=jaws 2015-08-31 23:40:06 -04:00
Ehsan Akhgari
0bb85a8213 Bug 1200381 - Enable themes to customize the appearance of the toggle mute tab context menu; r=jaws
This is done by setting the muted and soundplaying attributes on the
context menu item, similar to what has been done for the tab.
2015-08-31 23:40:04 -04:00
Ehsan Akhgari
a7c0f1d2d5 Bug 1199929 - Don't show the keyboard shortcut in the tooltip text for the tab audio indicator on background tabs; r=jaws 2015-08-31 23:30:13 -04:00
Ehsan Akhgari
0daeb4bc0b Bug 1197569 - Add a tab context menu entry for toggling the tab's muted state; r=jaws 2015-08-26 09:45:30 -04:00
Ehsan Akhgari
656bef95e8 Bug 1192449 - Re-enable browser_audioTabIcon.js in e10s mode; r=billm 2015-08-20 12:05:08 -04:00
Ehsan Akhgari
f9752f535c Bug 1196361 - Remove the media.useAudioChannelService pref; r=baku
We need to rely on the audio channel service for all products now,
so supporting running without it seems pointless at this point.
2015-08-19 21:00:18 -04:00
Ehsan Akhgari
053201adb7 Bug 1195150 - Persist the tab muted state in the session store; r=billm
The muted state is state that belong to the whole tab, and it would be
nice if it was integrated with undo close tab and session restore.
2015-08-17 20:21:51 -04:00
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