REGRESSION(r263626): 2 imported/w3c/web-platform-tests/cors/ tests failing constantly <>
Mon, 29 Jun 2020 17:51:26 +0000 (17:51 +0000) <>
Mon, 29 Jun 2020 17:51:26 +0000 (17:51 +0000)

Unreviewed test gardening.

Add baselines for Mojave.

* platform/mac-mojave/imported/w3c/web-platform-tests/cors/credentials-flag-expected.txt: Added.
* platform/mac-mojave/imported/w3c/web-platform-tests/cors/origin-expected.txt: Added.

git-svn-id: 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/platform/mac-mojave/imported/w3c/web-platform-tests/cors/credentials-flag-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-mojave/imported/w3c/web-platform-tests/cors/origin-expected.txt [new file with mode: 0644]

index 26bc331..a8e50f2 100644 (file)
@@ -1,3 +1,15 @@
+2020-06-29  Ryan Haddad  <>
+        REGRESSION(r263626): 2 imported/w3c/web-platform-tests/cors/ tests failing constantly
+        Unreviewed test gardening.
+        Add baselines for Mojave.
+        * platform/mac-mojave/imported/w3c/web-platform-tests/cors/credentials-flag-expected.txt: Added.
+        * platform/mac-mojave/imported/w3c/web-platform-tests/cors/origin-expected.txt: Added.
 2020-06-29  Karl Rackler  <>
         Remove expectation for imported/w3c/web-platform-tests/css/css-lists/counter-increment-inside-display-contents.html and imported/w3c/web-platform-tests/css/css-lists/counter-reset-inside-display-contents.html as they are passing. 
diff --git a/LayoutTests/platform/mac-mojave/imported/w3c/web-platform-tests/cors/credentials-flag-expected.txt b/LayoutTests/platform/mac-mojave/imported/w3c/web-platform-tests/cors/credentials-flag-expected.txt
new file mode 100644 (file)
index 0000000..967ed9e
--- /dev/null
@@ -0,0 +1,19 @@
+CORS - Access-Control-Allow-Credentials
+PASS Setting withCredentials on a sync XHR object should not throw 
+PASS Don't send cookie by default 
+FAIL Don't send cookie part 2 assert_equals: Cookie sent in withCredentials=true sync request expected "COOKIE" but got "NO_COOKIE"
+FAIL Don't obey Set-Cookie when withCredentials=false assert_equals: third expected "COOKIE" but got "NO_COOKIE"
+PASS Access-Control-Allow-Credentials: TRUE should be disallowed (async) 
+PASS Access-Control-Allow-Credentials: True should be disallowed (async) 
+PASS Access-Control-Allow-Credentials: "true" should be disallowed (async) 
+PASS Access-Control-Allow-Credentials: 'true' should be disallowed (async) 
+PASS Access-Control-Allow-Credentials: false should be disallowed (async) 
+PASS Access-Control-Allow-Credentials: 1 should be disallowed (async) 
+PASS Access-Control-Allow-Credentials: 0 should be disallowed (async) 
+PASS Access-Control-Allow-Credentials: ,true should be disallowed (async) 
+PASS Access-Control-Allow-Credentials: true, should be disallowed (async) 
+FAIL Access-Control-Allow-Credentials: true%0B should be disallowed (async) assert_unreached: onload Reached unreachable code
+FAIL Access-Control-Allow-Credentials: true%0C should be disallowed (async) assert_unreached: onload Reached unreachable code
diff --git a/LayoutTests/platform/mac-mojave/imported/w3c/web-platform-tests/cors/origin-expected.txt b/LayoutTests/platform/mac-mojave/imported/w3c/web-platform-tests/cors/origin-expected.txt
new file mode 100644 (file)
index 0000000..b3bd125
--- /dev/null
@@ -0,0 +1,70 @@
+Access-Control-Allow-Origin handling
+Harness Error (FAIL), message = 1 duplicate test name: "Disallow origin: localhost:8800"
+PASS Allow origin: * 
+PASS Allow origin: _*__ 
+PASS Allow origin: [tab]* 
+PASS Allow origin: http://localhost:8800 
+PASS Allow origin: _http://localhost:8800 
+PASS Allow origin: _http://localhost:8800___[tab]_ 
+PASS Allow origin: [tab]http://localhost:8800 
+PASS Disallow origin: 
+PASS Disallow origin: //localhost:8800 
+PASS Disallow origin: ://localhost:8800 
+PASS Disallow origin: ftp://localhost:8800 
+PASS Disallow origin: http:://localhost:8800 
+PASS Disallow origin: http:/localhost:8800 
+PASS Disallow origin: http:localhost:8800 
+PASS Disallow origin: localhost:8800 
+PASS Disallow origin: http://localhost:8800? 
+PASS Disallow origin: http://localhost:8800/ 
+PASS Disallow origin: http://localhost:8800 / 
+PASS Disallow origin: http://localhost:8800# 
+PASS Disallow origin: http://localhost:8800%23 
+PASS Disallow origin: http://localhost:8800:80 
+PASS Disallow origin: http://localhost:8800, * 
+PASS Disallow origin: http://localhost:8800\0 
+PASS Disallow origin: HTTP://LOCALHOST:8800 
+PASS Disallow origin: HTTP://localhost:8800 
+PASS Disallow origin: - 
+PASS Disallow origin: ** 
+PASS Disallow origin: ,* 
+PASS Disallow origin: *, 
+PASS Disallow origin: \0* 
+FAIL Disallow origin: \v* assert_throws_dom: send function "function () { client.send() }" did not throw
+FAIL Disallow origin: \f* assert_throws_dom: send function "function () { client.send() }" did not throw
+PASS Disallow origin: *\0 
+FAIL Disallow origin: *\v assert_throws_dom: send function "function () { client.send() }" did not throw
+FAIL Disallow origin: *\f assert_throws_dom: send function "function () { client.send() }" did not throw
+PASS Disallow origin: '*' 
+PASS Disallow origin: "*" 
+PASS Disallow origin: * * 
+PASS Disallow origin: * null 
+PASS Disallow origin: *http://* 
+PASS Disallow origin: *http://localhost:8800 
+PASS Disallow origin: * http://localhost:8800 
+PASS Disallow origin: *, http://localhost:8800 
+PASS Disallow origin: \0http://localhost:8800 
+PASS Disallow origin: null http://localhost:8800 
+PASS Disallow origin: 
+PASS Disallow origin: null 
+PASS Disallow origin: null * 
+PASS Disallow origin:  
+PASS Disallow origin: http://localhost:8800/cors/origin.htm 
+PASS Disallow origin: http://localhost:8800/cors/ 
+PASS Disallow origin: 
+PASS Disallow origin: localhost:8800 
+PASS Disallow origin: .localhost:8800 
+PASS Disallow origin: *.localhost:8800 
+FAIL Disallow origin: http://localhost:8800 assert_throws_dom: send function "function () { client.send() }" did not throw
+PASS Disallow origin: http://.localhost:8800 
+PASS Disallow origin: http://*.localhost:8800 
+PASS Disallow multiple headers (, *) 
+PASS Disallow multiple headers (*, ) 
+PASS Disallow multiple headers (*, *) 
+PASS Disallow multiple headers (, http://localhost:8800) 
+PASS Disallow multiple headers (*, http://localhost:8800) 
+PASS Disallow multiple headers (http://localhost:8800, http://localhost:8800)