diff -r 000000000000 -r 6474c204b198 dom/tests/js/write2.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dom/tests/js/write2.html Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,60 @@ + + + + + +

document.write (out-of-line) test

+

This test uses the open, write and close methods of a +document to construct a document. It tests the "out-of-line" +capabilities of document.write i.e. the ability to use +document.write to create an entirely new document.

+ +
+

Use this button to create a new window. If one already +exists, we'll use it. + +

+ +

Use this button to write the new value of a counter into +the document. If the document was previously closed, it will be +reopened (and the old contents will be destroyed. + +

+ +

Use this button to close the document. Subsequent writes will rewrite +the document. + +

+

+ + \ No newline at end of file