parser/htmlparser/tests/reftest/bug608373-1.html
author Henri Sivonen <hsivonen@iki.fi>
Tue, 16 Nov 2010 09:48:30 +0200
changeset 57562 8f5e0944335d02e89ac906fd80fc4c67b26fc5ac
permissions -rw-r--r--
Bug 608373 - Do not call document.close() when stopping a script-created document load; flush tree ops when the parser exhausts the stream in the script-created case. r=bzbarsky, a=blocking2.0-betaN.

<!DOCTYPE html>
<html class=reftest-wait>
<head>
<script>
function write() {
  document.getElementsByTagName("iframe")[0].contentDocument.write('\u003Cscript src="data:text/javascript,var i = 0;">\u003C\/script>TEXT\u003Cscript>parent.document.documentElement.removeAttribute("class");\u003c/script>');
}
</script>
</head>
<body onload="write();">
  <iframe></iframe>
</body>
</html>