gecko-dev/dom/tests/browser
Paolo Amadini 585fbe6cec 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

--HG--
extra : rebase_source : b6573f8e2001f91d0e5a50f6376b191459549e94
extra : intermediate-source : 0411e687044ecc7b56684196238e6e6e68a9d685
extra : source : 8d53be05afc59519c5ce8cfae96d284a972fda71
2017-06-18 08:05:06 +01:00
..
beforeunload_test_page.html Bug 1336763 - Regression tests that exercise nsITabParent's hasBeforeUnload attribute. r=Ehsan 2017-04-14 18:32:37 -04:00
browser_allocateGigabyte.js Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
browser_autofocus_background.js Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
browser_autofocus_preference.js Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 1, r=qdot 2016-11-18 09:33:33 +01:00
browser_beforeunload_between_chrome_content.js Bug 1336763 - Update browser_beforeunload_between_chrome_content.js to use ContentTask. r=jessica 2017-04-27 12:46:59 -04:00
browser_bug396843.js
browser_bug1004814.js Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
browser_bug1008941_dismissGeolocationHanger.js Bug 1072859 - Disable Geolocation on non-secure origins. r=jdm 2017-03-08 16:45:44 -08:00
browser_bug1238427.js
browser_bug1316330.js Bug 1339543 part 2 eKeyPress event should have edit commands for all editor types when it's dispatched to a remote process r=smaug 2017-05-19 17:24:20 +09:00
browser_cancel_keydown_keypress_event.js Bug 1316330 - Cancel delayed keypress events if last keydown was canceled. r=smaug 2016-12-02 15:35:28 +08:00
browser_ConsoleAPI_originAttributes.js Bug 1322235: Part 6 - Replace AddonPolicyService with a stub implementation in ExtensionPolicyService. r=mixedpuppy,zombie 2017-06-03 17:12:14 -07:00
browser_ConsoleAPITests.js Bug 1357473 - Update Console to the latest spec - part 7 - test updated, r=bgrins 2017-04-20 13:52:43 +02:00
browser_ConsoleStorageAPITests.js Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
browser_ConsoleStoragePBTest_perwindowpb.js Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
browser_focus_steal_from_chrome_during_mousedown.js
browser_focus_steal_from_chrome.js Bug 1310403, Remove special mouse handling for buttons which fixes extra focus events, r=smaug 2016-11-11 10:30:36 -05:00
browser_frame_elements.html
browser_frame_elements.js Bug 1315905 - Cleanup Necko http security check - part 2 - tests, r=valentin 2016-11-17 14:53:30 +01:00
browser_hasbeforeunload.js Bug 1336763 - Regression tests that exercise nsITabParent's hasBeforeUnload attribute. r=Ehsan 2017-04-14 18:32:37 -04:00
browser_largeAllocation_non_win32.js Bug 1331087 - Part 1: Disable the largeAllocation header by default outside of Win32 builds, r=ehsan 2017-01-31 14:08:20 -05:00
browser_largeAllocation_win32.js Bug 1331087 - Part 1: Disable the largeAllocation header by default outside of Win32 builds, r=ehsan 2017-01-31 14:08:20 -05:00
browser_localStorage_e10s.js Bug 1345421 - Part 2: Ensure mOriginsHavingData is up-to-date via flushing. r=baku 2017-06-12 04:52:21 -04:00
browser_localStorage_privatestorageevent.js 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
browser_noopener.js Bug 1371349 - Request an even longer timeout for browser_noopener.js, r=smaug 2017-06-13 12:30:33 -04:00
browser_prerendering.js Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
browser_test__content.js
browser_test_focus_after_modal_state.js Bug 1316330 - Cancel delayed keypress events if last keydown was canceled. r=smaug 2017-02-03 05:16:00 -05:00
browser_test_new_window_from_content.js
browser_test_toolbars_visibility.js
browser_xhr_sandbox.js
browser.ini Bug 1365032 - Part 2: Add a test for propagating properties of windows across window.open, r=smaug 2017-06-07 12:55:07 -04:00
dummy.html
focus_after_prompt.html Bug 1316330 - Cancel delayed keypress events if last keydown was canceled. r=smaug 2017-02-03 05:16:00 -05:00
geo_leak_test.html
helper_largeAllocation.js Bug 1242505 - Detect unhandled rejections of native Promises in browser-chrome tests. r=Mossop 2017-06-18 08:05:06 +01:00
page_localstorage_e10s.html Bug 1285898 - [e10s-multi] LocalStorage e10s Test. r=baku 2017-02-07 04:05:07 -05:00
page_privatestorageevent.html
position.html
prerender_target.html Bug 1330332 - Update prerendering tests to validate global history state, r=smaug 2017-01-19 15:26:18 -05:00
prerender.html Bug 1330332 - Update prerendering tests to validate global history state, r=smaug 2017-01-19 15:26:18 -05:00
prevent_return_key.html 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
test_bug1004814.html
test_largeAllocation2.html Bug 1329331 - Add tests for not leaving the Large-Allocation process when there are other toplevel windows, r=smaug 2017-01-16 14:03:09 -05:00
test_largeAllocation2.html^headers^ Bug 1329331 - Add tests for not leaving the Large-Allocation process when there are other toplevel windows, r=smaug 2017-01-16 14:03:09 -05:00
test_largeAllocation.html Bug 1347983 - Part 2: Add a test to ensure that forms submitted from a large-allocation page behave correctly, r=smaug 2017-03-16 14:32:30 -04:00
test_largeAllocation.html^headers^ Bug 1304140 - Part 2: Add tests for the Large-Allocation header, r=smaug 2016-10-31 16:38:54 -04:00
test_largeAllocationFormSubmit.sjs Bug 1347983 - Part 2: Add a test to ensure that forms submitted from a large-allocation page behave correctly, r=smaug 2017-03-16 14:32:30 -04:00
test_new_window_from_content_child.html
test_noopener_source.html Bug 1365032 - Part 2: Add a test for propagating properties of windows across window.open, r=smaug 2017-06-07 12:55:07 -04:00
test_noopener_target.html Bug 1365032 - Part 2: Add a test for propagating properties of windows across window.open, r=smaug 2017-06-07 12:55:07 -04:00
test-console-api.html Bug 1357473 - Update Console to the latest spec - part 3 - Console.groupEnd(), r=bgrins, r=nchevobbe 2017-04-18 10:04:00 +02:00
worker_bug1004814.js