- added exceptions for all the tests failing on my personal Leopard machine
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 14 Oct 2007 23:46:36 +0000 (23:46 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 14 Oct 2007 23:46:36 +0000 (23:46 +0000)
        This may or may not get the buildbot green. I'll file separate bugs for each
        of the tests with changed results.

        * platform/mac-leopard/dom: Added.
        * platform/mac-leopard/dom/xhtml: Added.
        * platform/mac-leopard/dom/xhtml/level2: Added.
        * platform/mac-leopard/dom/xhtml/level2/html: Added.
        * platform/mac-leopard/dom/xhtml/level2/html/HTMLDocument12-expected.txt: Added.
        * platform/mac-leopard/editing: Added.
        * platform/mac-leopard/editing/pasteboard: Added.
        * platform/mac-leopard/editing/pasteboard/paste-RTFD-expected.txt: Added.
        * platform/mac-leopard/http: Added.
        * platform/mac-leopard/http/tests: Added.
        * platform/mac-leopard/http/tests/security: Added.
        * platform/mac-leopard/http/tests/security/dataURL: Added.
        * platform/mac-leopard/http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame-uppercase-expected.txt: Added.
        * platform/mac-leopard/svg/custom: Added.
        * platform/mac-leopard/svg/custom/stroke-width-click-expected.txt: Added.
        * platform/mac-leopard/webarchive: Added.
        * platform/mac-leopard/webarchive/test-xml-stylesheet-expected.txt: Added.

        * platform/mac-leopard/security/block-test-expected.txt: Changed results.

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

LayoutTests/ChangeLog
LayoutTests/platform/mac-leopard/dom/xhtml/level2/html/HTMLDocument12-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-leopard/editing/pasteboard/paste-RTFD-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-leopard/http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame-uppercase-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-leopard/security/block-test-expected.txt
LayoutTests/platform/mac-leopard/svg/custom/stroke-width-click-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-leopard/webarchive/test-xml-stylesheet-expected.txt [new file with mode: 0644]

index 5d566e1..13ee516 100644 (file)
@@ -1,5 +1,32 @@
 2007-10-14  Darin Adler  <darin@apple.com>
 
+        - added exceptions for all the tests failing on my personal Leopard machine
+
+        This may or may not get the buildbot green. I'll file separate bugs for each
+        of the tests with changed results.
+
+        * platform/mac-leopard/dom: Added.
+        * platform/mac-leopard/dom/xhtml: Added.
+        * platform/mac-leopard/dom/xhtml/level2: Added.
+        * platform/mac-leopard/dom/xhtml/level2/html: Added.
+        * platform/mac-leopard/dom/xhtml/level2/html/HTMLDocument12-expected.txt: Added.
+        * platform/mac-leopard/editing: Added.
+        * platform/mac-leopard/editing/pasteboard: Added.
+        * platform/mac-leopard/editing/pasteboard/paste-RTFD-expected.txt: Added.
+        * platform/mac-leopard/http: Added.
+        * platform/mac-leopard/http/tests: Added.
+        * platform/mac-leopard/http/tests/security: Added.
+        * platform/mac-leopard/http/tests/security/dataURL: Added.
+        * platform/mac-leopard/http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame-uppercase-expected.txt: Added.
+        * platform/mac-leopard/svg/custom: Added.
+        * platform/mac-leopard/svg/custom/stroke-width-click-expected.txt: Added.
+        * platform/mac-leopard/webarchive: Added.
+        * platform/mac-leopard/webarchive/test-xml-stylesheet-expected.txt: Added.
+
+        * platform/mac-leopard/security/block-test-expected.txt: Changed results.
+
+2007-10-14  Darin Adler  <darin@apple.com>
+
         - moved a test that somehow ended up doubly-nested in platform/mac
 
         * platform/mac/fast/text/justified-text-rect-expected.checksum: Copied from platform/mac/platform/mac/fast/text/justified-text-rect-expected.checksum.
diff --git a/LayoutTests/platform/mac-leopard/dom/xhtml/level2/html/HTMLDocument12-expected.txt b/LayoutTests/platform/mac-leopard/dom/xhtml/level2/html/HTMLDocument12-expected.txt
new file mode 100644 (file)
index 0000000..04e52e5
--- /dev/null
@@ -0,0 +1,3 @@
+Test   http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument12
+Status failure
+Message        cookieLink: assertEquals failed, actual ppkcookie1=testcookie, expected .
diff --git a/LayoutTests/platform/mac-leopard/editing/pasteboard/paste-RTFD-expected.txt b/LayoutTests/platform/mac-leopard/editing/pasteboard/paste-RTFD-expected.txt
new file mode 100644 (file)
index 0000000..b76a07e
--- /dev/null
@@ -0,0 +1,32 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document toDOMRange:range from 0 of P > DIV > BODY > HTML > #document to 0 of P > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 784x232 [border: (2px solid #FF0000)]
+        RenderBlock {P} at (14,14) size 756x14
+          RenderBR {BR} at (0,0) size 0x14
+        RenderBlock {P} at (14,28) size 756x14
+          RenderText {#text} at (0,0) size 86x14
+            text run at (0,0) width 86: "this is some text"
+        RenderBlock {P} at (14,42) size 756x14
+          RenderBR {BR} at (0,0) size 0x14
+        RenderBlock {P} at (14,56) size 756x120
+          RenderImage {IMG} at (0,0) size 180x120
+        RenderBlock {P} at (14,176) size 756x14
+          RenderBR {BR} at (0,0) size 0x14
+        RenderBlock {P} at (14,190) size 756x14
+          RenderText {#text} at (0,0) size 117x14
+            text run at (0,0) width 117: "this is some more text"
+        RenderBlock {P} at (14,204) size 756x14
+          RenderBR {BR} at (0,0) size 0x14
+        RenderBlock {DIV} at (14,218) size 756x0
+      RenderBlock {DIV} at (0,232) size 784x0
+caret: position 0 of child 0 {BR} of child 12 {P} of child 1 {DIV} of child 1 {BODY} of child 0 {HTML} of document
diff --git a/LayoutTests/platform/mac-leopard/http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame-uppercase-expected.txt b/LayoutTests/platform/mac-leopard/http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame-uppercase-expected.txt
new file mode 100644 (file)
index 0000000..bb20282
--- /dev/null
@@ -0,0 +1,10 @@
+This tests that the main frame can't access the contents of an iframe that contains a data: URL loaded page using the uppercased variant DATA:
+
+
+FAIL: Cross frame access to a DATA: URL was allowed.
+
+
+--------
+Frame: 'aFrame'
+--------
+
index 7b2e966..20af6ab 100644 (file)
@@ -1,8 +1,7 @@
 http://255.255.255.255/test.jpg - willSendRequest <NSURLRequest http://255.255.255.255/test.jpg> redirectResponse (null)
 <unknown> - didFinishLoading
-http://255.255.255.255/test.jpg - willSendRequest <NSURLRequest http://255.255.255.255/test.jpg> redirectResponse (null)
 http://255.255.255.255:1/test.jpg - willSendRequest <NSURLRequest http://255.255.255.255:1/test.jpg> redirectResponse (null)
-http://255.255.255.255/test.jpg - didFailLoadingWithError: <NSError domain NSPOSIXErrorDomain, code 13>
+http://255.255.255.255/test.jpg - didFailLoadingWithError: <NSError domain NSURLErrorDomain, code -1004, failing URL "http://255.255.255.255/test.jpg">
 http://255.255.255.255:1/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:1/test.jpg">
 http://255.255.255.255:7/test.jpg - willSendRequest <NSURLRequest http://255.255.255.255:7/test.jpg> redirectResponse (null)
 http://255.255.255.255:7/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:7/test.jpg">
@@ -119,11 +118,11 @@ http://255.255.255.255:4045/test.jpg - didFailLoadingWithError: <NSError domain
 http://255.255.255.255:6000/test.jpg - willSendRequest <NSURLRequest http://255.255.255.255:6000/test.jpg> redirectResponse (null)
 http://255.255.255.255:6000/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:6000/test.jpg">
 ftp://255.255.255.255/test.jpg - willSendRequest <NSURLRequest ftp://255.255.255.255/test.jpg> redirectResponse (null)
-ftp://255.255.255.255/test.jpg - didFailLoadingWithError: <NSError domain NSPOSIXErrorDomain, code 13>
+ftp://255.255.255.255/test.jpg - didFailLoadingWithError: <NSError domain NSURLErrorDomain, code -1, failing URL "ftp://255.255.255.255/test.jpg">
 ftp://255.255.255.255:21/test.jpg - willSendRequest <NSURLRequest ftp://255.255.255.255:21/test.jpg> redirectResponse (null)
-ftp://255.255.255.255:21/test.jpg - didFailLoadingWithError: <NSError domain NSPOSIXErrorDomain, code 13>
+ftp://255.255.255.255:21/test.jpg - didFailLoadingWithError: <NSError domain NSURLErrorDomain, code -1, failing URL "ftp://255.255.255.255:21/test.jpg">
 ftp://255.255.255.255:22/test.jpg - willSendRequest <NSURLRequest ftp://255.255.255.255:22/test.jpg> redirectResponse (null)
-ftp://255.255.255.255:22/test.jpg - didFailLoadingWithError: <NSError domain NSPOSIXErrorDomain, code 13>
+ftp://255.255.255.255:22/test.jpg - didFailLoadingWithError: <NSError domain NSURLErrorDomain, code -1, failing URL "ftp://255.255.255.255:22/test.jpg">
 This test attempts to change the src of an IMG tag to all black listed ports to confirm that WebKit returns the correct error for them - blocked instead of cannot find. It also tries the FTP ports for exemptions. Due to the nature of this test, the results can only be processed automatically via DumpRenderTree
 
 
diff --git a/LayoutTests/platform/mac-leopard/svg/custom/stroke-width-click-expected.txt b/LayoutTests/platform/mac-leopard/svg/custom/stroke-width-click-expected.txt
new file mode 100644 (file)
index 0000000..c585e16
--- /dev/null
@@ -0,0 +1,14 @@
+SUCCESS: click at 10, 10 was correctly ignored
+SUCCESS: click received at: 30, 100
+SUCCESS: click at 29, 100 was correctly ignored
+SUCCESS: click received at: 30, 50
+SUCCESS: click at 30, 49 was correctly ignored
+SUCCESS: click received at: 30, 150
+SUCCESS: click at 30, 151 was correctly ignored
+SUCCESS: click received at: 300, 100
+FAILURE: UNEXPECTED click received at: 301, 100
+SUCCESS: click received at: 300, 50
+SUCCESS: click at 300, 49 was correctly ignored
+SUCCESS: click received at: 300, 150
+SUCCESS: click at 300, 151 was correctly ignored
+
diff --git a/LayoutTests/platform/mac-leopard/webarchive/test-xml-stylesheet-expected.txt b/LayoutTests/platform/mac-leopard/webarchive/test-xml-stylesheet-expected.txt
new file mode 100644 (file)
index 0000000..0155098
--- /dev/null
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+       <key>WebMainResource</key>
+       <dict>
+               <key>WebResourceData</key>
+               <string>&lt;?xml-stylesheet href="resources/test-xml-stylesheet.css" type="text/css"?&gt;&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
+  &lt;script&gt;
+    if (window.layoutTestController)
+        layoutTestController.dumpDOMAsWebArchive();
+  &lt;/script&gt;
+  &lt;style&gt;
+    div { background: red; width: 100px; height: 100px; }
+  &lt;/style&gt;
+  &lt;div id="test"&gt;
+  &lt;/div&gt;
+&lt;/html&gt;</string>
+               <key>WebResourceFrameName</key>
+               <string></string>
+               <key>WebResourceMIMEType</key>
+               <string>text/xml</string>
+               <key>WebResourceTextEncodingName</key>
+               <string>UTF-8</string>
+               <key>WebResourceURL</key>
+               <string>file:///LayoutTests/webarchive/test-xml-stylesheet.xml</string>
+       </dict>
+       <key>WebSubresources</key>
+       <array>
+               <dict>
+                       <key>WebResourceData</key>
+                       <string>#test {
+  background: green;
+}
+</string>
+                       <key>WebResourceMIMEType</key>
+                       <string>text/css</string>
+                       <key>WebResourceResponse</key>
+                       <dict>
+                               <key>MIMEType</key>
+                               <string>text/css</string>
+                               <key>URL</key>
+                               <string>file:///LayoutTests/webarchive/resources/test-xml-stylesheet.css</string>
+                               <key>expectedContentLength</key>
+                               <integer>31</integer>
+                       </dict>
+                       <key>WebResourceURL</key>
+                       <string>file:///LayoutTests/webarchive/resources/test-xml-stylesheet.css</string>
+               </dict>
+       </array>
+</dict>
+</plist>