DOM compatibility test for HTMLDocument::write
authorggaren <ggaren@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 29 Jun 2005 23:24:32 +0000 (23:24 +0000)
committerggaren <ggaren@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 29 Jun 2005 23:24:32 +0000 (23:24 +0000)
        Reviewed by justing.

        Test cases added:
        * layout-tests/fast/dom/HTMLDocument/write/call-expected.txt: Added.
        * layout-tests/fast/dom/HTMLDocument/write/call.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9534 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/fast/dom/HTMLDocument/write/call-expected.txt [new file with mode: 0644]
LayoutTests/fast/dom/HTMLDocument/write/call.html [new file with mode: 0644]
WebCore/ChangeLog-2005-08-23

diff --git a/LayoutTests/fast/dom/HTMLDocument/write/call-expected.txt b/LayoutTests/fast/dom/HTMLDocument/write/call-expected.txt
new file mode 100644 (file)
index 0000000..65be735
--- /dev/null
@@ -0,0 +1,9 @@
+Tests: calling HTMLDocument::write
+
+Condition(s):
+
+Success message: passed
+
+Failure message: [no output]
+
+passed
diff --git a/LayoutTests/fast/dom/HTMLDocument/write/call.html b/LayoutTests/fast/dom/HTMLDocument/write/call.html
new file mode 100644 (file)
index 0000000..a125fe8
--- /dev/null
@@ -0,0 +1,21 @@
+<html>
+<head>
+<script>
+function test() {
+       if (window.layoutTestController) {
+               window.layoutTestController.dumpAsText();
+       }
+
+       document.write("passed");
+}
+</script>
+</head>
+<body>
+<p>Tests: calling HTMLDocument::write</p>
+<p>Condition(s): </p>
+<p>Success message: passed</p>
+<p>Failure message: [no output]</p>
+<hr>
+</body>
+<script>test()</script>
+</html>
index f81c1f03c18369120e3c82cf34f05f7fc3030371..f1deeb547a8480dc2c3c6ab8d1d636e9c4fb9052 100644 (file)
@@ -1,3 +1,13 @@
+2005-06-29  Geoffrey Garen  <ggaren@apple.com>
+
+       DOM compatibility tests for HTMLDocument::write
+
+        Reviewed by justing.
+
+        Test cases added: 
+        * layout-tests/fast/dom/HTMLDocument/write/call-expected.txt: Added.
+        * layout-tests/fast/dom/HTMLDocument/write/call.html: Added.
+
 2005-06-29  Geoffrey Garen  <ggaren@apple.com>
 
        DOM compatibility tests for HTMLDocument::title