Commit graph

53 commits

Author SHA1 Message Date
Andrew Halberstadt
d2109610fb Bug 1385352 - Enable 'mozilla/no-arbitrary-setTimeout' eslint rule on browser-chrome tests, r=standard8
MozReview-Commit-ID: 5lO0uAjHMsw

--HG--
extra : rebase_source : 8607b3964da207a6076c79b6f1d75b40503cdd7d
2017-08-10 14:48:21 -04:00
Phil Ringnalda
0ff5a4285d Backed out changeset 6896f93a2327 (bug 1385352) for not making it to m-c before the next violation of its new linting rule merged to autoland
MozReview-Commit-ID: 3HDE2C3wSU0
2017-08-10 20:21:19 -07:00
Andrew Halberstadt
f625fd5c37 Bug 1385352 - Enable 'mozilla/no-arbitrary-setTimeout' eslint rule on browser-chrome tests, r=standard8
MozReview-Commit-ID: 5lO0uAjHMsw

--HG--
extra : rebase_source : d72a88962ec8d843e7be99e25f710887f01b6e1a
2017-08-10 14:48:21 -04:00
btian
de5fa4f269 Bug 1299390 - part 5: Remove useless AudioChannelService code. r=alwu
Changes:
- remove code addressed by reviewer
- remove PContent.ipdl, PBrowser.ipdl, and ProcessPriorityManager code
  that relates only to removed AudioChannelService methods
- correct test case listening to event from removed code
- remove useless test case files

MozReview-Commit-ID: I96nR8zTXJt

--HG--
extra : rebase_source : 127876c672744811c025ca55839ff2e8a06b1fce
2017-05-18 09:51:53 +08:00
Masayuki Nakano
33da02bb41 Bug 1339543 part 3 PuppetWidget should stop getting all edit commands before dispatching keyboard events which are synthesized for tests r=smaug
Synthesized keyboard events in child process doesn't have edit commands when
it's being dispatched.  With the old design, PuppetWidget needed to store all
edit commands for dispatching keyboard event but it's not necessary now because
WidgetKeyboardEvent will get only necessary edit commands when
WidgetKeyboardEvent::ExecuteEditCommands() is called.

So, PuppetWidget should stop calling TabChild::RequestNativeKeyBindings()
before dispatching keyboard events.

This patch changes browser_audioTabIcon.js which becomes permanent orange with
this change.

MozReview-Commit-ID: 1eK1mUahRMO

--HG--
extra : rebase_source : 13ce4aca8e45fa3d4b739a978bfa7dbddaf58ae3
2017-05-17 15:34:11 +09:00
Florian Quèze
4e937e42a2 Bug 1353542 - Cleanup the script output and fix tests, r=Mossop. 2017-05-12 14:54:05 +02:00
Florian Quèze
16530fa1e3 Bug 1353542 - smaller script-generated patch converting remaining generators that are likely tasks (actual generators were identified by hand and whitelisted), r=Mossop. 2017-05-12 14:45:01 +02:00
Florian Quèze
5e3539e504 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Florian Queze
37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
a07223d699 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze
95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Alastor Wu
ff6bcbcbb8 Bug 1192818 - part3 : modify test. r=baku
MozReview-Commit-ID: HNXcbFbYfor

--HG--
extra : rebase_source : 3033f7c3827acbac33d772e087bebece3487e118
2017-02-23 14:15:49 +08:00
Sebastian Hengst
6f69f1ef34 Backed out changeset 52f41ac3440d (bug 1192818) 2017-02-21 19:29:24 +01:00
Alastor Wu
aaa6c009ca Bug 1192818 - part3 : modify test. r=baku
MozReview-Commit-ID: HKzjFN7pJcJ

--HG--
extra : rebase_source : 0dab95da917cb9e59235b56ccd9c5969348c96c5
2017-02-21 18:41:16 +08:00
Alastor Wu
3bc43f5bf1 Bug 1336869 - modify the access key for 'unmute tab'. r=jaws
Fork from bug1336309 comment2, unmuteTab used "M" as access key, but we should
change to "m" because the character is lowercase in the label.

MozReview-Commit-ID: 3q2luFLbFlQ

--HG--
extra : rebase_source : ec88c660372fc41f10b3c20faa2d4d6e20f11a65
2017-02-07 14:49:36 +08:00
Andrea Marchesini
2f974ccbce Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 1, r=qdot 2016-11-18 09:33:33 +01:00
Sebastian Hengst
7110a88674 Backed out changeset d43b778d95c6 (bug 1318273) for failing mochitest fetch/test_formdataparsing.html. r=backout on a CLOSED TREE 2016-11-17 20:58:38 +01:00
Andrea Marchesini
cf2ad8072f Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 1, r=qdot 2016-11-17 19:36:01 +01:00
Jared Wein
624f411ee0 Bug 1314474 - Enable no-shadow rule for eslint for browser/ mochitests. r=mossop
MozReview-Commit-ID: 3EQOeDSnmVz

--HG--
extra : rebase_source : 44fa6cb7fbd383b1294344f545126515518a2018
2016-11-04 17:11:52 -04:00
Wes Kocher
e7a40cea87 Backed out changeset 2a1b034ed3fb (bug 1314474) for xpcshell failures a=backout 2016-11-04 13:57:56 -07:00
Jared Wein
8eae3ca20e Bug 1314474 - Enable no-shadow rule for eslint for browser/ mochitests. r=mossop
MozReview-Commit-ID: 3QTChaVgCRP

--HG--
extra : rebase_source : a7bd3f5b133a5dcecedbdf39ef3b1ce75a550970
2016-11-03 18:29:08 -04:00
Jared Wein
4426150488 Bug 1232357 - Delay hiding the sound indicator icon by a few seconds after audio has stopped. r=gijs
MozReview-Commit-ID: BNaVgrX6jsv

--HG--
extra : rebase_source : 54bc9b692838dc801cc274cea19107974dcd595a
2016-10-13 16:12:50 -04:00
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