Alastor Wu
a1388e3c7d
Bug 1346872 - part3 : add and modify test. r=Ehsan
...
Add new tests and move some share codes to head.js.
MozReview-Commit-ID: GcCio6JupZu
2017-03-30 14:27:45 +08:00
Alastor Wu
e3a0e7c13b
Bug 1347758 - part6 : reorder tests according to alphabet order. r=Ehsan
...
The test cases should be ordered according to their alphabet order.
MozReview-Commit-ID: LmmyjcTf6Nd
2017-03-24 17:35:07 +08:00
Alastor Wu
5e5d5d0a24
Bug 1347758 - part5 : add tests. r=Ehsan
...
Add tests for non-in-tree media element, web-audio and plug-in.
MozReview-Commit-ID: 2BMzUHPjKWX
2017-03-24 17:35:01 +08:00
Iris Hsiao
a501d530f1
Backed out 6 changesets (bug 1347758) for eslint failure
...
Backed out changeset 9becd55242c1 (bug 1347758)
Backed out changeset 2abce19f5001 (bug 1347758)
Backed out changeset 80232d4c85d5 (bug 1347758)
Backed out changeset 1fd084ec34d4 (bug 1347758)
Backed out changeset cafb3c12027b (bug 1347758)
Backed out changeset 85846edfe957 (bug 1347758)
2017-03-24 16:58:08 +08:00
Alastor Wu
39431e5808
Bug 1347758 - part6 : reorder tests according to alphabet order. r=Ehsan
...
The test cases should be ordered according to their alphabet order.
MozReview-Commit-ID: LmmyjcTf6Nd
2017-03-24 14:38:03 +08:00
Alastor Wu
ddb58cea11
Bug 1347758 - part5 : add tests. r=Ehsan
...
Add tests for non-in-tree media element, web-audio and plug-in.
MozReview-Commit-ID: 2BMzUHPjKWX
2017-03-24 14:38:00 +08:00
Jared Wein
5a181760cc
Bug 1348068 - Enable the key-spacing rule for eslint and fix the related issues. r=standard8
...
Running eslint with --fix didn't fix many of the issues. The majority here had to be fixed by hand but a significant majority of the issues were related to a few files that I was able to use find-and-replace with. I regret not making this in to separate commits of the hand-fixes and the fixes from --fix but I don't recall --fix fixing any of the issues.
MozReview-Commit-ID: ANyg2qfo3Qx
2017-03-21 14:29:43 -04:00
Mark Banner
ec9074e132
Bug 1347712 - Change the testing configurations into ESLint configurations within eslint-plugin-mozilla - automatically update .eslintrc.js test config files for new config locations. r=jaws
...
MozReview-Commit-ID: LH0CQOPfoe6
2017-03-20 12:36:37 +01:00
Blake Kaplan
061c14f64f
Bug 1346286 - Remove CPOWs from browser_findbar.js. r=Felipe
...
MozReview-Commit-ID: ASJgY0cKnHq
2016-11-11 14:21:55 -08:00
Michael Layzell
f7e7ec13ce
Bug 1179542 - Wait for the page to load before checking menu status, r=ehsan
...
MozReview-Commit-ID: 7wHbkAC8eCI
2017-03-13 18:56:57 -04:00
Alastor Wu
bd260ad5b5
Bug 1343465 - part3 : move support files to the default area. r=baku
...
MozReview-Commit-ID: CNFUwjxpTbm
2017-03-04 16:56:49 +08:00
Alastor Wu
0a5986c6c8
Bug 1343465 - part2 : add test. r=baku
...
MozReview-Commit-ID: HypzfD053xW
2017-03-04 16:52:21 +08:00
Wes Kocher
c078fad5aa
Merge m-c to autoland, a=merge
...
MozReview-Commit-ID: K0Q4b2wzvlJ
2017-03-03 17:29:54 -08:00
Andrea Marchesini
cd61c907da
Bug 1335539 - Get rid of nsIDOMWindowUtils.wrapDOMFile, r=smaug, r=Gijs
2017-03-03 09:42:54 +01:00
Alastor Wu
8181f9a991
Bug 1338137 - part3 : add test. r=baku
...
MozReview-Commit-ID: 7lpvIp5IOqV
2017-03-04 01:16:40 +08:00
Alastor Wu
206e3922e6
Bug 1341062 - part2 : remove duplicated codes. r=baku
...
MozReview-Commit-ID: C6N1itQAVcF
2017-03-02 17:38:56 +08:00
Alastor Wu
79e9751b12
Bug 1341062 - part1 : wait for audioplayback event to ensure the media element has been resumed. r=baku
...
Block-stop should be dispatched before audio-playback, so we can check block
event first. Also add "loop" attribute for video to avoid getting the wrong
pause state.
MozReview-Commit-ID: 3WHuJGsZCPn
2017-03-02 17:38:53 +08:00
Mark Banner
703aa9e231
Bug 1341029 - Turn on the ESLint no-undef rule for all of toolkit/. r=jaws
...
MozReview-Commit-ID: Ed9FfkskDos
2017-02-20 11:45:58 +00:00
Alastor Wu
c25e3a360b
Bug 1339230 - part3 : add test. r=baku
...
MozReview-Commit-ID: FzcEwErGad3
2017-02-24 17:17:09 +08:00
Alastor Wu
a79d7e38d5
Bug 1192818 - part1 : dispatch DOMAudioPlaybackStopped when mute the tab. r=baku
...
The root cause of the intermittent fail is because "DOMAudioPlaybackStopped" has no directly relationship with browser.mute()/unmute().
In [1], the "DOMAudioPlaybackStopped" is caused by audio stop playing, not by calling the browser.mute(). If the audio stops playing before calling the wait_for_event(), the test would be time-out. I guess the bug 1302280 is also caused by same reason.
So this patch would do two thinngs,
1. dispatch "DOMAudioPlaybackStopped" when we mute tab
2. loop the audio in test file, to make sure the "DOMAudioPlaybackStopped" is
dispatched when muting the audio, not the file ended.
[1] https://goo.gl/ymUv8P
MozReview-Commit-ID: 5RnyBRE73lQ
2017-02-23 14:15:45 +08:00
Sebastian Hengst
95a9b8273e
Backed out changeset 38fa2ec33fa4 (bug 1192818) for frequently failing test_noAudioNotificationOnVolume0Element.html on Android 4.3 debug. r=backout
2017-02-21 19:30:26 +01:00
Alastor Wu
3d07567345
Bug 1192818 - part1 : dispatch DOMAudioPlaybackStopped when mute the tab. r=baku
...
The root cause of the intermittent fail is because "DOMAudioPlaybackStopped" has no directly relationship with browser.mute()/unmute().
In [1], the "DOMAudioPlaybackStopped" is caused by audio stop playing, not by calling the browser.mute(). If the audio stops playing before calling the wait_for_event(), the test would be time-out. I guess the bug 1302280 is also caused by same reason.
So this patch would do two thinngs,
1. dispatch "DOMAudioPlaybackStopped" when we mute tab
2. loop the audio in test file, to make sure the "DOMAudioPlaybackStopped" is
dispatched when muting the audio, not the file ended.
[1] https://goo.gl/ymUv8P
MozReview-Commit-ID: 703JHj9dICT
2017-02-21 18:41:09 +08:00
Alastor Wu
867ab5a150
Bug 1328058 - part4 : add tests. r=baku
...
MozReview-Commit-ID: 2Gjh0dBHroI
2017-02-04 15:05:34 +08:00
Phil Ringnalda
54d1f898e0
Backed out 5 changesets (bug 1328058) for timing out in browser_block_silentAudioTrack_media.js
...
CLOSED TREE
Backed out changeset 0c48cff3db5d (bug 1328058)
Backed out changeset 37d35ca95b1f (bug 1328058)
Backed out changeset 0c177bdf5ec3 (bug 1328058)
Backed out changeset b369d9999b8a (bug 1328058)
Backed out changeset 61dbcbe35565 (bug 1328058)
2017-02-02 20:59:34 -08:00
Phil Ringnalda
20fcb3719e
Bug 1328058 followup, address eslint's concerns about a single-quoted string on a CLOSED TREE
2017-02-02 19:59:01 -08:00
Alastor Wu
845cda87a7
Bug 1328058 - part4 : add tests. r=baku
...
MozReview-Commit-ID: 2Gjh0dBHroI
2017-02-03 11:25:10 +08:00
Florian Quèze
91f7a2ef3a
Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws.
2017-01-25 07:01:52 +01:00
Alastor Wu
7ac83a3311
Bug 1322505 - part3 : add test. r=baku,jaws
...
MozReview-Commit-ID: 2YnWEO98M2e
2017-01-23 14:46:28 +08:00
Mike Conley
2ad3740219
Bug 1301575 - Make browser_crash_previous_frameloader.js more reliable by removing a race. r=mossop
...
MozReview-Commit-ID: E87jEJg86pf
2017-01-19 14:57:21 -05:00
Phil Ringnalda
b728b48d1d
Backed out 4 changesets (bug 1322505) for frequent timeouts in browser_block_autoplay_media_pausedAfterPlay.js
...
Backed out changeset dad8acbe41e9 (bug 1322505)
Backed out changeset 861f01ee0e6e (bug 1322505)
Backed out changeset ddf90342d71d (bug 1322505)
Backed out changeset 049ab1a92da6 (bug 1322505)
2017-01-19 21:57:46 -08:00
Phil Ringnalda
d6c60878ed
Bug 1322505 followup, delint
2017-01-19 19:53:47 -08:00
Alastor Wu
d11e51138f
Bug 1322505 - part3 : add test. r=baku,jaws
...
MozReview-Commit-ID: 2YnWEO98M2e
2017-01-20 11:30:25 +08:00
Jared Wein
0ec522d5b6
Bug 1331661 - Enable the 'quotes' rule for eslint and fix most of the errors with --fix. r=Gijs
...
MozReview-Commit-ID: 6tv0Z06CO4a
2017-01-17 09:48:17 -06:00
Florian Quèze
63de711857
Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
2017-01-17 11:50:25 +01:00
Jared Wein
242ab87626
Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
...
MozReview-Commit-ID: FuVu8skcqOe
2016-12-30 21:47:25 -05:00
Jared Wein
e3149c378f
Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
...
MozReview-Commit-ID: 7E7LPorrEje
2016-12-29 18:34:54 -05:00
Wes Kocher
2d7553dcfd
Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
...
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein
34e228f767
Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
...
MozReview-Commit-ID: 8WoGr8i6oCR
2016-12-29 15:20:47 -05:00
malayaleecoder
8726645d72
Bug 1324067 - Clear the findBar value before test end. r=jmaher
2016-12-20 00:09:41 +05:30
Gabriele Svelto
921d52f071
Bug 1293656 - Send crash pings for content crashes complete with stack traces r=bsmedberg
...
* * *
Bug 1293656 - Fix the test_process_error.xul test
2016-10-19 12:51:29 +02:00
Mark Banner
dc46a8fba3
Bug 1322343 - Enable no-unused-vars in the local scope in toolkit/.eslintrc.js. r=mossop
...
MozReview-Commit-ID: CiIsUjQzp4D
2016-11-09 22:06:32 +00:00
Andrea Marchesini
2f852682f9
Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 2, r=qdot
2016-11-18 09:33:50 +01:00
Andrea Marchesini
a0f9b83d87
Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 1, r=qdot
2016-11-18 09:33:33 +01:00
Sebastian Hengst
85e0c09e58
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
Sebastian Hengst
716c8a83f3
Backed out changeset 2560659cda95 (bug 1318273)
2016-11-17 20:57:59 +01:00
Andrea Marchesini
5895fbf767
Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 2, r=qdot
2016-11-17 19:36:21 +01:00
Andrea Marchesini
8b521463f7
Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 1, r=qdot
2016-11-17 19:36:01 +01:00
Dave Townsend
e7b1b3284f
Bug 1316882: Turn on space-before-function-paren eslint rule (toolkit). r=jaws
...
MozReview-Commit-ID: FGFwg6TYkvm
2016-11-11 15:22:34 -08:00
Sebastian Hengst
6cf65ed900
Bug 1310297 - Remove test annotations using b2g, mulet or gonk: toolkit. r=RyanVM
...
MozReview-Commit-ID: I5LuDjnM7By
2016-11-05 11:29:22 +01:00
Phil Ringnalda
e9271a5e61
Merge m-i to m-c, a=merge
...
MozReview-Commit-ID: Hm1RxN6OaoZ
2016-11-03 19:32:48 -07:00