mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 678872: Test.
This commit is contained in:
parent
a6f6192a67
commit
d12d1798a1
36
docshell/base/crashtests/678872-1.html
Normal file
36
docshell/base/crashtests/678872-1.html
Normal file
@ -0,0 +1,36 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<script>
|
||||
|
||||
var f1, f2;
|
||||
|
||||
function b1()
|
||||
{
|
||||
f1 = document.getElementById("f1");
|
||||
f2 = document.getElementById("f2");
|
||||
f1.contentWindow.document.write("11");
|
||||
f1.contentWindow.history.back();
|
||||
setTimeout(b2, 0);
|
||||
}
|
||||
|
||||
function b2()
|
||||
{
|
||||
f2.contentWindow.history.forward();
|
||||
f2.contentWindow.location.reload();
|
||||
f1.parentNode.removeChild(f1);
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="setTimeout(b1, 0);">
|
||||
|
||||
<iframe id="f1" src="data:text/html,1"></iframe>
|
||||
<iframe id="f2" src="data:text/html,2"></iframe>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -10,3 +10,4 @@ asserts(0-2) load 436900-2.html # bug 566159
|
||||
load 500328-1.html
|
||||
load 514779-1.xhtml
|
||||
load 614499-1.html
|
||||
load 678872-1.html
|
||||
|
Loading…
Reference in New Issue
Block a user