mirror of
https://github.com/servo/servo.git
synced 2025-10-02 09:39:14 +01:00
Test fixes; update for changes in spec
This commit is contained in:
parent
f4e3e8e38e
commit
fd6f9bd411
22 changed files with 320 additions and 269 deletions
|
@ -1,5 +0,0 @@
|
|||
[send-authentication-basic-setrequestheader-existing-session.htm]
|
||||
type: testharness
|
||||
[XMLHttpRequest: send() - "Basic" authenticated request using setRequestHeader() when there is an existing session]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[send-authentication-basic.htm]
|
||||
type: testharness
|
||||
[XMLHttpRequest: send() - "Basic" authenticated requests with user name and password passed to open()]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
[send-conditional.htm]
|
||||
type: testharness
|
||||
[XMLHttpRequest: send() - conditional requests (tag)]
|
||||
expected: FAIL
|
||||
|
||||
[XMLHttpRequest: send() - conditional requests (date)]
|
||||
expected: FAIL
|
||||
|
|
@ -15,9 +15,12 @@
|
|||
[charset given but wrong, fix it (known MIME, bogus charset)]
|
||||
expected: FAIL
|
||||
|
||||
[charset given but wrong, fix it (known MIME, actual charset)]
|
||||
expected: FAIL
|
||||
|
||||
[If multiple charset parameters are given, all should be rewritten]
|
||||
expected: FAIL
|
||||
|
||||
[Correct text/plain MIME with charset]
|
||||
expected: FAIL
|
||||
|
||||
[charset given but wrong, fix it (known MIME, actual charset)]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
[send-entity-body-get-head.htm]
|
||||
type: testharness
|
||||
[XMLHttpRequest: send() - non-empty data argument and GET/HEAD (HEAD)]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
[send-redirect-to-cors.htm]
|
||||
type: testharness
|
||||
[XMLHttpRequest: send() - Redirect to CORS-enabled resource (301)]
|
||||
expected: FAIL
|
||||
|
||||
[XMLHttpRequest: send() - Redirect to CORS-enabled resource (302)]
|
||||
expected: FAIL
|
||||
|
||||
[XMLHttpRequest: send() - Redirect to CORS-enabled resource (303)]
|
||||
expected: FAIL
|
||||
|
||||
[XMLHttpRequest: send() - Redirect to CORS-enabled resource (307)]
|
||||
expected: FAIL
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
[send-redirect-to-non-cors.htm]
|
||||
type: testharness
|
||||
[XMLHttpRequest: send() - Redirect to cross-origin resource, not CORS-enabled (301)]
|
||||
expected: FAIL
|
||||
|
||||
[XMLHttpRequest: send() - Redirect to cross-origin resource, not CORS-enabled (302)]
|
||||
expected: FAIL
|
||||
|
||||
[XMLHttpRequest: send() - Redirect to cross-origin resource, not CORS-enabled (303)]
|
||||
expected: FAIL
|
||||
|
||||
[XMLHttpRequest: send() - Redirect to cross-origin resource, not CORS-enabled (307)]
|
||||
expected: FAIL
|
||||
|
|
@ -33,6 +33,3 @@
|
|||
[Allow origin: [tab\]http://web-platform.test:8000]
|
||||
expected: FAIL
|
||||
|
||||
[Disallow origin: http://web-platform.test:8000/]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -33,12 +33,3 @@
|
|||
[Allow origin: [tab\]http://web-platform.test:8000]
|
||||
expected: FAIL
|
||||
|
||||
[Disallow origin: http://web-platform.test:8000/]
|
||||
expected: FAIL
|
||||
|
||||
[Disallow multiple headers (, *)]
|
||||
expected: FAIL
|
||||
|
||||
[Disallow multiple headers (*, )]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,17 +1,8 @@
|
|||
[preflight-cache.htm]
|
||||
type: testharness
|
||||
[Test preflight]
|
||||
expected: FAIL
|
||||
|
||||
[preflight for x-print should be cached]
|
||||
expected: FAIL
|
||||
|
||||
[age = 0, should not be cached]
|
||||
expected: FAIL
|
||||
|
||||
[age = -1, should not be cached]
|
||||
expected: FAIL
|
||||
|
||||
[preflight first request, second from cache, wait, third should preflight again]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -62,24 +62,12 @@
|
|||
[local (*) to remote (http://web-platform.test:8000), expect origin=http://web-platform.test:8000]
|
||||
expected: FAIL
|
||||
|
||||
[local (*) to remote (null), expect to fail]
|
||||
expected: FAIL
|
||||
|
||||
[local (*) to remote (none), expect to fail]
|
||||
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 (http://web-platform.test:8000) to remote (null), expect to fail]
|
||||
expected: FAIL
|
||||
|
||||
[local (http://web-platform.test:8000) to remote (none), expect to fail]
|
||||
expected: FAIL
|
||||
|
||||
[local (null) to remote (*), expect origin=http://web-platform.test:8000]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -110,27 +98,3 @@
|
|||
[remote (http://web-platform.test:8000) to remote2 (null), expect origin=null]
|
||||
expected: FAIL
|
||||
|
||||
[remote (http://www1.web-platform.test:8000) to remote (*), expect to fail]
|
||||
expected: FAIL
|
||||
|
||||
[remote (null) to remote2 (*), expect to fail]
|
||||
expected: FAIL
|
||||
|
||||
[remote (none) to remote2 (*), expect to fail]
|
||||
expected: FAIL
|
||||
|
||||
[remote (none) to remote2 (*), expect to fail]
|
||||
expected: FAIL
|
||||
|
||||
[remote (null) to remote (*), expect to fail]
|
||||
expected: FAIL
|
||||
|
||||
[remote (none) to remote (*), expect to fail]
|
||||
expected: FAIL
|
||||
|
||||
[remote (none) to local (*), expect to fail]
|
||||
expected: FAIL
|
||||
|
||||
[remote (null) to local (*), expect to fail]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
[redirect-preflight-2.htm]
|
||||
type: testharness
|
||||
[Same-origin custom-header request, redirect to cross-origin succeeds after doing a preflight]
|
||||
expected: FAIL
|
||||
|
||||
[Same-origin custom-header request, redirect to cross-origin fails after doing a non-successful preflight]
|
||||
expected: FAIL
|
||||
|
|
@ -9,6 +9,3 @@
|
|||
[getResponse: don't expose x-nonexposed]
|
||||
expected: FAIL
|
||||
|
||||
[getAllResponseHeaders: don't expose x-nonexposed]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue