mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Auto merge of #14116 - jdm:fetch-reenable2, r=Manishearth
Enable cors and redirect fetch tests. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14116) <!-- Reviewable:end -->
This commit is contained in:
commit
e13bfeb50f
43 changed files with 99 additions and 51 deletions
|
@ -19,12 +19,6 @@ skip: true
|
||||||
skip: false
|
skip: false
|
||||||
[fetch]
|
[fetch]
|
||||||
skip: false
|
skip: false
|
||||||
[api]
|
|
||||||
skip: false
|
|
||||||
[cors]
|
|
||||||
skip: true
|
|
||||||
[redirect]
|
|
||||||
skip: true
|
|
||||||
[FileAPI]
|
[FileAPI]
|
||||||
skip: false
|
skip: false
|
||||||
[hr-time]
|
[hr-time]
|
||||||
|
|
|
@ -8,3 +8,4 @@
|
||||||
|
|
||||||
[Element in HTML namespace, prefix, non-ascii characters in name]
|
[Element in HTML namespace, prefix, non-ascii characters in name]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -2,3 +2,4 @@
|
||||||
type: testharness
|
type: testharness
|
||||||
[Shouldn't be able to set unsigned properties on a HTMLCollection (strict mode)]
|
[Shouldn't be able to set unsigned properties on a HTMLCollection (strict mode)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -2,3 +2,4 @@
|
||||||
type: testharness
|
type: testharness
|
||||||
[Shouldn't be able to set unsigned properties on a HTMLCollection (strict mode)]
|
[Shouldn't be able to set unsigned properties on a HTMLCollection (strict mode)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
[cors-cookies-worker.html]
|
[cors-cookies-worker.html]
|
||||||
type: testharness
|
type: testharness
|
||||||
[Include mode: 1 cookie]
|
[Include mode: local cookies are not sent with remote request]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
[Include mode: remote cookies are not sent with local request]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Same-origin mode: cookies are discarded in cors request]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
[cors-cookies.html]
|
[cors-cookies.html]
|
||||||
type: testharness
|
type: testharness
|
||||||
[Include mode: 1 cookie]
|
[Include mode: local cookies are not sent with remote request]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
[Include mode: remote cookies are not sent with local request]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Same-origin mode: cookies are discarded in cors request]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
[cors-redirect-credentials-worker.html]
|
[cors-redirect-credentials-worker.html]
|
||||||
|
disabled: https://github.com/servo/servo/issues/13441
|
||||||
type: testharness
|
type: testharness
|
||||||
[Redirect 301 from remote to same remote with user and password]
|
[Redirect 301 from remote to same remote with user and password]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
[cors-redirect-credentials.html]
|
[cors-redirect-credentials.html]
|
||||||
|
disabled: https://github.com/servo/servo/issues/13441
|
||||||
type: testharness
|
type: testharness
|
||||||
[Redirect 301 from remote to same remote with user and password]
|
[Redirect 301 from remote to same remote with user and password]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
[cors-redirect-preflight-worker.html]
|
[cors-redirect-preflight-worker.html]
|
||||||
|
disabled: https://github.com/servo/servo/issues/13441
|
||||||
type: testharness
|
type: testharness
|
||||||
[Redirect 301: same origin to cors (preflight after redirection success case)]
|
[Redirect 301: same origin to cors (preflight after redirection success case)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
[cors-redirect-preflight.html]
|
[cors-redirect-preflight.html]
|
||||||
|
disabled: https://github.com/servo/servo/issues/13441
|
||||||
type: testharness
|
type: testharness
|
||||||
[Redirect 301: same origin to cors (preflight after redirection success case)]
|
[Redirect 301: same origin to cors (preflight after redirection success case)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[redirect-location-worker.html]
|
[redirect-location-worker.html]
|
||||||
|
disabled: https://github.com/servo/servo/issues/13441
|
||||||
type: testharness
|
type: testharness
|
||||||
expected: TIMEOUT
|
|
||||||
[Redirect 301 in "manual" mode with invalid location]
|
[Redirect 301 in "manual" mode with invalid location]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -19,33 +19,30 @@
|
||||||
[Redirect 303 in "manual" mode with data location]
|
[Redirect 303 in "manual" mode with data location]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Redirect 307 in "follow" mode with invalid location]
|
|
||||||
expected: TIMEOUT
|
|
||||||
|
|
||||||
[Redirect 307 in "manual" mode with invalid location]
|
[Redirect 307 in "manual" mode with invalid location]
|
||||||
expected: NOTRUN
|
expected: FAIL
|
||||||
|
|
||||||
[Redirect 307 in "follow" mode with data location]
|
[Redirect 307 in "follow" mode with data location]
|
||||||
expected: NOTRUN
|
expected: FAIL
|
||||||
|
|
||||||
[Redirect 307 in "manual" mode with data location]
|
[Redirect 307 in "manual" mode with data location]
|
||||||
expected: NOTRUN
|
expected: FAIL
|
||||||
|
|
||||||
[Redirect 308 in "follow" mode without location]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
[Redirect 308 in "manual" mode without location]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
[Redirect 308 in "follow" mode with invalid location]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
[Redirect 308 in "manual" mode with invalid location]
|
[Redirect 308 in "manual" mode with invalid location]
|
||||||
expected: NOTRUN
|
expected: FAIL
|
||||||
|
|
||||||
[Redirect 308 in "follow" mode with data location]
|
[Redirect 308 in "follow" mode with data location]
|
||||||
expected: NOTRUN
|
expected: FAIL
|
||||||
|
|
||||||
[Redirect 308 in "manual" mode with data location]
|
[Redirect 308 in "manual" mode with data location]
|
||||||
expected: NOTRUN
|
expected: FAIL
|
||||||
|
|
||||||
|
[Redirect 301 in "follow" mode with data location]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Redirect 302 in "follow" mode with data location]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Redirect 303 in "follow" mode with data location]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[redirect-location.html]
|
[redirect-location.html]
|
||||||
|
disabled: https://github.com/servo/servo/issues/13441
|
||||||
type: testharness
|
type: testharness
|
||||||
expected: TIMEOUT
|
|
||||||
[Redirect 301 in "manual" mode with invalid location]
|
[Redirect 301 in "manual" mode with invalid location]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -19,33 +19,30 @@
|
||||||
[Redirect 303 in "manual" mode with data location]
|
[Redirect 303 in "manual" mode with data location]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Redirect 307 in "follow" mode with invalid location]
|
|
||||||
expected: TIMEOUT
|
|
||||||
|
|
||||||
[Redirect 307 in "manual" mode with invalid location]
|
[Redirect 307 in "manual" mode with invalid location]
|
||||||
expected: NOTRUN
|
expected: FAIL
|
||||||
|
|
||||||
[Redirect 307 in "follow" mode with data location]
|
[Redirect 307 in "follow" mode with data location]
|
||||||
expected: NOTRUN
|
expected: FAIL
|
||||||
|
|
||||||
[Redirect 307 in "manual" mode with data location]
|
[Redirect 307 in "manual" mode with data location]
|
||||||
expected: NOTRUN
|
expected: FAIL
|
||||||
|
|
||||||
[Redirect 308 in "follow" mode without location]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
[Redirect 308 in "manual" mode without location]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
[Redirect 308 in "follow" mode with invalid location]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
[Redirect 308 in "manual" mode with invalid location]
|
[Redirect 308 in "manual" mode with invalid location]
|
||||||
expected: NOTRUN
|
expected: FAIL
|
||||||
|
|
||||||
[Redirect 308 in "follow" mode with data location]
|
[Redirect 308 in "follow" mode with data location]
|
||||||
expected: NOTRUN
|
expected: FAIL
|
||||||
|
|
||||||
[Redirect 308 in "manual" mode with data location]
|
[Redirect 308 in "manual" mode with data location]
|
||||||
expected: NOTRUN
|
expected: FAIL
|
||||||
|
|
||||||
|
[Redirect 301 in "follow" mode with data location]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Redirect 302 in "follow" mode with data location]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Redirect 303 in "follow" mode with data location]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -3,3 +3,6 @@
|
||||||
[Fetch: handling different schemes in redirects 3]
|
[Fetch: handling different schemes in redirects 3]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
[Fetch: handling different schemes in redirects 1]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -6,3 +6,12 @@
|
||||||
[Testing data URL loading after cross-origin redirection (no-cors mode)]
|
[Testing data URL loading after cross-origin redirection (no-cors mode)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
[Testing data URL loading after same-origin redirection (cors mode)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Testing data URL loading after same-origin redirection (same-origin mode)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Testing data URL loading after cross-origin redirection (cors mode)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -6,3 +6,12 @@
|
||||||
[Testing data URL loading after cross-origin redirection (no-cors mode)]
|
[Testing data URL loading after cross-origin redirection (no-cors mode)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
[Testing data URL loading after same-origin redirection (cors mode)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Testing data URL loading after same-origin redirection (same-origin mode)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Testing data URL loading after cross-origin redirection (cors mode)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[uninitialized-test.html]
|
[uninitialized-test.html]
|
||||||
type: testharness
|
type: testharness
|
||||||
disabled: https://github.com/servo/servo/issues/13710
|
disabled: https://github.com/servo/servo/issues/13710
|
||||||
|
|
||||||
[WebGL test #1: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).]
|
[WebGL test #1: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
[renderbuffer-initialization.html]
|
[renderbuffer-initialization.html]
|
||||||
type: testharness
|
type: testharness
|
||||||
disabled: https://github.com/servo/servo/issues/13710
|
disabled: https://github.com/servo/servo/issues/13710
|
||||||
|
|
||||||
[WebGL test #0: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).]
|
[WebGL test #0: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -10,3 +9,4 @@
|
||||||
|
|
||||||
[WebGL test #2: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).]
|
[WebGL test #2: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -11,3 +11,4 @@
|
||||||
|
|
||||||
[The PageTransitionEvent interface object should not be exposed.]
|
[The PageTransitionEvent interface object should not be exposed.]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
[matchMedia.html]
|
[matchMedia.html]
|
||||||
type: testharness
|
type: testharness
|
||||||
expected: OK
|
expected: OK
|
||||||
|
|
||||||
[window.matchMedia exists]
|
[window.matchMedia exists]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -13,3 +12,4 @@
|
||||||
|
|
||||||
[Resize iframe from 200x100 to 200x50, then to 100x50]
|
[Resize iframe from 200x100 to 200x50, then to 100x50]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -2,3 +2,4 @@
|
||||||
type: testharness
|
type: testharness
|
||||||
[Device goes out of range. Reject with NetworkError.]
|
[Device goes out of range. Reject with NetworkError.]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -2,3 +2,4 @@
|
||||||
type: testharness
|
type: testharness
|
||||||
[Device goes out of range. Reject with NetworkError.]
|
[Device goes out of range. Reject with NetworkError.]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -2,3 +2,4 @@
|
||||||
type: testharness
|
type: testharness
|
||||||
[disconnect() called during getCharacteristic. Reject with NetworkError.]
|
[disconnect() called during getCharacteristic. Reject with NetworkError.]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -2,3 +2,4 @@
|
||||||
type: testharness
|
type: testharness
|
||||||
[Device goes out of range with UUID. Reject with NetworkError.]
|
[Device goes out of range with UUID. Reject with NetworkError.]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -2,3 +2,4 @@
|
||||||
type: testharness
|
type: testharness
|
||||||
[Device goes out of range. Reject with NetworkError.]
|
[Device goes out of range. Reject with NetworkError.]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -2,3 +2,4 @@
|
||||||
type: testharness
|
type: testharness
|
||||||
[disconnect() called during getCharacteristics. Reject with NetworkError.]
|
[disconnect() called during getCharacteristics. Reject with NetworkError.]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -2,3 +2,4 @@
|
||||||
type: testharness
|
type: testharness
|
||||||
[disconnect() called during getCharacteristics. Reject with NetworkError.]
|
[disconnect() called during getCharacteristics. Reject with NetworkError.]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -2,3 +2,4 @@
|
||||||
type: testharness
|
type: testharness
|
||||||
[Device goes out of range. Reject with NetworkError.]
|
[Device goes out of range. Reject with NetworkError.]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -2,3 +2,4 @@
|
||||||
type: testharness
|
type: testharness
|
||||||
[disconnect() called during getDescriptor. Reject with NetworkError.]
|
[disconnect() called during getDescriptor. Reject with NetworkError.]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -2,3 +2,4 @@
|
||||||
type: testharness
|
type: testharness
|
||||||
[Device goes out of range. Reject with NetworkError.]
|
[Device goes out of range. Reject with NetworkError.]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -2,3 +2,4 @@
|
||||||
type: testharness
|
type: testharness
|
||||||
[Device goes out of range. Reject with NetworkError.]
|
[Device goes out of range. Reject with NetworkError.]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -2,3 +2,4 @@
|
||||||
type: testharness
|
type: testharness
|
||||||
[disconnect() called during getDescriptors. Reject with NetworkError.]
|
[disconnect() called during getDescriptors. Reject with NetworkError.]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -2,3 +2,4 @@
|
||||||
type: testharness
|
type: testharness
|
||||||
[disconnect() called during getDescriptors. Reject with NetworkError.]
|
[disconnect() called during getDescriptors. Reject with NetworkError.]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -2,3 +2,4 @@
|
||||||
type: testharness
|
type: testharness
|
||||||
[Device goes out of range. Reject with NetworkError.]
|
[Device goes out of range. Reject with NetworkError.]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -2,3 +2,4 @@
|
||||||
type: testharness
|
type: testharness
|
||||||
[disconnect() called during getPrimaryService. Reject with NetworkError.]
|
[disconnect() called during getPrimaryService. Reject with NetworkError.]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -2,3 +2,4 @@
|
||||||
type: testharness
|
type: testharness
|
||||||
[Device goes out of range. Reject with NetworkError.]
|
[Device goes out of range. Reject with NetworkError.]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -2,3 +2,4 @@
|
||||||
type: testharness
|
type: testharness
|
||||||
[Device goes out of range. Reject with NetworkError.]
|
[Device goes out of range. Reject with NetworkError.]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -2,3 +2,4 @@
|
||||||
type: testharness
|
type: testharness
|
||||||
[disconnect() called during getPrimaryServices. Reject with NetworkError.]
|
[disconnect() called during getPrimaryServices. Reject with NetworkError.]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -2,3 +2,4 @@
|
||||||
type: testharness
|
type: testharness
|
||||||
[disconnect() called during getPrimaryServices. Reject with NetworkError.]
|
[disconnect() called during getPrimaryServices. Reject with NetworkError.]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -2,3 +2,4 @@
|
||||||
type: testharness
|
type: testharness
|
||||||
[Device goes out of range. Reject with NetworkError.]
|
[Device goes out of range. Reject with NetworkError.]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -2,3 +2,4 @@
|
||||||
type: testharness
|
type: testharness
|
||||||
[Device goes out of range. Reject with NetworkError.]
|
[Device goes out of range. Reject with NetworkError.]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -2,3 +2,4 @@
|
||||||
type: testharness
|
type: testharness
|
||||||
[Device goes out of range. Reject with NetworkError.]
|
[Device goes out of range. Reject with NetworkError.]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -2,3 +2,4 @@
|
||||||
type: testharness
|
type: testharness
|
||||||
[Device goes out of range. Reject with NetworkError.]
|
[Device goes out of range. Reject with NetworkError.]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
[mime_sniffing_font_context.html]
|
|
||||||
type: testharness
|
|
Loading…
Add table
Add a link
Reference in a new issue