Title: [224750] trunk/LayoutTests
Revision
224750
Author
[email protected]
Date
2017-11-13 01:28:54 -0800 (Mon, 13 Nov 2017)

Log Message

[GTK] Enable some passing XHR tests
https://bugs.webkit.org/show_bug.cgi?id=179533

Reviewed by Alex Christensen.

* platform/gtk/TestExpectations: Remove failure expectations.
* platform/gtk/imported/w3c/web-platform-tests/XMLHttpRequest/getallresponseheaders-expected.txt:
  Removed: the platform-neutral expectation file (two passes rather than
  one pass, one fail) matches the current output on GTK.
* platform/gtk/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-get-head-async-expected.txt:
  Added: the platform-neutral expectation file has subtests marked as
  failing, though they all pass on GTK.
* platform/gtk/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-get-head-expected.txt:
  Added: the platform-neutral expectation file has subtests marked as
  failing, though they all pass on GTK.
* platform/gtk/imported/w3c/web-platform-tests/XMLHttpRequest/send-redirect-expected.txt:
  Added: the platform-neutral expectation file has subtests marked as
  failing, though they all pass on GTK.
* platform/gtk/imported/w3c/web-platform-tests/XMLHttpRequest/setrequestheader-content-type-expected.txt:
  Added: some of the subtests marked as failing in the platform-neutral
  expectation file are passing on GTK.

Modified Paths

Added Paths

Removed Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (224749 => 224750)


--- trunk/LayoutTests/ChangeLog	2017-11-13 09:19:19 UTC (rev 224749)
+++ trunk/LayoutTests/ChangeLog	2017-11-13 09:28:54 UTC (rev 224750)
@@ -1,3 +1,27 @@
+2017-11-13  Ms2ger  <[email protected]>
+
+        [GTK] Enable some passing XHR tests
+        https://bugs.webkit.org/show_bug.cgi?id=179533
+
+        Reviewed by Alex Christensen.
+
+        * platform/gtk/TestExpectations: Remove failure expectations.
+        * platform/gtk/imported/w3c/web-platform-tests/XMLHttpRequest/getallresponseheaders-expected.txt:
+          Removed: the platform-neutral expectation file (two passes rather than
+          one pass, one fail) matches the current output on GTK.
+        * platform/gtk/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-get-head-async-expected.txt:
+          Added: the platform-neutral expectation file has subtests marked as
+          failing, though they all pass on GTK.
+        * platform/gtk/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-get-head-expected.txt:
+          Added: the platform-neutral expectation file has subtests marked as
+          failing, though they all pass on GTK.
+        * platform/gtk/imported/w3c/web-platform-tests/XMLHttpRequest/send-redirect-expected.txt:
+          Added: the platform-neutral expectation file has subtests marked as
+          failing, though they all pass on GTK.
+        * platform/gtk/imported/w3c/web-platform-tests/XMLHttpRequest/setrequestheader-content-type-expected.txt:
+          Added: some of the subtests marked as failing in the platform-neutral
+          expectation file are passing on GTK.
+
 2017-11-12  Maciej Stachowiak  <[email protected]>
 
         Remove support for UTF-32 variant text encodings

Modified: trunk/LayoutTests/platform/gtk/TestExpectations (224749 => 224750)


--- trunk/LayoutTests/platform/gtk/TestExpectations	2017-11-13 09:19:19 UTC (rev 224749)
+++ trunk/LayoutTests/platform/gtk/TestExpectations	2017-11-13 09:28:54 UTC (rev 224750)
@@ -2905,11 +2905,7 @@
 webkit.org/b/149128 fast/text/control-characters [ ImageOnlyFailure ]
 
 # web-platform-tests XHR tests
-imported/w3c/web-platform-tests/XMLHttpRequest/getallresponseheaders.htm [ Failure ]
 imported/w3c/web-platform-tests/XMLHttpRequest/headers-normalize-response.htm [ Failure ]
-imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-get-head-async.htm [ Failure ]
-imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-get-head.htm [ Failure ]
-imported/w3c/web-platform-tests/XMLHttpRequest/send-redirect.htm [ Failure ]
 imported/w3c/web-platform-tests/XMLHttpRequest/status-async.htm [ Failure ]
 imported/w3c/web-platform-tests/XMLHttpRequest/status-basic.htm [ Failure ]
 imported/w3c/web-platform-tests/XMLHttpRequest/status-error.htm [ Failure ]
@@ -3220,7 +3216,6 @@
 
 webkit.org/b/173411 fast/events/touch/frame-hover-update.html [ Failure ]
 
-webkit.org/b/173413 imported/w3c/web-platform-tests/XMLHttpRequest/setrequestheader-content-type.htm [ Failure ]
 webkit.org/b/173413 imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/selection-after-content-change.html [ Failure ]
 
 webkit.org/b/143702 media/progress-events-generated-correctly.html [ Failure ]

Deleted: trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/XMLHttpRequest/getallresponseheaders-expected.txt (224749 => 224750)


--- trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/XMLHttpRequest/getallresponseheaders-expected.txt	2017-11-13 09:19:19 UTC (rev 224749)
+++ trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/XMLHttpRequest/getallresponseheaders-expected.txt	2017-11-13 09:28:54 UTC (rev 224750)
@@ -1,4 +0,0 @@
-
-PASS XMLHttpRequest: getAllResponseHeaders() 
-FAIL XMLHttpRequest: getAllResponseHeaders() 1 assert_equals: expected "also-here: Mr. PB\r\newok: lego\r\nfoo-test: 1, 2\r\n" but got "ALSO-here: Mr. PB\r\nfoo-test: 1, 2\r\newok: lego\r\n"
-

Added: trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-get-head-async-expected.txt (0 => 224750)


--- trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-get-head-async-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-get-head-async-expected.txt	2017-11-13 09:28:54 UTC (rev 224750)
@@ -0,0 +1,4 @@
+
+PASS XMLHttpRequest: send() - non-empty data argument and GET/HEAD - async, no upload events should fire (GET) 
+PASS XMLHttpRequest: send() - non-empty data argument and GET/HEAD - async, no upload events should fire (HEAD) 
+

Added: trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-get-head-expected.txt (0 => 224750)


--- trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-get-head-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-get-head-expected.txt	2017-11-13 09:28:54 UTC (rev 224750)
@@ -0,0 +1,4 @@
+
+PASS XMLHttpRequest: send() - non-empty data argument and GET/HEAD (GET) 
+PASS XMLHttpRequest: send() - non-empty data argument and GET/HEAD (HEAD) 
+

Added: trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/XMLHttpRequest/send-redirect-expected.txt (0 => 224750)


--- trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/XMLHttpRequest/send-redirect-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/XMLHttpRequest/send-redirect-expected.txt	2017-11-13 09:28:54 UTC (rev 224750)
@@ -0,0 +1,6 @@
+
+PASS XMLHttpRequest: send() - Redirects (basics) (301) 
+PASS XMLHttpRequest: send() - Redirects (basics) (302) 
+PASS XMLHttpRequest: send() - Redirects (basics) (303) 
+PASS XMLHttpRequest: send() - Redirects (basics) (307) 
+

Added: trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/XMLHttpRequest/setrequestheader-content-type-expected.txt (0 => 224750)


--- trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/XMLHttpRequest/setrequestheader-content-type-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/XMLHttpRequest/setrequestheader-content-type-expected.txt	2017-11-13 09:28:54 UTC (rev 224750)
@@ -0,0 +1,38 @@
+CONSOLE MESSAGE: line 22: ArrayBuffer is deprecated in XMLHttpRequest.send(). Use ArrayBufferView instead.
+CONSOLE MESSAGE: line 22: ArrayBuffer is deprecated in XMLHttpRequest.send(). Use ArrayBufferView instead.
+CONSOLE MESSAGE: line 22: ArrayBuffer is deprecated in XMLHttpRequest.send(). Use ArrayBufferView instead.
+
+FAIL setRequestHeader("") sends a blank string assert_equals: expected "Content-Type: \n" but got "Content-Type:  \n"
+FAIL setRequestHeader(" ") sends the string " " assert_equals: expected "Content-Type: \n" but got "Content-Type:  \n"
+PASS setRequestHeader(null) sends the string "null" 
+PASS setRequestHeader(undefined) sends the string "undefined" 
+PASS String request has correct default Content-Type of "text/plain;charset=UTF-8" 
+PASS String request keeps setRequestHeader() Content-Type, with charset adjusted to UTF-8 
+FAIL XML Document request respects setRequestHeader("") assert_equals: expected "Content-Type: \n" but got "Content-Type:  \n"
+PASS XML Document request has correct default Content-Type of "application/xml;charset=UTF-8" 
+FAIL XML Document request keeps setRequestHeader() Content-Type, with charset adjusted to UTF-8 assert_equals: expected "Content-Type: application/xhtml+xml;charset=UTF-8\n" but got "Content-Type: application/xhtml+xml;charset=ASCII\n"
+FAIL HTML Document request respects setRequestHeader("") assert_equals: expected "Content-Type: \n" but got "Content-Type:  \n"
+PASS HTML Document request has correct default Content-Type of "text/html;charset=UTF-8" 
+FAIL HTML Document request keeps setRequestHeader() Content-Type, with charset adjusted to UTF-8 assert_equals: expected "Content-Type: text/html+junk;charset=UTF-8\n" but got "Content-Type: text/html+junk;charset=ASCII\n"
+FAIL Blob request respects setRequestHeader("") to be specified assert_equals: expected "Content-Type: \n" but got "Content-Type:  \n"
+FAIL Blob request with unset type sends no Content-Type without setRequestHeader() call assert_equals: expected "" but got "Content-Type:  \n"
+PASS Blob request with unset type keeps setRequestHeader() Content-Type and charset 
+FAIL Blob request with set type respects setRequestHeader("") to be specified assert_equals: expected "Content-Type: \n" but got "Content-Type:  \n"
+PASS Blob request with set type uses that it for Content-Type unless setRequestHeader() 
+PASS Blob request with set type keeps setRequestHeader() Content-Type and charset 
+FAIL ArrayBuffer request respects setRequestHeader("") assert_equals: expected "Content-Type: \n" but got "Content-Type:  \n"
+PASS ArrayBuffer request sends no Content-Type without setRequestHeader() call 
+PASS ArrayBuffer request keeps setRequestHeader() Content-Type and charset 
+FAIL ArrayBufferView request respects setRequestHeader("") assert_equals: expected "Content-Type: \n" but got "Content-Type:  \n"
+PASS ArrayBufferView request sends no Content-Type without setRequestHeader() call 
+PASS ArrayBufferView request keeps setRequestHeader() Content-Type and charset 
+FAIL FormData request respects setRequestHeader("") assert_equals: expected "Content-Type: \n" but got "Content-Type:  \n"
+PASS FormData request has correct default Content-Type of "multipart/form-data; boundary=_" 
+PASS FormData request keeps setRequestHeader() Content-Type and charset 
+FAIL URLSearchParams respects setRequestHeader("") assert_equals: expected "Content-Type: \n" but got "Content-Type:  \n"
+FAIL URLSearchParams request has correct default Content-Type of "application/x-www-form-urlencoded;charset=UTF-8" assert_equals: expected "Content-Type: application/x-www-form-urlencoded;charset=UTF-8\n" but got "Content-Type: text/plain;charset=UTF-8\n"
+PASS URLSearchParams request keeps setRequestHeader() Content-Type, with charset adjusted to UTF-8 
+FAIL ReadableStream request respects setRequestHeader("") assert_equals: expected "Content-Type: \n" but got "Content-Type:  \n"
+FAIL ReadableStream request with under type sends no Content-Type without setRequestHeader() call assert_equals: expected "" but got "Content-Type: text/plain;charset=UTF-8\n"
+FAIL ReadableStream request keeps setRequestHeader() Content-Type and charset assert_equals: expected "Content-Type: application/xml;charset=ASCII\n" but got "Content-Type: application/xml;charset=UTF-8\n"
+
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to