Reviewed by Geoff Garen.
authorggaren <ggaren@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 30 Jun 2005 00:19:51 +0000 (00:19 +0000)
committerggaren <ggaren@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 30 Jun 2005 00:19:51 +0000 (00:19 +0000)
        Test cases added: added DOM test for document.URL

        * layout-tests/fast/dom/HTMLDocument/url/getset.html: Added.

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

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

index a125fe8f7a636883f224d48e3c1702a487ce6303..c33442cddfdfbc164fd57d84b5927d4692197db6 100644 (file)
@@ -12,7 +12,7 @@ function test() {
 </head>
 <body>
 <p>Tests: calling HTMLDocument::write</p>
-<p>Condition(s): </p>
+<p>Condition(s):</p>
 <p>Success message: passed</p>
 <p>Failure message: [no output]</p>
 <hr>
diff --git a/LayoutTests/fast/dom/HTMLDocument/write/multiple-calls-expected.txt b/LayoutTests/fast/dom/HTMLDocument/write/multiple-calls-expected.txt
new file mode 100644 (file)
index 0000000..e2a009c
--- /dev/null
@@ -0,0 +1,12 @@
+Tests: calling HTMLDocument::write
+
+Condition(s): multiple calls
+
+Success message:
+
+passed
+Failure message:
+
+pa
+ssed
+passed
diff --git a/LayoutTests/fast/dom/HTMLDocument/write/multiple-calls.html b/LayoutTests/fast/dom/HTMLDocument/write/multiple-calls.html
new file mode 100644 (file)
index 0000000..d293e3f
--- /dev/null
@@ -0,0 +1,35 @@
+<html>
+<head>
+<script>
+function test() {
+       if (window.layoutTestController) {
+               window.layoutTestController.dumpAsText();
+       }
+
+       document.write("<pre>");
+       document.write("pa");
+       document.write("ssed");
+       document.write("</pre>");
+}
+</script>
+</head>
+<body>
+<p>Tests: calling HTMLDocument::write</p>
+<p>Condition(s): multiple calls</p>
+<p>
+Success message: 
+<pre>
+passed
+</pre>
+</p>
+<p>
+Failure message: 
+<pre>
+pa
+ssed
+</pre>
+</p>
+<hr>
+</body>
+<script>test()</script>
+</html>
index 6aa2ab4a094f90d462e573a403518be6b2a0df36..24f816c8c51267ef6c9aaebe2b8de7dd0645601f 100644 (file)
@@ -15,6 +15,8 @@
         Test cases added: 
         * layout-tests/fast/dom/HTMLDocument/write/call-expected.txt: Added.
         * layout-tests/fast/dom/HTMLDocument/write/call.html: Added.
+        * layout-tests/fast/dom/HTMLDocument/write/multiple-calls-expected.txt: Added.
+        * layout-tests/fast/dom/HTMLDocument/write/multiple-calls.html: Added.
 
 2005-06-29  Geoffrey Garen  <ggaren@apple.com>