Commit Graph
330 Commits
Author SHA1 Message Date
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
Amy Chung 415338d016 Bug 1360603 - Confirm the Throttleable flag on browser_saveImageURL.js. r=baku 2017-09-24 00:56:04 +08:00
Philipp Sackl 4b8240b18f Bug 1393057 - Remove hover transition from toolbar buttons, r=mikedeboer
MozReview-Commit-ID: GdBVMsBYI6S
2017-09-14 13:25:31 +01:00
Scott Wu d06f54fa97 Bug 1395773 - Fix intermittent browser_datetime_datepicker test when crossing months, r=mconley
MozReview-Commit-ID: Dhs0KX9UUOC
2017-09-01 15:03:48 +08:00
Scott Wu f59abd1680 Bug 1381421 - (Part 2) Add browser chrome tests for the minimum and maximum dates. r=mconley
MozReview-Commit-ID: 7qDfouP1ApV
2017-08-21 10:17:19 +08:00
Botond Ballo 6e15f2e71a Bug 1390247 - Get browser_bug295977_autoscroll_overflow.js working with APZ autoscrolling. r=kats
MozReview-Commit-ID: MQwJxtePRb
2017-08-16 17:50:28 -04:00
Alastor Wu e99bf31aab Bug 1388660 - part2 : add test. r=Ehsan
Add a new file "almostSilentAudioTrack.webm" and the test to prevent showing
the sound indicator when playing that kinds of video.

MozReview-Commit-ID: CeUhAePBuqs
2017-08-17 11:10:31 +08:00
Stone Shih 744eec94bc Bug 1351148 Part4: Revise those test cases that have some tasks have to be processed before or after the synthesized key events. r=smaug.
Make sure input events are processed before or after the dependent tasks.

MozReview-Commit-ID: 8KfZnT2wjJR
2017-06-07 14:28:16 +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
Andrew Halberstadt 1ecb0adc26 Bug 1385352 - Enable 'mozilla/no-arbitrary-setTimeout' eslint rule on browser-chrome tests, r=standard8
MozReview-Commit-ID: 5lO0uAjHMsw
2017-08-10 14:48:21 -04:00
Phil Ringnalda 5e91797776 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 6c60ffa524 Bug 1385352 - Enable 'mozilla/no-arbitrary-setTimeout' eslint rule on browser-chrome tests, r=standard8
MozReview-Commit-ID: 5lO0uAjHMsw
2017-08-10 14:48:21 -04:00
Carsten "Tomcat" Book 4c1b3192ca Backed out changeset 5198322f7a62 (bug 1351148) 2017-07-28 09:20:20 +02:00
Wes Kocher c21f63d3ed Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: GYc8r8gnS0j
2017-07-21 18:12:55 -07:00
Alastor Wu a51adf07f1 Bug 1274919 - part5 : add test. r=baku
MozReview-Commit-ID: 5wKkE5tphLl
2017-07-20 15:11:37 +08:00
Stone Shih 34554b5597 Bug 1351148 Part4: Revise those test cases that have some tasks have to be processed before or after the synthesized key events. r=smaug.
Make sure input events are processed before or after the dependent tasks.

MozReview-Commit-ID: 8KfZnT2wjJR
2017-06-07 14:28:16 +08:00
Alastor Wu 044f0cd4cb Bug 1351925 - remove blockMedia() and related tests. r=baku
The intermittent failure is caused by the innate drawback of the present test,
it doesn't be consistent with the behavior how we actually block the media.

Since we always block media implicit, it would be set in nsGlobalWindow's ctor.
We would never call blockMedia directly, so we can remove the function.

MozReview-Commit-ID: IjYJi5OHQ3X
2017-06-30 12:16:43 -07:00
Alastor Wu 84866709b6 Bug 1347791 - part3 : update block stauts to front-end side. r=baku,dao,mikedeboer
When the block stauts of the window was changed, we would notify front-end side
to update the vaule, so that we can save it for session restore.

MozReview-Commit-ID: FyclKmAxZHf
2017-06-29 05:46:20 -07: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
Paolo Amadini 489326239e Bug 1242505 - Detect unhandled rejections of native Promises in browser-chrome tests. r=Mossop
The browser-chrome test suite now detects and reports unhandled rejections of native Promises, in addition to those created by Promise.jsm. The whitelisting mechanism is updated to use primarily the PromiseTestUtils.expectUncaughtRejection function. Tests will fail if a rejection that is not whitelisted occurs, or if a whitelisted rejection does not occur anymore.

MozReview-Commit-ID: 1beGB5GG8Ty
2017-06-18 08:05:06 +01:00
Blake Kaplan f9be19d34a Bug 1327118 - Fix the charset encoding menu not being properly enabled when dragging tabs into a new window. r=mconley
MozReview-Commit-ID: 15HVXsKHoYW
2017-06-06 17:04:54 -07:00
Joel Maher d1f0b3328d Bug 1368364 - backout bug 1242505 as it causes browser/modules/ intermittent failures. r=paolo 2017-06-03 10:34:14 +02:00
Gabriele Svelto eb6099646c Bug 1359326 - Run the minidump analyzer directly from the CrashService code; r=bsmedberg
This patch removes the C++ code used to run the minidump analyzer when a
content process crashes, and replaces it with JS code within the CrashService
object. This removes the need for a separate shutdown blocker in C++ code and
allows end-to-end testing of the crash service functionality. Additionally
the exception handler code can be simplified since it's now only used to run
the crash reporter client.

The test added to test_crash_service.js covers computing the minidump SHA256
hash (bug 1322611) and of the minidump analyzer itself (bug 1280477).

MozReview-Commit-ID: LO5w839NHev
2017-05-11 14:03:50 +02:00
Paolo Amadini e2ac328f74 Bug 1242505 - Part 3 - Detect unhandled rejections of native Promises in browser-chrome tests. r=Mossop
The browser-chrome test suite now detects and reports unhandled rejections of native Promises, in addition to those created by Promise.jsm. The whitelisting mechanism is updated to use primarily the PromiseTestUtils.expectUncaughtRejection function. Tests will fail if a rejection that is not whitelisted occurs, or if a whitelisted rejection does not occur anymore.

MozReview-Commit-ID: 1beGB5GG8Ty
2017-05-28 11:46:45 +01:00
Sebastian Hengst d3e7375d07 Backed out changeset 8d53be05afc5 (bug 1242505) 2017-05-28 11:31:12 +02:00
Paolo Amadini 0c75b3612c Bug 1242505 - Part 3 - Detect unhandled rejections of native Promises in browser-chrome tests. r=Mossop
The browser-chrome test suite now detects and reports unhandled rejections of native Promises, in addition to those created by Promise.jsm. The whitelisting mechanism is updated to use primarily the PromiseTestUtils.expectUncaughtRejection function. Tests will fail if a rejection that is not whitelisted occurs, or if a whitelisted rejection does not occur anymore.

MozReview-Commit-ID: 1beGB5GG8Ty
2017-05-25 15:00:35 +01: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
Christoph Kerschbaumer 5452a95b49 Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02: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 b2499a4c57 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 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
Mark Banner 44d0568f41 Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
MozReview-Commit-ID: 5fVG7akPnGM
2017-05-08 10:29:47 +01:00
Sebastian Hengst c8bd0b3620 Backed out changeset e0f9c56c15f0 (bug 1362947) for linting failures, e.g. at accessible/tests/mochitest/jsat/doc_content_text.html:15. r=backout 2017-05-11 10:15:55 +02:00
Mark Banner dae8146427 Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
MozReview-Commit-ID: 5fVG7akPnGM
2017-05-08 10:29:47 +01: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 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