gecko-dev/docshell/test
Mike Conley a6486de489 Bug 1336763 - Wait for the browser to say it can go back before going back in browser_grouped_shistory_dead_navigate.js test. r=mystor
This test was accidentally taking advantage of the fact that closing a tab will result
in a nested event loop while waiting for the permitUnload messages to be sent back and
forth from the content process. This meant that the message that tells the parent that
the browser (which is having its history set) can now go back had a chance to be received
by the parent.

With the patches in bug 1336763, we're no longer spinning the event loop if the closing
tab doesn't have a beforeunload event handler in it, so we need to wait for the browser
to report that it can go back before actually sending it back in order to avoid a
test failure.

MozReview-Commit-ID: Lpl55iErrvf

--HG--
extra : rebase_source : 87b2d6a0fb448f729b82860de9d17c0db26097e7
2017-04-27 15:07:55 -04:00
..
browser Bug 1336763 - Wait for the browser to say it can go back before going back in browser_grouped_shistory_dead_navigate.js test. r=mystor 2017-04-27 15:07:55 -04:00
chrome Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
iframesandbox Bug 1310297 - Remove test annotations using b2g, mulet or gonk: docshell. r=RyanVM 2016-11-05 11:29:14 +01:00
navigation Merge mozilla-central to mozilla-inbound 2017-03-17 14:55:15 +01:00
unit Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
unit_ipc Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
bug123696-subframe.html
bug369814.jar
bug369814.zip
bug404548-subframe.html
bug413310-post.sjs
bug413310-subframe.html
bug529119-window.html
bug530396-noref.sjs
bug530396-subframe.html
bug570341_recordevents.html
bug668513_redirect.html
bug668513_redirect.html^headers^
bug691547_frame.html
dummy_page.html Bug 1341754: Test SetURI in Location passes triggeringPrincipal. r=smaug 2017-03-07 12:50:47 +01:00
file_anchor_scroll_after_document_open.html
file_bug385434_1.html
file_bug385434_2.html
file_bug385434_3.html 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
file_bug475636.sjs
file_bug509055.html
file_bug511449.html
file_bug540462.html
file_bug580069_1.html
file_bug580069_2.sjs
file_bug590573_1.html
file_bug590573_2.html
file_bug634834.html
file_bug640387.html
file_bug653741.html
file_bug660404
file_bug660404^headers^
file_bug662170.html
file_bug668513.html
file_bug669671.sjs
file_bug680257.html
file_bug703855.html
file_bug728939.html
file_bug1151421.html Bug 1151421 Part 2: Add test of fractional scroll position properties. r=smaug 2017-03-14 17:31:22 -07:00
file_framedhistoryframes.html
file_pushState_after_document_open.html
historyframes.html 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
mochitest.ini Bug 1151421 Part 2: Add test of fractional scroll position properties. r=smaug 2017-03-14 17:31:22 -07:00
moz.build Bug 1350496 - add BUG_COMPONENT to docshell/* files. r=overholt 2017-04-09 05:43:52 -04:00
test_anchor_scroll_after_document_open.html
test_bfcache_plus_hash.html Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09:00
test_bug123696.html Bug 1326251 - Part 3: Fix broken test case. r=smaug 2017-01-18 18:09:54 +08:00
test_bug369814.html 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
test_bug384014.html
test_bug385434.html Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09:00
test_bug387979.html
test_bug402210.html
test_bug404548.html
test_bug413310.html
test_bug475636.html Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09:00
test_bug509055.html Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09:00
test_bug511449.html Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09:00
test_bug529119-1.html
test_bug529119-2.html
test_bug530396.html Bug 1107904 - Remove packed.js and references to it as it is unused. r=standard8 2017-04-12 11:10:00 +01:00
test_bug540462.html
test_bug551225.html Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09:00
test_bug570341.html Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws. 2017-03-08 10:17:52 +01:00
test_bug580069.html
test_bug590573.html Bug 1151421 Part 3: Update tests of pageYOffset/scrollY to round off when checking expected results. r=smaug 2017-03-16 12:05:56 -07:00
test_bug598895.html
test_bug634834.html Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09:00
test_bug637644.html
test_bug640387_1.html Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09:00
test_bug640387_2.html Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09:00
test_bug653741.html Bug 1151421 Part 3: Update tests of pageYOffset/scrollY to round off when checking expected results. r=smaug 2017-03-16 12:05:56 -07:00
test_bug660404.html
test_bug662170.html Bug 1151421 Part 3: Update tests of pageYOffset/scrollY to round off when checking expected results. r=smaug 2017-03-16 12:05:56 -07:00
test_bug668513.html
test_bug669671.html Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09:00
test_bug675587.html
test_bug680257.html Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09:00
test_bug691547.html
test_bug694612.html
test_bug703855.html
test_bug713825.html
test_bug728939.html Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09:00
test_bug797909.html
test_bug1045096.html
test_bug1121701.html
test_bug1151421.html Bug 1151421 Part 2: Add test of fractional scroll position properties. r=smaug 2017-03-14 17:31:22 -07:00
test_bug1186774.html Bug 1151421 Part 3: Update tests of pageYOffset/scrollY to round off when checking expected results. r=smaug 2017-03-16 12:05:56 -07:00
test_forceinheritprincipal_overrule_owner.html Bug 1352778 - Do not reset triggeringPrincipal but only principalToInherit within loadInfo when forced to. r=gijs 2017-04-03 20:06:53 +02:00
test_framedhistoryframes.html
test_pushState_after_document_open.html
test_triggeringprincipal_location_seturi.html Bug 1341754: Test SetURI in Location passes triggeringPrincipal. r=smaug 2017-03-07 12:50:47 +01:00
test_windowedhistoryframes.html