mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
Bug 990202 - Move the test page to a new window to prevent it from navigating the test runner frame back; r=bzbarsky
This commit is contained in:
parent
e31688cbd8
commit
76f5142852
16
docshell/test/file_framedhistoryframes.html
Normal file
16
docshell/test/file_framedhistoryframes.html
Normal file
@ -0,0 +1,16 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<body>
|
||||
<iframe id="iframe" src="historyframes.html"></iframe>
|
||||
<script type="application/javascript">
|
||||
|
||||
var SimpleTest = window.opener.SimpleTest;
|
||||
var is = window.opener.is;
|
||||
|
||||
function done() {
|
||||
window.opener.done();
|
||||
}
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
@ -96,7 +96,8 @@ skip-if = (buildapp == 'b2g' && toolkit != 'gonk') #Bug 931116, b2g desktop spec
|
||||
skip-if = (buildapp == 'b2g' && toolkit != 'gonk') #Bug 931116, b2g desktop specific, initial triage
|
||||
[test_bug797909.html]
|
||||
[test_framedhistoryframes.html]
|
||||
skip-if = toolkit == 'android' #bug 784321
|
||||
skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == 'android' #Bug 931116, b2g desktop specific, initial triage, and also bug 784321
|
||||
support-files = file_framedhistoryframes.html
|
||||
[test_pushState_after_document_open.html]
|
||||
[test_windowedhistoryframes.html]
|
||||
skip-if = (buildapp == 'b2g' && toolkit != 'gonk') #Bug 931116, b2g desktop specific, initial triage
|
||||
|
@ -12,7 +12,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=602256
|
||||
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=602256">Mozilla Bug 602256</a>
|
||||
<p id="display"></p>
|
||||
<div id="content">
|
||||
<iframe id="iframe" src="historyframes.html"></iframe>
|
||||
</div>
|
||||
<pre id="test">
|
||||
<script type="application/javascript">
|
||||
@ -20,8 +19,10 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=602256
|
||||
/** Test for Bug 602256 **/
|
||||
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
var win = window.open("file_framedhistoryframes.html");
|
||||
|
||||
function done() {
|
||||
win.close();
|
||||
SimpleTest.finish();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user