Add dumps to crashtest in the hope of shedding light on orange bug 471185

This commit is contained in:
Jesse Ruderman 2010-03-31 17:00:04 -07:00
parent ae227d8320
commit 724ecf37b9
2 changed files with 3 additions and 2 deletions

View file

@ -1,4 +1,4 @@
<?xml-stylesheet type="text/xsl" href="#a"?>
<html xmlns="http://www.w3.org/1999/xhtml" onload="window.location.reload()" contenteditable="true">
<html xmlns="http://www.w3.org/1999/xhtml" onload="dump('Inner onload\n'); window.location.reload()" contenteditable="true">
<xsl:stylesheet version="1.0" id="a" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"/>
</html>

View file

@ -4,10 +4,11 @@
function boom() {
var iframe = document.getElementById('inner');
iframe.src = iframe.src;
dump("Outer onload\n");
}
</script>
</head>
<body onload="boom()">
<iframe src="428844-1-inner.xhtml" id="inner">
<iframe src="428844-1-inner.xhtml" id="inner"></iframe>
</body>
</html>