diff options
Diffstat (limited to 'LayoutTests/fast/dom/DOMImplementation/createDocument-with-used-doctype.html')
-rw-r--r-- | LayoutTests/fast/dom/DOMImplementation/createDocument-with-used-doctype.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/LayoutTests/fast/dom/DOMImplementation/createDocument-with-used-doctype.html b/LayoutTests/fast/dom/DOMImplementation/createDocument-with-used-doctype.html index ae4a7ae..95990cf 100644 --- a/LayoutTests/fast/dom/DOMImplementation/createDocument-with-used-doctype.html +++ b/LayoutTests/fast/dom/DOMImplementation/createDocument-with-used-doctype.html @@ -1,5 +1,4 @@ <body> -<iframe src="resources/createDocument-with-used-doctype-frame.html" onload="test()"></iframe> <script> if (window.layoutTestController) { layoutTestController.dumpAsText(); @@ -23,10 +22,12 @@ function test() frames[0].history.go(0); } else { gc(); - document.body.textContent = frames[0].document.body.textContent; + document.getElementById("result").innerText = frames[0].document.body.textContent; if (window.layoutTestController) layoutTestController.notifyDone(); } } </script> +<div id="result">FAIL</div> +<iframe src="resources/createDocument-with-used-doctype-frame.html" onload="test()"></iframe> </body> |