[webkit-changes] cvs commit: WebCore/layout-tests/fast/dom/HTMLDocument/writeln call-expected.txt call.html multiple-calls-expected.txt multiple-calls.html

Geoffrey ggaren at opensource.apple.com
Fri Jul 1 14:07:03 PDT 2005


ggaren      05/07/01 14:07:03

  Modified:    .        ChangeLog
  Added:       layout-tests/fast/dom/HTMLDocument title-get-expected.txt
                        title-get.html title-set-expected.txt
                        title-set.html url-getset-expected.txt
                        url-getset.html write-call-expected.txt
                        write-call.html write-multiple-calls-expected.txt
                        write-multiple-calls.html writeln-call-expected.txt
                        writeln-call.html
                        writeln-multiple-calls-expected.txt
                        writeln-multiple-calls.html
  Removed:     layout-tests/fast/dom/HTMLDocument/title get-expected.txt
                        get.html set-expected.txt set.html
               layout-tests/fast/dom/HTMLDocument/url getset-expected.txt
                        getset.html
               layout-tests/fast/dom/HTMLDocument/write call-expected.txt
                        call.html multiple-calls-expected.txt
                        multiple-calls.html
               layout-tests/fast/dom/HTMLDocument/writeln call-expected.txt
                        call.html multiple-calls-expected.txt
                        multiple-calls.html
  Log:
          Moving dom tests around to conform to new directory structure
          specified in today's meeting.
  
          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.
          * layout-tests/fast/dom/HTMLDocument/title/get-expected.txt: Removed.
          * layout-tests/fast/dom/HTMLDocument/title/get.html: Removed.
          * layout-tests/fast/dom/HTMLDocument/title/set-expected.txt: Removed.
          * layout-tests/fast/dom/HTMLDocument/title/set.html: Removed.
          * layout-tests/fast/dom/HTMLDocument/url-getset-expected.txt: Added.
          * layout-tests/fast/dom/HTMLDocument/url-getset.html: Added.
          * layout-tests/fast/dom/HTMLDocument/url/getset-expected.txt: Removed.
          * layout-tests/fast/dom/HTMLDocument/url/getset.html: Removed.
          * 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.
          * layout-tests/fast/dom/HTMLDocument/write/call-expected.txt: Removed.
          * layout-tests/fast/dom/HTMLDocument/write/call.html: Removed.
          * layout-tests/fast/dom/HTMLDocument/write/multiple-calls-expected.txt: Removed.
          * layout-tests/fast/dom/HTMLDocument/write/multiple-calls.html: Removed.
          * layout-tests/fast/dom/HTMLDocument/writeln-call-expected.txt: Added.
          * layout-tests/fast/dom/HTMLDocument/writeln-call.html: Added.
          * layout-tests/fast/dom/HTMLDocument/writeln-multiple-calls-expected.txt: Added.
          * layout-tests/fast/dom/HTMLDocument/writeln-multiple-calls.html: Added.
          * layout-tests/fast/dom/HTMLDocument/writeln/call-expected.txt: Removed.
          * layout-tests/fast/dom/HTMLDocument/writeln/call.html: Removed.
          * layout-tests/fast/dom/HTMLDocument/writeln/multiple-calls-expected.txt: Removed.
          * layout-tests/fast/dom/HTMLDocument/writeln/multiple-calls.html: Removed.
  
  Revision  Changes    Path
  1.4348    +38 -0     WebCore/ChangeLog
  
  Index: ChangeLog
  ===================================================================
  RCS file: /cvs/root/WebCore/ChangeLog,v
  retrieving revision 1.4347
  retrieving revision 1.4348
  diff -u -r1.4347 -r1.4348
  --- ChangeLog	1 Jul 2005 18:56:32 -0000	1.4347
  +++ ChangeLog	1 Jul 2005 21:06:58 -0000	1.4348
  @@ -1,5 +1,43 @@
   2005-07-01  Geoffrey Garen  <ggaren at apple.com>
   
  +        Moving dom tests around to conform to new directory structure
  +        specified in today's meeting.
  +
  +        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.
  +        * layout-tests/fast/dom/HTMLDocument/title/get-expected.txt: Removed.
  +        * layout-tests/fast/dom/HTMLDocument/title/get.html: Removed.
  +        * layout-tests/fast/dom/HTMLDocument/title/set-expected.txt: Removed.
  +        * layout-tests/fast/dom/HTMLDocument/title/set.html: Removed.
  +        * layout-tests/fast/dom/HTMLDocument/url-getset-expected.txt: Added.
  +        * layout-tests/fast/dom/HTMLDocument/url-getset.html: Added.
  +        * layout-tests/fast/dom/HTMLDocument/url/getset-expected.txt: Removed.
  +        * layout-tests/fast/dom/HTMLDocument/url/getset.html: Removed.
  +        * 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.
  +        * layout-tests/fast/dom/HTMLDocument/write/call-expected.txt: Removed.
  +        * layout-tests/fast/dom/HTMLDocument/write/call.html: Removed.
  +        * layout-tests/fast/dom/HTMLDocument/write/multiple-calls-expected.txt: Removed.
  +        * layout-tests/fast/dom/HTMLDocument/write/multiple-calls.html: Removed.
  +        * layout-tests/fast/dom/HTMLDocument/writeln-call-expected.txt: Added.
  +        * layout-tests/fast/dom/HTMLDocument/writeln-call.html: Added.
  +        * layout-tests/fast/dom/HTMLDocument/writeln-multiple-calls-expected.txt: Added.
  +        * layout-tests/fast/dom/HTMLDocument/writeln-multiple-calls.html: Added.
  +        * layout-tests/fast/dom/HTMLDocument/writeln/call-expected.txt: Removed.
  +        * layout-tests/fast/dom/HTMLDocument/writeln/call.html: Removed.
  +        * layout-tests/fast/dom/HTMLDocument/writeln/multiple-calls-expected.txt: Removed.
  +        * layout-tests/fast/dom/HTMLDocument/writeln/multiple-calls.html: Removed.
  +
  +2005-07-01  Geoffrey Garen  <ggaren at apple.com>
  +
           -landed patch by Eric Seidel <macdome at opendarwin.org>
           
           -for http://bugzilla.opendarwin.org/show_bug.cgi?id=3657
  
  
  
  1.1                  WebCore/layout-tests/fast/dom/HTMLDocument/title-get-expected.txt
  
  Index: title-get-expected.txt
  ===================================================================
  Tests: getting HTMLDocument::title
  
  Condition(s):
  
  Success message: passed
  
  Failure message: failed
  
  passed
  
  
  
  1.1                  WebCore/layout-tests/fast/dom/HTMLDocument/title-get.html
  
  Index: title-get.html
  ===================================================================
  <html>
  <head>
  <title>test</title>
  <script>
  function print(message) {
  	var paragraph = document.createElement("p");
  	paragraph.appendChild(document.createTextNode(message));
  	document.getElementById("console").appendChild(paragraph);
  }
  
  function test() {
  	if (window.layoutTestController) {
  		window.layoutTestController.dumpAsText();
  	}
  
  	if (document.title == "test") {
  		print("passed");
  	} else {
  		print("failed");
  	}
  }
  </script>
  </head>
  <body onload="test()">
  <p>Tests: getting HTMLDocument::title</p>
  <p>Condition(s): </p>
  <p>Success message: passed</p>
  <p>Failure message: failed</p>
  <hr>
  <div id='console'/>
  </body>
  </html>
  
  
  
  1.1                  WebCore/layout-tests/fast/dom/HTMLDocument/title-set-expected.txt
  
  Index: title-set-expected.txt
  ===================================================================
  Tests: setting HTMLDocument::title
  
  Condition(s):
  
  Success message: passed
  
  Failure message: failed
  
  passed
  
  
  
  1.1                  WebCore/layout-tests/fast/dom/HTMLDocument/title-set.html
  
  Index: title-set.html
  ===================================================================
  <html>
  <head>
  <script>
  function print(message) {
  	var paragraph = document.createElement("p");
  	paragraph.appendChild(document.createTextNode(message));
  	document.getElementById("console").appendChild(paragraph);
  }
  
  function test() {
  	if (window.layoutTestController) {
  		window.layoutTestController.dumpAsText();
  	}
  
  	document.title = "test";
  	if (document.title == "test") {
  		print("passed");
  	} else {
  		print("failed");
  	}
  }
  </script>
  </head>
  <body onload="test()">
  <p>Tests: setting HTMLDocument::title</p>
  <p>Condition(s): </p>
  <p>Success message: passed</p>
  <p>Failure message: failed</p>
  <hr>
  <div id='console'/>
  </body>
  </html>
  
  
  
  1.1                  WebCore/layout-tests/fast/dom/HTMLDocument/url-getset-expected.txt
  
  Index: url-getset-expected.txt
  ===================================================================
  Tests: getting and setting HTMLDocument::url
  (Setting should do nothing since URL is readonly)
  
  Condition(s):
  
  Success message: passed
  
  Failure message: failed
  
  Get: passed
  
  Set: passed
  
  
  
  1.1                  WebCore/layout-tests/fast/dom/HTMLDocument/url-getset.html
  
  Index: url-getset.html
  ===================================================================
  <html>
  <head>
  <title>URL test</title>
  <script type="text/javascript">
  function print(message) {
  	var paragraph = document.createElement("p");
  	paragraph.appendChild(document.createTextNode(message));
  	document.getElementById("console").appendChild(paragraph);
  }
  
  function test() {
  	//test get URL
  	var len = document.URL.length;
  	var file = document.URL.substring(len - 11);
  	
  	if (file=="getset.html")
  		print("Get: passed");
  	else
  		print("Get: failed");
  		
  	//test set URL
  	if (window.layoutTestController) {
  		window.layoutTestController.dumpAsText();
  	}
  	var origURL = document.URL;
  	
  	document.URL = origURL + '#testAnchor';
  	
  	var newURL = document.URL;
  	
  	if (newURL!=origURL) {
  		print("Set: failed");
  	} else {
  		print("Set: passed");
  	}
  	
  }
  </script>
  </head>
  <body onload="test()">
  <p>Tests: getting and setting HTMLDocument::url<br>
  (Setting should do nothing since URL is readonly)</p>
  <p>Condition(s): </p>
  <p>Success message: passed</p>
  <p>Failure message: failed</p>
  <hr>
  
  <a name='testAnchor'></A>
  
  <div id='console'/>
  </body>
  </html>
  
  
  
  1.1                  WebCore/layout-tests/fast/dom/HTMLDocument/write-call-expected.txt
  
  Index: write-call-expected.txt
  ===================================================================
  Tests: calling HTMLDocument::write
  
  Condition(s):
  
  Success message: passed
  
  Failure message: [no output]
  
  passed
  
  
  
  1.1                  WebCore/layout-tests/fast/dom/HTMLDocument/write-call.html
  
  Index: write-call.html
  ===================================================================
  <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>
  
  
  
  1.1                  WebCore/layout-tests/fast/dom/HTMLDocument/write-multiple-calls-expected.txt
  
  Index: write-multiple-calls-expected.txt
  ===================================================================
  Tests: calling HTMLDocument::write
  
  Condition(s): multiple calls
  
  Success message:
  
  passed
  Failure message:
  
  pa
  ssed
  passed
  
  
  
  1.1                  WebCore/layout-tests/fast/dom/HTMLDocument/write-multiple-calls.html
  
  Index: write-multiple-calls.html
  ===================================================================
  <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>
  
  
  
  1.1                  WebCore/layout-tests/fast/dom/HTMLDocument/writeln-call-expected.txt
  
  Index: writeln-call-expected.txt
  ===================================================================
  Tests: calling HTMLDocument::writeln
  
  Condition(s):
  
  Success message: success
  
  Failure message: [no output]
  
  success
  
  
  
  1.1                  WebCore/layout-tests/fast/dom/HTMLDocument/writeln-call.html
  
  Index: writeln-call.html
  ===================================================================
  <html>
  <head>
  <script>
  function test() {
  	if (window.layoutTestController) {
  		window.layoutTestController.dumpAsText();
  	}
  
  	document.writeln("success");
  }
  </script>
  </head>
  <body>
  <p>Tests: calling HTMLDocument::writeln</p>
  <p>Condition(s): </p>
  <p> Success message: success </p>
  <p>Failure message: [no output] </p>
  <hr>
  </body>
  <script>test()</script>
  </html>
  
  
  
  1.1                  WebCore/layout-tests/fast/dom/HTMLDocument/writeln-multiple-calls-expected.txt
  
  Index: writeln-multiple-calls-expected.txt
  ===================================================================
  Tests: calling HTMLDocument::writeln
  
  Condition(s): multiple calls
  
  Success message:
  
  line 1
  line 2
  Failure message:
  
  line 1line 2
  line 1
  line 2
  
  
  
  
  1.1                  WebCore/layout-tests/fast/dom/HTMLDocument/writeln-multiple-calls.html
  
  Index: writeln-multiple-calls.html
  ===================================================================
  <html>
  <head>
  <script>
  function test() {
  	if (window.layoutTestController) {
  		window.layoutTestController.dumpAsText();
  	}
  
  	document.writeln("<pre>");
  	document.writeln("line 1");
  	document.writeln("line 2");
  	document.writeln("</pre>");
  }
  </script>
  </head>
  <body>
  <p>Tests: calling HTMLDocument::writeln</p>
  <p>Condition(s): multiple calls</p>
  <p>
  Success message: 
  <pre>
  line 1
  line 2
  </pre>
  </p>
  <p>Failure message: 
  <pre>
  line 1line 2
  </pre>
  </p>
  <hr>
  </body>
  <script>test()</script>
  </html>
  
  
  



More information about the webkit-changes mailing list