gecko-dev/dom/tests/mochitest/bugs
Mike Conley d190976dae Bug 1287827 - Fix a race-y test_bug260264.html mochitest. r=mrbkap
In nsGlobalWindow, we have a static counter for how many popups we've seen
recently. We increment it and decrement it when popups open and close - although
the decrement only occurs once the DocShell is detached, which happens asynchronously.

The test uses a utility that returns Promises for window.open and window.close,
but it uses dom-window-destroyed for resolving close, which happens _before_ the
counter is decremented. The dom-window-destroyed observer queues a runnable which
resolves the Promise.

This means that the test is attempting to open windows before the windows from a
previous test have finished detaching their DocShells (and decrementing the counter),
which means that the attempts to open the window hit the popup limit, which blocks
the popups.

This test switches us to waiting for outer-window-destroyed instead, which gives us
a greater certainty that the decrement has occurred.

MozReview-Commit-ID: 3a7QzxelP0a
2016-07-30 08:48:26 +01:00
..
bug346659-echoer.html
bug346659-opener-echoer.html
bug346659-opener.html
bug346659-parent-echoer.html
bug346659-parent.html
bug458091_child.html
child_bug260264.html Bug 873403 - Convert test_bug260264.html to use SpecialPowers. r=jst 2013-09-20 12:50:26 +02:00
devicemotion_inner.html
devicemotion_outer.html
file_bug291653.html
file_bug406375.html
file_bug504862.html Bug 860941 - Tests. r=jst 2013-05-17 10:43:20 -07:00
file_bug593174_1.html
file_bug593174_2.html
file_bug809290_b1.html
file_bug809290_b2.html
file_bug809290_c.html
file_bug927901.html test for Bug 927901, rs=jst 2013-10-26 00:35:34 +03:00
file_cookieOutputter.html Bug 1171215 - Compute third-partyness in the loadinfo instead of nsIHttpChannelInternal so that other protocols correctly respect the third-party cookie pref. r=sicking/ckerschb 2015-11-30 13:25:29 -08:00
file_empty.html
file_prime_cookie.html Bug 1171215 - Compute third-partyness in the loadinfo instead of nsIHttpChannelInternal so that other protocols correctly respect the third-party cookie pref. r=sicking/ckerschb 2015-11-30 13:25:29 -08:00
file_redirector.sjs Bug 1171215 - Compute third-partyness in the loadinfo instead of nsIHttpChannelInternal so that other protocols correctly respect the third-party cookie pref. r=sicking/ckerschb 2015-11-30 13:25:29 -08:00
file_window_bar.html
grandchild_bug260264.html Backout changeset 2e466ccc7bd0 for devtools test failures. 2013-10-26 17:02:20 +02:00
iframe_bug38959-1.html
iframe_bug38959-2.html
iframe_bug49312.html
iframe_bug304459-1.html
iframe_bug304459-2.html
iframe_bug430276-2.html
iframe_bug430276.html
iframe_bug440572.html Bug 1040391 - Fix test_bug440572.html to not rely on silent failure to pass. r=bz. 2014-07-09 16:58:04 +02:00
iframe_domparser_after_blank.html
mochitest.ini Bug 1276738 - Tag a bunch of tests that exercise opening windows with openwindow. r=me 2016-04-29 14:29:03 -04:00
test_bug38959.html
test_bug42976.html Change tests that depended on the behaviour before bug 151407 was fixed, r=Ms2ger 2013-04-23 08:11:59 +03:00
test_bug49312.html
test_bug61098.html Bug 1241252, part 3 - Misc. cleanups in test_bug61098.html. r=mrbkap 2016-01-21 09:57:30 -08:00
test_bug132255.html
test_bug159849.html
test_bug260264_nested.html Bug 873403 - Convert test_bug260264.html to use SpecialPowers. r=jst 2013-09-20 12:50:26 +02:00
test_bug260264.html Bug 1255121 - Fix test_bug260264.html to run in e10s mode; r=mrbkap 2016-05-02 15:10:41 -04:00
test_bug265203.html Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher,mwargers 2015-02-19 11:53:01 -05:00
test_bug291377.html Bug 1154275 - Remove ise() in favor of is(); r=Ms2ger 2015-05-13 14:31:58 -04:00
test_bug291653.html Bug 1255125 - Enable some of the e10s tests in dom/tests/mochitest/bugs that are currently disabled because of window.showModalDialog() not being supported in e10s mode; r=mrbkap 2016-03-09 17:27:27 -05:00
test_bug304459.html
test_bug308856.html
test_bug327891.html
test_bug333983.html
test_bug335976.xhtml
test_bug342448.html Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted 2014-12-11 13:34:40 -05:00
test_bug345521.html
test_bug346659.html Bug 1154505 - Request longer timeout for test_bug346659.html; r=smaug 2015-05-26 11:33:26 -06:00
test_bug351601.html
test_bug369306.html Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted 2014-12-11 13:34:40 -05:00
test_bug370098.html Bug 916644 - Disable invoking WebIDL constructors without |new| unless you have the system principal. r=bz 2014-03-04 10:05:08 -08:00
test_bug377539.html
test_bug384122.html
test_bug389366.html
test_bug393974.html
test_bug394769.html
test_bug396843.html Bug 857820 part.3 Drop <blink> support from HTML parser r=mrbkap 2013-04-14 19:11:09 +09:00
test_bug400204.html Bug 1151940 part 3. Make some writable cssom-view attributes that we only allow setting from chrome act the way readonly replaceables would when called from content. r=smaug 2015-04-08 22:50:45 -04:00
test_bug404748.html
test_bug406375.html Bug 1255125 - Enable some of the e10s tests in dom/tests/mochitest/bugs that are currently disabled because of window.showModalDialog() not being supported in e10s mode; r=mrbkap 2016-03-09 17:27:27 -05:00
test_bug411103.html
test_bug414291.html Bug 1240958 - Don't test showModalDialog in test_bug414291.html if it isn't defined. r=mrbkap 2016-01-21 09:57:29 -08:00
test_bug427744.html Bug 757726 - Part 6a: Add support for cloaking plugin names in navigator.plugins and navigator.mimeTypes enumeration. r=johns sr=bsmedberg 2013-10-31 22:19:09 -07:00
test_bug430276.html
test_bug437361.html Bug 1255125 - Enable some of the e10s tests in dom/tests/mochitest/bugs that are currently disabled because of window.showModalDialog() not being supported in e10s mode; r=mrbkap 2016-03-09 17:27:27 -05:00
test_bug440572.html Bug 1040391 - Fix test_bug440572.html to not rely on silent failure to pass. r=bz. 2014-07-09 16:58:04 +02:00
test_bug456151.html
test_bug458091.html
test_bug459848.html
test_bug465263.html
test_bug479143.html Bug 1255125 - Enable some of the e10s tests in dom/tests/mochitest/bugs that are currently disabled because of window.showModalDialog() not being supported in e10s mode; r=mrbkap 2016-03-09 17:27:27 -05:00
test_bug484775.html
test_bug492925.html
test_bug495219.html
test_bug504862.html Bug 1255125 - Enable some of the e10s tests in dom/tests/mochitest/bugs that are currently disabled because of window.showModalDialog() not being supported in e10s mode; r=mrbkap 2016-03-09 17:27:27 -05:00
test_bug529328.html Bug 921718 - Part b: Move MediaList to WebIDL; r=bz 2013-11-11 09:03:17 +01:00
test_bug531176.html Bug 949614 - Use === for SimpleTest.is; r=Waldo 2015-04-14 15:28:13 +02:00
test_bug531542.html
test_bug534149.html Bug 877478 - Fix test to use SpecialPowers.{add,remove}Observer. r=mrbkap 2013-06-04 19:56:42 -07:00
test_bug541530.html Bug 1253016 - Fix a DOM test that uses legacy define behavior. r=bz 2016-03-12 15:02:12 +01:00
test_bug545314.html
test_bug548828.html
test_bug558973.html
test_bug562433.html
test_bug563487.html
test_bug581072.html Bug 949614 - Use === for SimpleTest.is; r=Waldo 2015-04-14 15:28:13 +02:00
test_bug583225.html
test_bug585240.html
test_bug585819.html
test_bug593174.html Bug 949614 - Use === for SimpleTest.is; r=Waldo 2015-04-14 15:28:13 +02:00
test_bug597809.html Bug 903891 - Fix category manager tests to use a contract-id that we can create in content. r=emk 2013-08-22 15:51:34 -07:00
test_bug612267.html
test_bug617296.html
test_bug620947.html
test_bug622361.html Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted 2014-12-11 13:34:40 -05:00
test_bug633133.html
test_bug641552.html Bug 1245650 - remove JavaScript-navigator-property category support. r=bz. 2016-02-05 20:20:08 +01:00
test_bug642026.html Bug 1207494 - Part 12: Remove use of expression closure from dom/tests/. r=jst 2015-09-23 18:39:15 +09:00
test_bug648465.html
test_bug654137.html
test_bug664737.html Bug 859707. Convert History to WebIDL bindings. r=bz 2013-08-09 23:47:59 -07:00
test_bug665548.html
test_bug684544.html Backed out 3 changesets (bug 932309, bug 932322) for Linux mochitest-bc timeouts on a CLOSED TREE. 2013-11-04 14:31:21 -05:00
test_bug691707.html Bug 1220564 - Update chrome code uses of genexprs and legacy comprehensions. (r=billm) 2016-01-06 16:02:16 -08:00
test_bug698061.html Bug 937461. Make cloneNode/importNode "deep" arg default to false, since the spec changed on us. r=sicking 2013-12-20 14:28:17 -05:00
test_bug698551.html
test_bug707749.html
test_bug735237.html
test_bug739038.html
test_bug740811.html
test_bug743615.html
test_bug750051.html
test_bug755320.html
test_bug777628.html
test_bug809290.html Bug 887928 - document.referrer should be based on the incument script settings object. r=bz 2014-01-03 14:37:17 -08:00
test_bug817476.html
test_bug823173.html
test_bug848088.html Fix for bug 848088 (IonMonkey: property get IC for DOM list proxies fails to detect expando). r=jandem. 2013-03-06 22:45:59 +01:00
test_bug850517.html Bug 989426 - Use new Proxy instead of Proxy.create in SpecialPowers. r=bholley 2016-01-28 19:38:50 +01:00
test_bug857555.html Bug 983920 - Port window.sidebar and window.external to WebIDL; r=bzbarsky 2014-03-28 00:03:03 -04:00
test_bug862540.html Bug 949614 - Use === for SimpleTest.is; r=Waldo 2015-04-14 15:28:13 +02:00
test_bug876098.html Bug 876098. Make sure to not skip calling addProperty hooks when objects have them. Otherwise DOM expandos can go AWOL. r=djvj 2013-05-30 13:01:38 -04:00
test_bug927901.html test for Bug 927901, rs=jst 2013-10-26 00:35:34 +03:00
test_bug1022869.html Bug 1022869 - Reparent template contents owner document. r=peterv 2014-06-25 17:33:24 -07:00
test_bug1112040.html Bug 1235159 - followup: Fix test_bug1112040.html to check updated message. r=bustage 2016-01-16 15:22:09 +09:00
test_bug1160342_marquee.html Bug 1249061 - Improve property/attribute handling for marquees. r=smaug 2016-04-01 14:24:48 +02:00
test_bug1171215.html Bug 1171215 - Compute third-partyness in the loadinfo instead of nsIHttpChannelInternal so that other protocols correctly respect the third-party cookie pref. r=sicking/ckerschb 2015-11-30 13:25:29 -08:00
test_devicemotion_multiple_listeners.html
test_domparser_after_blank.html
test_DOMWindowCreated_chromeonly.html Bug 1139099: Dispatch DOMDocElementInserted to match the document-element-inserted observer notification. r=mrbkap 2015-03-03 14:07:08 -08:00
test_errorReporting.html Bug 1070842 - Tests. r=bz 2014-09-29 15:34:22 +02:00
test_onerror_message.html Bug 949614 - Use === for SimpleTest.is; r=Waldo 2015-04-14 15:28:13 +02:00
test_protochains.html
test_resize_move_windows.html Bug 1255138 - Window resize support from JS for e10s. r=mconley 2016-05-11 11:44:57 +02:00
test_sizetocontent_clamp.html Bug 1255138 - Window resize support from JS for e10s. r=mconley 2016-05-11 11:44:57 +02:00
test_toJSON.html Bug 936813 - Implement onresourcetimingbufferfull callback (part 2) r=bz 2014-05-10 05:12:06 +03:00
test_window_bar.html Bug 1257887 - Make windows opened through window.open() be scrollable by default. r=smaug 2016-05-17 11:25:47 +08:00
utils_bug260264.js Bug 1287827 - Fix a race-y test_bug260264.html mochitest. r=mrbkap 2016-07-30 08:48:26 +01:00
utils_bug743615.js
worker_bug743615.js