Reviewed by Darin.
authorap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 25 Jan 2006 12:36:48 +0000 (12:36 +0000)
committerap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 25 Jan 2006 12:36:48 +0000 (12:36 +0000)
        Corrected a test case for http://bugzilla.opendarwin.org/show_bug.cgi?id=6385.

        * fast/frames/frame-element-name.html: Fix a reference to the left frame.
        * fast/frames/frame-element-name-expected.txt: Updated results.
        * fast/frames/frame-element-name-expected.png: Updated results.
        * fast/frames/frame-element-name-expected.checksum: Updated results.
        * fast/frames/resources/frame-element-name-left.html: Use escape() on the name.
        * fast/frames/resources/frame-element-name-right.html: Ditto.

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

LayoutTests/ChangeLog
LayoutTests/fast/frames/frame-element-name-expected.checksum
LayoutTests/fast/frames/frame-element-name-expected.png
LayoutTests/fast/frames/frame-element-name-expected.txt
LayoutTests/fast/frames/frame-element-name.html
LayoutTests/fast/frames/resources/frame-element-name-left.html
LayoutTests/fast/frames/resources/frame-element-name-right.html

index d8ce7f527af5bb96cc9e82c966f48669d4a8a67c..9229ca448d74389eba72e80ab17f3b34a73af9d9 100644 (file)
@@ -1,3 +1,16 @@
+2006-01-25  Alexey Proskuryakov  <ap@nypop.com>
+
+        Reviewed by Darin.
+
+        Corrected a test case for http://bugzilla.opendarwin.org/show_bug.cgi?id=6385.
+
+        * fast/frames/frame-element-name.html: Fix a reference to the left frame.
+        * fast/frames/frame-element-name-expected.txt: Updated results.
+        * fast/frames/frame-element-name-expected.png: Updated results.
+        * fast/frames/frame-element-name-expected.checksum: Updated results.
+        * fast/frames/resources/frame-element-name-left.html: Use escape() on the name.
+        * fast/frames/resources/frame-element-name-right.html: Ditto.
+
 2006-01-24  Darin Adler  <darin@apple.com>
 
        - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=6731
index dde27b0648a5a7bfb47cf8a46abb40fa94f6e95d..8c292382d01730b6ee732bb119d2ba3a8ce77c81 100644 (file)
@@ -1 +1 @@
-2e9f72e287093367c50580ee2986adfe
\ No newline at end of file
+195178dd5fe132ca5ba1298e2e3afa0a
\ No newline at end of file
index db5c2ca69ee72d41d5bdb8309b02bd7d609f5935..cac6747bf56aaa5341016a7e62e9740444f76405 100644 (file)
Binary files a/LayoutTests/fast/frames/frame-element-name-expected.png and b/LayoutTests/fast/frames/frame-element-name-expected.png differ
index b677f2f4ae4777e1754466090d48732b8badd551..23b68b8c7c83c2985f09b356711c6ded3f68f3b5 100644 (file)
@@ -4,13 +4,21 @@ layer at (0,0) size 800x600
   RenderBlock {HTML} at (0,0) size 800x600
     RenderFrameSet {FRAMESET} at (0,0) size 800x600 [border: (1px solid #000000)]
       RenderFrame {FRAME} at (0,0) size 500x600
+        layer at (0,0) size 498x596
+          RenderCanvas at (0,0) size 498x596
+        layer at (0,0) size 498x596
+          RenderBlock {HTML} at (0,0) size 498x596
+            RenderBody {BODY} at (1,8) size 496x580
+              RenderText {TEXT} at (0,0) size 374x18
+                text run at (0,0) width 374: "escape(window.frameElement.name)='left' (should be 'left')"
+              RenderText {TEXT} at (0,0) size 0x0
       RenderFrame {FRAME} at (501,0) size 299x600
         layer at (0,0) size 297x596
           RenderCanvas at (0,0) size 297x596
         layer at (0,0) size 297x596
           RenderBlock {HTML} at (0,0) size 297x596
             RenderBody {BODY} at (8,8) size 281x580
-              RenderText {TEXT} at (0,0) size 267x36
-                text run at (0,0) width 267: "window.frameElement.name='' (should be"
-                text run at (0,18) width 11: "'')"
+              RenderText {TEXT} at (0,0) size 249x36
+                text run at (0,0) width 249: "escape(window.frameElement.name)=''"
+                text run at (0,18) width 81: "(should be '')"
               RenderText {TEXT} at (0,0) size 0x0
index 97f02532c060b4bdc20228f9a80c670ff30bd1f2..f2998cc499892b0e1a81533ab8f3afba08c0e922 100644 (file)
@@ -1,6 +1,6 @@
 <html>
  <frameset border="1" cols="500,*" style='border: solid 1px;'>
-  <frame marginwidth="1" src="frame-element-name-left.html" name='left'>
+  <frame marginwidth="1" src="resources/frame-element-name-left.html" name='left'>
   <frame src="resources/frame-element-name-right.html">
  </frameset>
 </html>
index cd73f5f2fe14bd86a86991001baa0b47bc089558..f95fc8a624e292686029140dd56a3adc1c9855bc 100644 (file)
@@ -5,7 +5,7 @@
 <script>
 try {
 
-       document.write("window.frameElement.name='" + window.frameElement.name + "' (should be 'left')");
+       document.write("escape(window.frameElement.name)='" + escape(window.frameElement.name) + "' (should be 'left')");
 
 } catch (ex) {
        document.write('Exception: ' + ex.description);
index b721990b51e5795263d99978eef19fdc6640e2ac..9b7628182a263c740a7359ecae465b357673d98c 100644 (file)
@@ -5,7 +5,7 @@
 <script>
 try {
 
-       document.write("window.frameElement.name='" + window.frameElement.name + "' (should be '')");
+       document.write("escape(window.frameElement.name)='" + escape(window.frameElement.name) + "' (should be '')");
 
 } catch (ex) {
        document.write('Exception: ' + ex.description);