Commit Graph

37 Commits

Author SHA1 Message Date
Tooru Fujisawa
f415c74b57 Bug 1442465 - Part 4.2: Stop unnecessarily awaiting on BrowserTestUtils.removeTab (simple part). r=dao 2018-03-19 11:16:45 +09:00
Florian Quèze
c5f15a4700 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Kris Maglione
0bb74efdf1 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Cosmin Sabou
f09d6d985d Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
fd67f090b2 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Brindusan Cristian
483ba301cb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
683a97d172 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Tooru Fujisawa
1455b26305 Bug 1416446 - Part 0.1: Fix DateTimeTestHelper.waitForPickerReady to wait for events in correct order and timing. r=Paolo 2017-12-09 06:08:42 +09:00
Dorel Luca
0074b96417 Backed out changeset 6b8f0fd1a9f1 (bug 1416446) for failing browser-chrome's browser/base/content/test/permissions/browser_temporary_permissions_expiry.js on Windows 7 debug without e10s r=backout on a CLOSED TREE 2017-12-09 19:00:01 +02:00
Tooru Fujisawa
ff9a1eb2a6 Bug 1416446 - Part 0.1: Fix DateTimeTestHelper.waitForPickerReady to wait for events in correct order and timing. r=Paolo 2017-12-09 06:08:42 +09:00
Alastor Wu
a6404e054f Bug 1420488 - part2 : add test. r=jwwang
MozReview-Commit-ID: 1clhH9B2mIf
2017-11-28 17:44:24 +08:00
Sebastian Hengst
5c93ed8143 Backed out 2 changesets (bug 1420488) for eslint failures in toolkit/content/tests/browser/browser_autoplay_policy_play_twice.js. r=backout
Backed out changeset 92bd0fcb67d5 (bug 1420488)
Backed out changeset 0f211029517c (bug 1420488)
2017-11-29 17:31:28 +02:00
Alastor Wu
1df92ab001 Bug 1420488 - part2 : add test. r=jwwang
MozReview-Commit-ID: 1clhH9B2mIf
2017-11-28 17:44:24 +08:00
Dan Banner
5af4450327 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Scott Wu
42e601846a Bug 1401876 - (Part 2) Add browser-chrome test for reopening picker. r=mconley
MozReview-Commit-ID: BjR0rVxkdT
2017-09-25 17:43:27 +08:00
Scott Wu
d6d30c8083 Bug 1401876 - (Part 1) Close datetime picker on popuphidden. r=mconley
MozReview-Commit-ID: FUqbtAftQxh
2017-09-21 15:37:25 +08:00
Scott Wu
327a086518 Bug 1328219 - (Part 2) Add browser chrome test for date picker. r=mconley
MozReview-Commit-ID: 99zfNaXqbjc
2017-08-03 18:26:23 +08:00
Alastor Wu
501e381e9a Bug 1347791 - part1 : rename the attribute for the tab which has blocked the autoplay audio and would show the play-tab icon. r=mikedeboer
The "blocked" attribute is too general to indicate the real usage, so rename it
to "activemedia-blocked".

This attribute indicates that whether the tab has blocked the autoplay media.

MozReview-Commit-ID: 58U7DJSMtss
2017-06-29 04:48:38 -07:00
Florian Quèze
c0468168f5 Bug 1368456 - remove Promise.jsm imports in tests, r=mconley. 2017-06-23 11:25:52 +02:00
Nathan Froyd
8335babfc9 Bug 1372670 - part 3 - add spinEventLoopUntil to nsIThreadManager; r=erahm,florian 2017-06-21 12:59:28 -04:00
Carsten "Tomcat" Book
6be2d718f0 Backed out changeset a9ac97cc2efa (bug 1347791) for test failures in browser_ext_sessions_restore.js | restored tab has the expected url - Got about:blank, expected about:config 2017-05-17 08:11:47 +02:00
Alastor Wu
82279da901 Bug 1347791 - part1 : rename the attribute for the tab which has blocked the autoplay audio and would show the play-tab icon. r=mikedeboer
The "blocked" attribute is too general to indicate the real usage, so rename it
to "activemedia-blocked".

This attribute indicates that whether the tab has blocked the autoplay media.

MozReview-Commit-ID: EAmq6OuBYjq
2017-05-17 11:55:54 +08:00
Florian Quèze
15feaa278a Bug 1362882 - script-generated patch to switch from Promise.defer() to new Promise() where it's straightforward, rs=Mossop. 2017-05-12 14:55:27 +02:00
Florian Quèze
ff53eb9a63 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
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
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
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
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
Alastor Wu
867ab5a150 Bug 1328058 - part4 : add tests. r=baku
MozReview-Commit-ID: 2Gjh0dBHroI
2017-02-04 15:05:34 +08:00
Alastor Wu
7ac83a3311 Bug 1322505 - part3 : add test. r=baku,jaws
MozReview-Commit-ID: 2YnWEO98M2e
2017-01-23 14:46:28 +08: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
Dave Townsend
769fc8f245 Bug 1257246: Update toolkit for eslint 2. r=Gijs
Most of this is fixing functions that in some cases return a value but then
can also run to completion without returning anything. ESLint 2 catches this
where previous versions didn't. Unless there was an obvious other choice I just
made these functions return undefined at the end which is effectively what
already happens.

MozReview-Commit-ID: KHYdAkRvhVr
2016-04-05 11:33:48 -07:00
Mike Conley
f113dd6b0f Bug 1246244 - Regression test. r=jaws,Margaret
MozReview-Commit-ID: BRbHkzSTRrA
2016-02-05 18:20:22 -05:00
Iaroslav Sheptykin
b16795d39b Bug 1052992: Add quick-search event listeners to system event group, so stopPropagation on keyboard events does not affect the findbar. r=MattN 2014-10-16 00:38:58 -07:00