Update WPT test expectations

This commit is contained in:
Sam Giles 2017-03-10 11:00:00 +05:30 committed by Ravi Shankar
parent de2b9b7707
commit 186dec136f
14 changed files with 4 additions and 241 deletions

View file

@ -3,6 +3,3 @@
[Referer header]
expected: FAIL
[Origin header]
expected: FAIL

View file

@ -1,14 +1,5 @@
[allow-headers.htm]
type: testharness
[Allow origin: *]
expected: FAIL
[Allow origin: _*__]
expected: FAIL
[Allow origin: [tab\]*]
expected: FAIL
[Allow origin: undefined//undefined]
expected: FAIL
@ -21,15 +12,6 @@
[Allow origin: [tab\]undefined//undefined]
expected: FAIL
[Allow origin: http://web-platform.test:8000]
expected: FAIL
[Allow origin: _http://web-platform.test:8000]
expected: FAIL
[Allow origin: _http://web-platform.test:8000___[tab\]_]
expected: FAIL
[Allow origin: [tab\]http://web-platform.test:8000]
expected: FAIL

View file

@ -1,14 +1,5 @@
[basic.htm]
type: testharness
[Cross domain basic usage]
expected: FAIL
[Same domain different port]
expected: FAIL
[Cross domain different port]
expected: FAIL
[Cross domain different protocol]
expected: FAIL

View file

@ -1,12 +1,8 @@
[credentials-flag.htm]
type: testharness
expected: TIMEOUT
[Don't send cookie by default]
expected: TIMEOUT
[Access-Control-Allow-Credentials: True should be disallowed (async)]
expected: FAIL
[Don't send cookie part 2]
expected: TIMEOUT
[Don't obey Set-Cookie when withCredentials=false]
expected: TIMEOUT
[Access-Control-Allow-Credentials: TRUE should be disallowed (async)]
expected: FAIL

View file

@ -1,14 +1,5 @@
[origin.htm]
type: testharness
[Allow origin: *]
expected: FAIL
[Allow origin: _*__]
expected: FAIL
[Allow origin: [tab\]*]
expected: FAIL
[Allow origin: undefined//undefined]
expected: FAIL
@ -21,15 +12,6 @@
[Allow origin: [tab\]undefined//undefined]
expected: FAIL
[Allow origin: http://web-platform.test:8000]
expected: FAIL
[Allow origin: _http://web-platform.test:8000]
expected: FAIL
[Allow origin: _http://web-platform.test:8000___[tab\]_]
expected: FAIL
[Allow origin: [tab\]http://web-platform.test:8000]
expected: FAIL

View file

@ -56,24 +56,6 @@
[remote (undefined//undefined) to remote2 (null), expect origin=null]
expected: FAIL
[local (*) to remote (*), expect origin=http://web-platform.test:8000]
expected: FAIL
[local (*) to remote (http://web-platform.test:8000), expect origin=http://web-platform.test:8000]
expected: FAIL
[local (http://web-platform.test:8000) to remote (*), expect origin=http://web-platform.test:8000]
expected: FAIL
[local (http://web-platform.test:8000) to remote (http://web-platform.test:8000), expect origin=http://web-platform.test:8000]
expected: FAIL
[local (null) to remote (*), expect origin=http://web-platform.test:8000]
expected: FAIL
[local (none) to remote (*), expect origin=http://web-platform.test:8000]
expected: FAIL
[remote (http://web-platform.test:8000) to local (*), expect origin=null]
expected: FAIL

View file

@ -1,14 +0,0 @@
[request-headers.htm]
type: testharness
[basic request header]
expected: FAIL
[Simple request headers need not be in allow-headers]
expected: FAIL
[Strange allowheaders (case insensitive)]
expected: FAIL
[INVALID_STATE_ERR on setRequestHeader after send()]
expected: FAIL

View file

@ -1,53 +0,0 @@
[status-async.htm]
type: testharness
[Status on GET 200]
expected: FAIL
[Status on GET 201]
expected: FAIL
[Status on GET 202]
expected: FAIL
[Status on GET 203]
expected: FAIL
[Status on GET 204]
expected: FAIL
[Status on GET 205]
expected: FAIL
[Status on GET 206]
expected: FAIL
[Status on GET 209]
expected: FAIL
[Status on GET 299]
expected: FAIL
[Status on POST 200]
expected: FAIL
[Status on HEAD 200]
expected: FAIL
[Status on PUT 200]
expected: FAIL
[Status on CHICKEN 200]
expected: FAIL
[Status on GET 400]
expected: FAIL
[Status on HEAD 401]
expected: FAIL
[Status on POST 404]
expected: FAIL
[Status on POST 500]
expected: FAIL

View file

@ -1,50 +0,0 @@
[status-preflight.htm]
type: testharness
[CORS - status after preflight on GET 200]
expected: FAIL
[CORS - status after preflight on GET 204]
expected: FAIL
[CORS - status after preflight on GET 400]
expected: FAIL
[CORS - status after preflight on GET 401]
expected: FAIL
[CORS - status after preflight on HEAD 200]
expected: FAIL
[CORS - status after preflight on HEAD 204]
expected: FAIL
[CORS - status after preflight on HEAD 400]
expected: FAIL
[CORS - status after preflight on HEAD 401]
expected: FAIL
[CORS - status after preflight on HEAD 501]
expected: FAIL
[CORS - status after preflight on HEAD 699]
expected: FAIL
[CORS - status after preflight on POST 204]
expected: FAIL
[CORS - status after preflight on POST 400]
expected: FAIL
[CORS - status after preflight on POST 401]
expected: FAIL
[CORS - status after preflight on POST 404]
expected: FAIL
[CORS - status after preflight on PUT 699]
expected: FAIL
[CORS - status after preflight on CHICKEN 501]
expected: FAIL

View file

@ -1,8 +0,0 @@
[status.htm]
type: testharness
[3. CORS allowed, response status 400.]
expected: FAIL
[4. CORS allowed, preflight status 200, response status 400.]
expected: FAIL

View file

@ -1,15 +1,9 @@
[eventsource-cross-origin.htm]
type: testharness
expected: TIMEOUT
[EventSource: cross-origin basic use]
expected: TIMEOUT
[EventSource: cross-origin redirect use]
expected: TIMEOUT
[EventSource: cross-origin redirect use recon]
expected: TIMEOUT
[EventSource: cross-origin allow-origin: http://example.org should fail]
expected: FAIL

View file

@ -1,6 +0,0 @@
[request-cache-control.htm]
type: testharness
expected: TIMEOUT
[EventSource: Cache-Control 1]
expected: TIMEOUT

View file

@ -1,12 +0,0 @@
[request-credentials.htm]
type: testharness
expected: TIMEOUT
[EventSource: credentials: credentials enabled]
expected: TIMEOUT
[EventSource: credentials: credentials disabled]
expected: TIMEOUT
[EventSource: credentials: credentials default]
expected: TIMEOUT

View file

@ -1,23 +1,14 @@
[request-headers.html]
type: testharness
[Fetch with PUT without body]
expected: FAIL
[Fetch with PUT with body]
expected: FAIL
[Fetch with POST without body]
expected: FAIL
[Fetch with POST with text body]
expected: FAIL
[Fetch with POST with FormData body]
expected: FAIL
[Fetch with POST with Blob body]
expected: FAIL
[Fetch with POST with ArrayBuffer body]
expected: FAIL
@ -48,15 +39,6 @@
[Fetch with POST with URLSearchParams body]
expected: FAIL
[Fetch with POST and mode "same-origin" needs an Origin header]
expected: FAIL
[Fetch with POST and mode "no-cors" needs an Origin header]
expected: FAIL
[Fetch with PUT and mode "same-origin" needs an Origin header]
expected: FAIL
[Fetch with TacO and mode "same-origin" needs an Origin header]
expected: FAIL