Title: [120587] trunk/LayoutTests
Revision
120587
Author
kin...@chromium.org
Date
2012-06-18 04:11:12 -0700 (Mon, 18 Jun 2012)

Log Message

fast/files/xhr-response-blob should use other file/blob type than _javascript_
https://bugs.webkit.org/show_bug.cgi?id=89338

Reviewed by Kentaro Hara.

Changing the test to use the most basic text/plain type.
Also removing platform-specific expectations.

* fast/files/script-tests/xhr-response-blob.js: Updated.
* fast/files/xhr-response-blob-expected.txt: Updated.
* platform/chromium-linux/fast/files/xhr-response-blob-expected.txt: Removed.
* platform/chromium-mac-snowleopard/fast/files/xhr-response-blob-expected.txt: Removed.
* platform/chromium-mac/fast/files/xhr-response-blob-expected.txt: Removed.
* platform/chromium/fast/files/xhr-response-blob-expected.txt: Removed.
* platform/qt/fast/files/xhr-response-blob-expected.txt: Removed.

Modified Paths

Removed Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (120586 => 120587)


--- trunk/LayoutTests/ChangeLog	2012-06-18 11:09:33 UTC (rev 120586)
+++ trunk/LayoutTests/ChangeLog	2012-06-18 11:11:12 UTC (rev 120587)
@@ -1,3 +1,21 @@
+2012-06-18  Kinuko Yasuda  <kin...@chromium.org>
+
+        fast/files/xhr-response-blob should use other file/blob type than _javascript_
+        https://bugs.webkit.org/show_bug.cgi?id=89338
+
+        Reviewed by Kentaro Hara.
+
+        Changing the test to use the most basic text/plain type.
+        Also removing platform-specific expectations.
+
+        * fast/files/script-tests/xhr-response-blob.js: Updated.
+        * fast/files/xhr-response-blob-expected.txt: Updated.
+        * platform/chromium-linux/fast/files/xhr-response-blob-expected.txt: Removed.
+        * platform/chromium-mac-snowleopard/fast/files/xhr-response-blob-expected.txt: Removed.
+        * platform/chromium-mac/fast/files/xhr-response-blob-expected.txt: Removed.
+        * platform/chromium/fast/files/xhr-response-blob-expected.txt: Removed.
+        * platform/qt/fast/files/xhr-response-blob-expected.txt: Removed.
+
 2012-06-18  Csaba Osztrogonác  <o...@webkit.org>
 
         Unreviewed gardening after r120574.

Modified: trunk/LayoutTests/fast/files/script-tests/xhr-response-blob.js (120586 => 120587)


--- trunk/LayoutTests/fast/files/script-tests/xhr-response-blob.js	2012-06-18 11:09:33 UTC (rev 120586)
+++ trunk/LayoutTests/fast/files/script-tests/xhr-response-blob.js	2012-06-18 11:11:12 UTC (rev 120587)
@@ -20,7 +20,7 @@
     }
 }
 
-testBlob("script-tests/xhr-response-blob.js", "text/_javascript_", function() {
+testBlob("resources/UTF8.txt", "text/plain", function() {
     testBlob("resources/does_not_exist.txt", "", function() {
         testBlob("resources/empty-file", "", function() {
             if (window.layoutTestController)

Modified: trunk/LayoutTests/fast/files/xhr-response-blob-expected.txt (120586 => 120587)


--- trunk/LayoutTests/fast/files/xhr-response-blob-expected.txt	2012-06-18 11:09:33 UTC (rev 120586)
+++ trunk/LayoutTests/fast/files/xhr-response-blob-expected.txt	2012-06-18 11:11:12 UTC (rev 120587)
@@ -10,7 +10,7 @@
 PASS xhr.response is null
 PASS xhr.response is null
 PASS xhr.response instanceof Blob is true
-PASS xhr.response.type is "text/_javascript_"
+PASS xhr.response.type is "text/plain"
 PASS xhr.responseType is "blob"
 PASS xhr.response instanceof Blob is true
 PASS xhr.response.type is ""

Deleted: trunk/LayoutTests/platform/chromium/fast/files/xhr-response-blob-expected.txt (120586 => 120587)


--- trunk/LayoutTests/platform/chromium/fast/files/xhr-response-blob-expected.txt	2012-06-18 11:09:33 UTC (rev 120586)
+++ trunk/LayoutTests/platform/chromium/fast/files/xhr-response-blob-expected.txt	2012-06-18 11:11:12 UTC (rev 120587)
@@ -1,21 +0,0 @@
-Test that XHR.responseType = 'blob' gives you back a Blob.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS xhr.responseType is "blob"
-PASS successfullyParsed is true
-
-TEST COMPLETE
-PASS xhr.response is null
-PASS xhr.response is null
-PASS xhr.response instanceof Blob is true
-FAIL xhr.response.type should be text/_javascript_. Was application/x-_javascript_.
-PASS xhr.responseType is "blob"
-PASS xhr.response instanceof Blob is true
-PASS xhr.response.type is ""
-PASS xhr.responseType is "blob"
-PASS xhr.response is null
-PASS xhr.response instanceof Blob is true
-PASS xhr.response.type is ""
-

Deleted: trunk/LayoutTests/platform/chromium-linux/fast/files/xhr-response-blob-expected.txt (120586 => 120587)


--- trunk/LayoutTests/platform/chromium-linux/fast/files/xhr-response-blob-expected.txt	2012-06-18 11:09:33 UTC (rev 120586)
+++ trunk/LayoutTests/platform/chromium-linux/fast/files/xhr-response-blob-expected.txt	2012-06-18 11:11:12 UTC (rev 120587)
@@ -1,21 +0,0 @@
-Test that XHR.responseType = 'blob' gives you back a Blob.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS xhr.responseType is "blob"
-PASS successfullyParsed is true
-
-TEST COMPLETE
-PASS xhr.response is null
-PASS xhr.response is null
-PASS xhr.response instanceof Blob is true
-FAIL xhr.response.type should be text/_javascript_. Was application/_javascript_.
-PASS xhr.responseType is "blob"
-PASS xhr.response instanceof Blob is true
-PASS xhr.response.type is ""
-PASS xhr.responseType is "blob"
-PASS xhr.response is null
-PASS xhr.response instanceof Blob is true
-PASS xhr.response.type is ""
-

Deleted: trunk/LayoutTests/platform/chromium-mac/fast/files/xhr-response-blob-expected.txt (120586 => 120587)


--- trunk/LayoutTests/platform/chromium-mac/fast/files/xhr-response-blob-expected.txt	2012-06-18 11:09:33 UTC (rev 120586)
+++ trunk/LayoutTests/platform/chromium-mac/fast/files/xhr-response-blob-expected.txt	2012-06-18 11:11:12 UTC (rev 120587)
@@ -1,21 +0,0 @@
-Test that XHR.responseType = 'blob' gives you back a Blob.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS xhr.responseType is "blob"
-PASS successfullyParsed is true
-
-TEST COMPLETE
-PASS xhr.response is null
-PASS xhr.response is null
-PASS xhr.response instanceof Blob is true
-PASS xhr.response.type is "text/_javascript_"
-PASS xhr.responseType is "blob"
-PASS xhr.response instanceof Blob is true
-PASS xhr.response.type is ""
-PASS xhr.responseType is "blob"
-PASS xhr.response is null
-PASS xhr.response instanceof Blob is true
-PASS xhr.response.type is ""
-

Deleted: trunk/LayoutTests/platform/chromium-mac-snowleopard/fast/files/xhr-response-blob-expected.txt (120586 => 120587)


--- trunk/LayoutTests/platform/chromium-mac-snowleopard/fast/files/xhr-response-blob-expected.txt	2012-06-18 11:09:33 UTC (rev 120586)
+++ trunk/LayoutTests/platform/chromium-mac-snowleopard/fast/files/xhr-response-blob-expected.txt	2012-06-18 11:11:12 UTC (rev 120587)
@@ -1,21 +0,0 @@
-Test that XHR.responseType = 'blob' gives you back a Blob.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS xhr.responseType is "blob"
-PASS successfullyParsed is true
-
-TEST COMPLETE
-PASS xhr.response is null
-PASS xhr.response is null
-PASS xhr.response instanceof Blob is true
-FAIL xhr.response.type should be text/_javascript_. Was application/x-_javascript_.
-PASS xhr.responseType is "blob"
-PASS xhr.response instanceof Blob is true
-PASS xhr.response.type is ""
-PASS xhr.responseType is "blob"
-PASS xhr.response is null
-PASS xhr.response instanceof Blob is true
-PASS xhr.response.type is ""
-

Deleted: trunk/LayoutTests/platform/efl/fast/files/xhr-response-blob-expected.txt (120586 => 120587)


--- trunk/LayoutTests/platform/efl/fast/files/xhr-response-blob-expected.txt	2012-06-18 11:09:33 UTC (rev 120586)
+++ trunk/LayoutTests/platform/efl/fast/files/xhr-response-blob-expected.txt	2012-06-18 11:11:12 UTC (rev 120587)
@@ -1,21 +0,0 @@
-Test that XHR.responseType = 'blob' gives you back a Blob.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS xhr.responseType is "blob"
-PASS successfullyParsed is true
-
-TEST COMPLETE
-PASS xhr.response is null
-PASS xhr.response is null
-PASS xhr.response instanceof Blob is true
-FAIL xhr.response.type should be text/_javascript_. Was application/_javascript_.
-PASS xhr.responseType is "blob"
-PASS xhr.response instanceof Blob is true
-PASS xhr.response.type is ""
-PASS xhr.responseType is "blob"
-PASS xhr.response is null
-PASS xhr.response instanceof Blob is true
-PASS xhr.response.type is ""
-

Deleted: trunk/LayoutTests/platform/qt/fast/files/xhr-response-blob-expected.txt (120586 => 120587)


--- trunk/LayoutTests/platform/qt/fast/files/xhr-response-blob-expected.txt	2012-06-18 11:09:33 UTC (rev 120586)
+++ trunk/LayoutTests/platform/qt/fast/files/xhr-response-blob-expected.txt	2012-06-18 11:11:12 UTC (rev 120587)
@@ -1,21 +0,0 @@
-Test that XHR.responseType = 'blob' gives you back a Blob.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS xhr.responseType is "blob"
-PASS successfullyParsed is true
-
-TEST COMPLETE
-PASS xhr.response is null
-PASS xhr.response is null
-PASS xhr.response instanceof Blob is true
-FAIL xhr.response.type should be text/_javascript_. Was application/x-_javascript_.
-PASS xhr.responseType is "blob"
-PASS xhr.response instanceof Blob is true
-PASS xhr.response.type is ""
-PASS xhr.responseType is "blob"
-PASS xhr.response is null
-PASS xhr.response instanceof Blob is true
-PASS xhr.response.type is ""
-
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to