Add Mac specific results for xhr-missing-file-expection test since it
authorjparent@chromium.org <jparent@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 26 Aug 2009 20:26:27 +0000 (20:26 +0000)
committerjparent@chromium.org <jparent@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 26 Aug 2009 20:26:27 +0000 (20:26 +0000)
incorrectly always has statusText of "OK" due to
https://bugs.webkit.org/show_bug.cgi?id=24572 and update the results
that are next to the file to use "Not Found" since that is more correct
and matches IE, FF, Chrome.

Patch by Julie Parent <jparent@chromium.org> on 2009-08-26
Reviewed by Alex Proskuryakov.

https://bugs.webkit.org/show_bug.cgi?id=28723

* http/tests/xmlhttprequest/xmlhttprequest-missing-file-exception-expected.txt:
* platform/mac/http/tests/xmlhttprequest/xmlhttprequest-missing-file-exception-expected.txt: Added.
* platform/win/Skipped: Stop skipping the test.

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

LayoutTests/ChangeLog
LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-missing-file-exception-expected.txt
LayoutTests/platform/mac/http/tests/xmlhttprequest/xmlhttprequest-missing-file-exception-expected.txt [new file with mode: 0644]
LayoutTests/platform/win/Skipped

index 01dc70d2775b968da4aa16bb6b1163e14764202b..e4ea6903cf64d88a238aa7adea9e39b999a17a4c 100644 (file)
@@ -1,3 +1,19 @@
+2009-08-26  Julie Parent  <jparent@chromium.org>
+
+        Reviewed by Alex Proskuryakov.
+
+        Add Mac specific results for xhr-missing-file-expection test since it
+        incorrectly always has statusText of "OK" due to
+        https://bugs.webkit.org/show_bug.cgi?id=24572 and update the results
+        that are next to the file to use "Not Found" since that is more correct
+        and matches IE, FF, Chrome.
+        
+        https://bugs.webkit.org/show_bug.cgi?id=28723
+
+        * http/tests/xmlhttprequest/xmlhttprequest-missing-file-exception-expected.txt:
+        * platform/mac/http/tests/xmlhttprequest/xmlhttprequest-missing-file-exception-expected.txt: Added.
+        * platform/win/Skipped: Stop skipping the test.
+
 2009-08-25  Oliver Hunt  <oliver@apple.com>
 
         Reviewed by Gavin Barraclough.
index 976908fcf29c45c8f395a8abf6e46b79fe8b03cb..908b113321a5df2197831efb70e61431c500755c 100644 (file)
@@ -5,5 +5,5 @@ readyState: 4 (number)
 responseText: Non-empty (string)
 responseXML: null (object)
 status: 404 (number)
-statusText: OK (string)
+statusText: Not Found (string)
 
diff --git a/LayoutTests/platform/mac/http/tests/xmlhttprequest/xmlhttprequest-missing-file-exception-expected.txt b/LayoutTests/platform/mac/http/tests/xmlhttprequest/xmlhttprequest-missing-file-exception-expected.txt
new file mode 100644 (file)
index 0000000..976908f
--- /dev/null
@@ -0,0 +1,9 @@
+This test checks that no exception is raised when getting a 404 HTTP response - that's success from XHR point of view.
+
+PASS: No exception.
+readyState: 4 (number)
+responseText: Non-empty (string)
+responseXML: null (object)
+status: 404 (number)
+statusText: OK (string)
+
index bf78e733737c738a30f40500eaf5ea9c0dd2e9dd..7845d9b11ce2f6ca14c47404fa2096ab8ba39e03 100644 (file)
@@ -469,7 +469,6 @@ http/tests/xmlhttprequest/access-control-basic-whitelist-request-headers.html
 http/tests/xmlhttprequest/redirect-cross-origin-post-sync.html
 http/tests/xmlhttprequest/redirect-cross-origin-sync-double.html
 http/tests/xmlhttprequest/redirect-cross-origin-sync.html
-http/tests/xmlhttprequest/xmlhttprequest-missing-file-exception.html
 media/video-timeupdate-during-playback.html
 plugins/netscape-destroy-plugin-script-objects.html
 plugins/netscape-plugin-setwindow-size-2.html