Diff
Modified: trunk/LayoutTests/ChangeLog (216009 => 216010)
--- trunk/LayoutTests/ChangeLog 2017-05-01 07:56:18 UTC (rev 216009)
+++ trunk/LayoutTests/ChangeLog 2017-05-01 08:07:42 UTC (rev 216010)
@@ -1,3 +1,17 @@
+2017-05-01 Carlos Garcia Campos <[email protected]>
+
+ Unreviewed GTK+ gardening. Rebaseline several WPT fetch API tests.
+
+ * platform/gtk/imported/w3c/web-platform-tests/fetch/api/basic/request-headers.any-expected.txt: Added.
+ * platform/gtk/imported/w3c/web-platform-tests/fetch/api/basic/request-headers.any.worker-expected.txt: Added.
+ * platform/gtk/imported/w3c/web-platform-tests/fetch/api/basic/scheme-about.any-expected.txt: Added.
+ * platform/gtk/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic.any-expected.txt: Added.
+ * platform/gtk/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic.any.worker-expected.txt: Added.
+ * platform/gtk/imported/w3c/web-platform-tests/fetch/api/cors/cors-no-preflight.any-expected.txt: Added.
+ * platform/gtk/imported/w3c/web-platform-tests/fetch/api/cors/cors-no-preflight.any.worker-expected.txt: Added.
+ * platform/gtk/imported/w3c/web-platform-tests/fetch/api/cors/cors-origin.any-expected.txt: Added.
+ * platform/gtk/imported/w3c/web-platform-tests/fetch/api/cors/cors-origin.any.worker-expected.txt: Added.
+
2017-05-01 Joanmarie Diggs <[email protected]>
AX: AccessibilityTable::ariaRowCount() and ariaColumnCount() should not return -1 unless that is the author-provided value
Added: trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/fetch/api/basic/request-headers.any-expected.txt (0 => 216010)
--- trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/fetch/api/basic/request-headers.any-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/fetch/api/basic/request-headers.any-expected.txt 2017-05-01 08:07:42 UTC (rev 216010)
@@ -0,0 +1,26 @@
+
+PASS Fetch with GET
+PASS Fetch with HEAD
+PASS Fetch with PUT without body
+PASS Fetch with PUT with body
+PASS Fetch with POST without body
+PASS Fetch with POST with text body
+PASS Fetch with POST with FormData body
+PASS Fetch with POST with URLSearchParams body
+FAIL Fetch with POST with Blob body assert_equals: Request should have header content-type: null expected (object) null but got (string) ""
+PASS Fetch with POST with ArrayBuffer body
+PASS Fetch with POST with Uint8Array body
+PASS Fetch with POST with Int8Array body
+PASS Fetch with POST with Float32Array body
+PASS Fetch with POST with Float64Array body
+PASS Fetch with POST with DataView body
+PASS Fetch with POST with Blob body with mime type
+PASS Fetch with Chicken
+PASS Fetch with Chicken with body
+PASS Fetch with GET and mode "cors" does not need an Origin header
+PASS Fetch with POST and mode "same-origin" needs an Origin header
+PASS Fetch with POST and mode "no-cors" needs an Origin header
+PASS Fetch with PUT and mode "same-origin" needs an Origin header
+PASS Fetch with TacO and mode "same-origin" needs an Origin header
+PASS Fetch with TacO and mode "cors" needs an Origin header
+
Added: trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/fetch/api/basic/request-headers.any.worker-expected.txt (0 => 216010)
--- trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/fetch/api/basic/request-headers.any.worker-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/fetch/api/basic/request-headers.any.worker-expected.txt 2017-05-01 08:07:42 UTC (rev 216010)
@@ -0,0 +1,26 @@
+
+PASS Fetch with GET
+PASS Fetch with HEAD
+PASS Fetch with PUT without body
+PASS Fetch with PUT with body
+PASS Fetch with POST without body
+PASS Fetch with POST with text body
+FAIL Fetch with POST with FormData body Can't find variable: FormData
+PASS Fetch with POST with URLSearchParams body
+FAIL Fetch with POST with Blob body assert_equals: Request should have header content-type: null expected (object) null but got (string) ""
+PASS Fetch with POST with ArrayBuffer body
+PASS Fetch with POST with Uint8Array body
+PASS Fetch with POST with Int8Array body
+PASS Fetch with POST with Float32Array body
+PASS Fetch with POST with Float64Array body
+PASS Fetch with POST with DataView body
+PASS Fetch with POST with Blob body with mime type
+PASS Fetch with Chicken
+PASS Fetch with Chicken with body
+PASS Fetch with GET and mode "cors" does not need an Origin header
+PASS Fetch with POST and mode "same-origin" needs an Origin header
+PASS Fetch with POST and mode "no-cors" needs an Origin header
+PASS Fetch with PUT and mode "same-origin" needs an Origin header
+PASS Fetch with TacO and mode "same-origin" needs an Origin header
+PASS Fetch with TacO and mode "cors" needs an Origin header
+
Added: trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/fetch/api/basic/scheme-about.any-expected.txt (0 => 216010)
--- trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/fetch/api/basic/scheme-about.any-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/fetch/api/basic/scheme-about.any-expected.txt 2017-05-01 08:07:42 UTC (rev 216010)
@@ -0,0 +1,14 @@
+CONSOLE MESSAGE: line 1: Fetch API cannot load about:blank. Cross origin requests are only supported for HTTP.
+CONSOLE MESSAGE: Fetch API cannot load about:blank. The URL can’t be shown
+CONSOLE MESSAGE: line 1: Fetch API cannot load about:blank. Cross origin requests are only supported for HTTP.
+CONSOLE MESSAGE: line 1: Fetch API cannot load about:invalid.com. Cross origin requests are only supported for HTTP.
+CONSOLE MESSAGE: line 1: Fetch API cannot load about:config. Cross origin requests are only supported for HTTP.
+CONSOLE MESSAGE: line 1: Fetch API cannot load about:unicorn. Cross origin requests are only supported for HTTP.
+
+FAIL Fetching about:blank (GET) is OK promise_test: Unhandled rejection with value: object "TypeError: Type error"
+FAIL Fetching about:blank (PUT) is OK promise_test: Unhandled rejection with value: object "TypeError: Type error"
+FAIL Fetching about:blank (POST) is OK promise_test: Unhandled rejection with value: object "TypeError: Type error"
+PASS Fetching about:invalid.com is KO
+PASS Fetching about:config is KO
+PASS Fetching about:unicorn is KO
+
Added: trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic.any-expected.txt (0 => 216010)
--- trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic.any-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic.any-expected.txt 2017-05-01 08:07:42 UTC (rev 216010)
@@ -0,0 +1,27 @@
+CONSOLE MESSAGE: Origin http://localhost:8800 is not allowed by Access-Control-Allow-Origin.
+CONSOLE MESSAGE: Fetch API cannot load http://localhost:8801/fetch/api/resources/top.txt. Origin http://localhost:8800 is not allowed by Access-Control-Allow-Origin.
+CONSOLE MESSAGE: Origin http://localhost:8800 is not allowed by Access-Control-Allow-Origin.
+CONSOLE MESSAGE: Fetch API cannot load https://localhost:9443/fetch/api/resources/top.txt. Origin http://localhost:8800 is not allowed by Access-Control-Allow-Origin.
+CONSOLE MESSAGE: Origin http://localhost:8800 is not allowed by Access-Control-Allow-Origin.
+CONSOLE MESSAGE: Fetch API cannot load http://127.0.0.1:8800/fetch/api/resources/top.txt. Origin http://localhost:8800 is not allowed by Access-Control-Allow-Origin.
+CONSOLE MESSAGE: Origin http://localhost:8800 is not allowed by Access-Control-Allow-Origin.
+CONSOLE MESSAGE: Fetch API cannot load http://127.0.0.1:8801/fetch/api/resources/top.txt. Origin http://localhost:8800 is not allowed by Access-Control-Allow-Origin.
+CONSOLE MESSAGE: Origin http://localhost:8800 is not allowed by Access-Control-Allow-Origin.
+CONSOLE MESSAGE: Fetch API cannot load https://127.0.0.1:9443/fetch/api/resources/top.txt. Origin http://localhost:8800 is not allowed by Access-Control-Allow-Origin.
+
+PASS Same domain different port [no-cors mode]
+PASS Same domain different port [server forbid CORS]
+PASS Same domain different port [cors mode]
+PASS Same domain different protocol different port [no-cors mode]
+PASS Same domain different protocol different port [server forbid CORS]
+PASS Same domain different protocol different port [cors mode]
+PASS Cross domain basic usage [no-cors mode]
+PASS Cross domain basic usage [server forbid CORS]
+PASS Cross domain basic usage [cors mode]
+PASS Cross domain different port [no-cors mode]
+PASS Cross domain different port [server forbid CORS]
+PASS Cross domain different port [cors mode]
+PASS Cross domain different protocol [no-cors mode]
+PASS Cross domain different protocol [server forbid CORS]
+PASS Cross domain different protocol [cors mode]
+
Added: trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic.any.worker-expected.txt (0 => 216010)
--- trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic.any.worker-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic.any.worker-expected.txt 2017-05-01 08:07:42 UTC (rev 216010)
@@ -0,0 +1,22 @@
+CONSOLE MESSAGE: Origin http://localhost:8800 is not allowed by Access-Control-Allow-Origin.
+CONSOLE MESSAGE: Origin http://localhost:8800 is not allowed by Access-Control-Allow-Origin.
+CONSOLE MESSAGE: Origin http://localhost:8800 is not allowed by Access-Control-Allow-Origin.
+CONSOLE MESSAGE: Origin http://localhost:8800 is not allowed by Access-Control-Allow-Origin.
+CONSOLE MESSAGE: Origin http://localhost:8800 is not allowed by Access-Control-Allow-Origin.
+
+PASS Same domain different port [no-cors mode]
+PASS Same domain different port [server forbid CORS]
+PASS Same domain different port [cors mode]
+PASS Same domain different protocol different port [no-cors mode]
+PASS Same domain different protocol different port [server forbid CORS]
+PASS Same domain different protocol different port [cors mode]
+PASS Cross domain basic usage [no-cors mode]
+PASS Cross domain basic usage [server forbid CORS]
+PASS Cross domain basic usage [cors mode]
+PASS Cross domain different port [no-cors mode]
+PASS Cross domain different port [server forbid CORS]
+PASS Cross domain different port [cors mode]
+PASS Cross domain different protocol [no-cors mode]
+PASS Cross domain different protocol [server forbid CORS]
+PASS Cross domain different protocol [cors mode]
+
Added: trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/fetch/api/cors/cors-no-preflight.any-expected.txt (0 => 216010)
--- trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/fetch/api/cors/cors-no-preflight.any-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/fetch/api/cors/cors-no-preflight.any-expected.txt 2017-05-01 08:07:42 UTC (rev 216010)
@@ -0,0 +1,17 @@
+
+PASS Cross domain basic usage [GET]
+PASS Same domain different port [GET]
+PASS Cross domain different port [GET]
+PASS Cross domain different protocol [GET]
+PASS Same domain different protocol different port [GET]
+PASS Cross domain [POST]
+PASS Cross domain [HEAD]
+PASS Cross domain [GET] [Accept: */*]
+PASS Cross domain [GET] [Accept-Language: fr]
+PASS Cross domain [GET] [Content-Language: fr]
+PASS Cross domain [GET] [Content-Type: application/x-www-form-urlencoded]
+PASS Cross domain [GET] [Content-Type: multipart/form-data]
+PASS Cross domain [GET] [Content-Type: text/plain]
+PASS Cross domain [GET] [Content-Type: text/plain;charset=utf-8]
+PASS Cross domain [GET] [Content-Type: Text/Plain;charset=utf-8]
+
Added: trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/fetch/api/cors/cors-no-preflight.any.worker-expected.txt (0 => 216010)
--- trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/fetch/api/cors/cors-no-preflight.any.worker-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/fetch/api/cors/cors-no-preflight.any.worker-expected.txt 2017-05-01 08:07:42 UTC (rev 216010)
@@ -0,0 +1,17 @@
+
+PASS Cross domain basic usage [GET]
+PASS Same domain different port [GET]
+PASS Cross domain different port [GET]
+PASS Cross domain different protocol [GET]
+PASS Same domain different protocol different port [GET]
+PASS Cross domain [POST]
+PASS Cross domain [HEAD]
+PASS Cross domain [GET] [Accept: */*]
+PASS Cross domain [GET] [Accept-Language: fr]
+PASS Cross domain [GET] [Content-Language: fr]
+PASS Cross domain [GET] [Content-Type: application/x-www-form-urlencoded]
+PASS Cross domain [GET] [Content-Type: multipart/form-data]
+PASS Cross domain [GET] [Content-Type: text/plain]
+PASS Cross domain [GET] [Content-Type: text/plain;charset=utf-8]
+PASS Cross domain [GET] [Content-Type: Text/Plain;charset=utf-8]
+
Added: trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/fetch/api/cors/cors-origin.any-expected.txt (0 => 216010)
--- trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/fetch/api/cors/cors-origin.any-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/fetch/api/cors/cors-origin.any-expected.txt 2017-05-01 08:07:42 UTC (rev 216010)
@@ -0,0 +1,19 @@
+
+PASS Cross domain different subdomain [origin OK]
+PASS Cross domain different subdomain [origin KO]
+PASS Same domain different port [origin OK]
+PASS Same domain different port [origin KO]
+PASS Cross domain different port [origin OK]
+PASS Cross domain different port [origin KO]
+PASS Cross domain different protocol [origin OK]
+PASS Cross domain different protocol [origin KO]
+PASS Same domain different protocol different port [origin OK]
+PASS Same domain different protocol different port [origin KO]
+PASS Cross domain [POST] [origin OK]
+PASS Cross domain [POST] [origin KO]
+PASS Cross domain [HEAD] [origin OK]
+PASS Cross domain [HEAD] [origin KO]
+PASS CORS preflight [PUT] [origin OK]
+PASS CORS preflight [PUT] [origin KO]
+PASS Allowed origin: "" [origin KO]
+
Added: trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/fetch/api/cors/cors-origin.any.worker-expected.txt (0 => 216010)
--- trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/fetch/api/cors/cors-origin.any.worker-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/fetch/api/cors/cors-origin.any.worker-expected.txt 2017-05-01 08:07:42 UTC (rev 216010)
@@ -0,0 +1,27 @@
+CONSOLE MESSAGE: Origin http://localhost:8800 is not allowed by Access-Control-Allow-Origin.
+CONSOLE MESSAGE: Origin http://localhost:8800 is not allowed by Access-Control-Allow-Origin.
+CONSOLE MESSAGE: Origin http://localhost:8800 is not allowed by Access-Control-Allow-Origin.
+CONSOLE MESSAGE: Origin http://localhost:8800 is not allowed by Access-Control-Allow-Origin.
+CONSOLE MESSAGE: Origin http://localhost:8800 is not allowed by Access-Control-Allow-Origin.
+CONSOLE MESSAGE: Origin http://localhost:8800 is not allowed by Access-Control-Allow-Origin.
+CONSOLE MESSAGE: Origin http://localhost:8800 is not allowed by Access-Control-Allow-Origin.
+CONSOLE MESSAGE: Origin http://localhost:8800 is not allowed by Access-Control-Allow-Origin.
+
+PASS Cross domain different subdomain [origin OK]
+PASS Cross domain different subdomain [origin KO]
+PASS Same domain different port [origin OK]
+PASS Same domain different port [origin KO]
+PASS Cross domain different port [origin OK]
+PASS Cross domain different port [origin KO]
+PASS Cross domain different protocol [origin OK]
+PASS Cross domain different protocol [origin KO]
+PASS Same domain different protocol different port [origin OK]
+PASS Same domain different protocol different port [origin KO]
+PASS Cross domain [POST] [origin OK]
+PASS Cross domain [POST] [origin KO]
+PASS Cross domain [HEAD] [origin OK]
+PASS Cross domain [HEAD] [origin KO]
+PASS CORS preflight [PUT] [origin OK]
+PASS CORS preflight [PUT] [origin KO]
+PASS Allowed origin: "" [origin KO]
+