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

        Test cases added:
        * layout-tests/fast/dom/HTMLDocument/title/get-expected.txt: Added.
        * layout-tests/fast/dom/HTMLDocument/title/get.html: Added.
        * layout-tests/fast/dom/HTMLDocument/title/set-expected.txt: Added.
        * layout-tests/fast/dom/HTMLDocument/title/set.html: Added.

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

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

diff --git a/LayoutTests/fast/dom/HTMLDocument/title/get-expected.txt b/LayoutTests/fast/dom/HTMLDocument/title/get-expected.txt
new file mode 100644 (file)
index 0000000..baad006
--- /dev/null
@@ -0,0 +1,9 @@
+Tests: getting HTMLDocument::title
+
+Condition(s):
+
+Success message: passed
+
+Failure message: failed
+
+passed
index 7fbe154daa85b2468285122148e458b4d78c2bcb..5e560000ed07841ce8d919946e8b08ebcbf1b7a3 100644 (file)
@@ -9,6 +9,10 @@ function print(message) {
 }
 
 function test() {
+       if (window.layoutTestController) {
+               window.layoutTestController.dumpAsText();
+       }
+
        if (document.title == "test") {
                print("passed");
        } else {
diff --git a/LayoutTests/fast/dom/HTMLDocument/title/set-expected.txt b/LayoutTests/fast/dom/HTMLDocument/title/set-expected.txt
new file mode 100644 (file)
index 0000000..0227394
--- /dev/null
@@ -0,0 +1,9 @@
+Tests: setting HTMLDocument::title
+
+Condition(s):
+
+Success message: passed
+
+Failure message: failed
+
+passed
index 649e65b4d2a1323954473dae647235e65b32d306..f3dcb762f751d875ef29320ba6a4510406462bf5 100644 (file)
@@ -8,6 +8,10 @@ function print(message) {
 }
 
 function test() {
+       if (window.layoutTestController) {
+               window.layoutTestController.dumpAsText();
+       }
+
        document.title = "test";
        if (document.title == "test") {
                print("passed");
index 71e6959be0e4ad4c8939f058f4a17c821461404c..f81c1f03c18369120e3c82cf34f05f7fc3030371 100644 (file)
@@ -5,7 +5,9 @@
         Reviewed by justing.
 
         Test cases added: 
+        * layout-tests/fast/dom/HTMLDocument/title/get-expected.txt: Added.
         * layout-tests/fast/dom/HTMLDocument/title/get.html: Added.
+        * layout-tests/fast/dom/HTMLDocument/title/set-expected.txt: Added.
         * layout-tests/fast/dom/HTMLDocument/title/set.html: Added.
 
 2005-06-28  Maciej Stachowiak  <mjs@apple.com>