From 05bef140bfe39ee49147230169800ce3b23704eb Mon Sep 17 00:00:00 2001 From: csmoe Date: Tue, 7 May 2019 16:11:45 +0800 Subject: [PATCH] Implement worker origin member of WorkerLocation --- .../script/dom/webidls/WorkerLocation.webidl | 2 +- components/script/dom/workerlocation.rs | 13 +++++- .../FileAPI/url/url-format.any.js.ini | 6 --- .../FileAPI/url/url-with-fetch.any.js.ini | 3 ++ .../floats-in-table-caption-001.html.ini | 2 - ...bspos-float-with-inline-container.html.ini | 2 +- .../css/CSS2/text/white-space-002.xht.ini | 2 + .../css/CSS2/text/white-space-003.xht.ini | 2 + .../css/CSS2/visudet/line-height-204.html.ini | 2 + .../mix-blend-mode-paragraph.html.ini | 2 + .../background-repeat-round-roundup.xht.ini | 2 + .../at-font-face-font-matching.html.ini | 3 -- .../line-break/line-break-normal-018.xht.ini | 2 - .../line-break/line-break-strict-018.xht.ini | 2 - ...text-transform-full-size-kana-001.html.ini | 2 - ...text-transform-full-size-kana-002.html.ini | 2 - ...text-transform-full-size-kana-003.html.ini | 2 - ...text-transform-full-size-kana-004.html.ini | 2 - .../trailing-ideographic-space-004.html.ini | 2 - .../word-break-break-all-007.html.ini | 2 + .../word-break-keep-all-006.html.ini | 2 + ...nsforms-3d-on-anonymous-block-001.html.ini | 2 + ...nsitions-animatable-properties-01.html.ini | 3 -- .../reactions/HTMLMediaElement.html.ini | 13 ------ .../api/basic/request-headers.any.js.ini | 42 ------------------- .../api/cors/cors-cookies-redirect.any.js.ini | 12 ------ .../fetch/api/cors/cors-cookies.any.js.ini | 15 ------- .../api/cors/cors-expose-star.sub.any.js.ini | 3 -- .../api/cors/cors-preflight-star.any.js.ini | 6 --- .../fetch/api/cors/cors-redirect.any.js.ini | 30 ------------- .../fetch/content-type/response.window.js.ini | 15 ++----- .../nosniff/parsing-nosniff.window.js.ini | 3 ++ ...s-negative-innerwidth-innerheight.html.ini | 19 --------- ...features-negative-screenx-screeny.html.ini | 19 --------- .../open-features-negative-top-left.html.ini | 19 --------- ...en-features-negative-width-height.html.ini | 19 --------- .../open-features-non-integer-height.html.ini | 34 ++++----------- ...-features-non-integer-innerheight.html.ini | 28 ++++--------- ...n-features-non-integer-innerwidth.html.ini | 28 ++++--------- .../open-features-non-integer-left.html.ini | 28 ++++--------- ...open-features-non-integer-screenx.html.ini | 28 ++++--------- ...open-features-non-integer-screeny.html.ini | 28 ++++--------- .../open-features-non-integer-top.html.ini | 28 ++++--------- .../open-features-non-integer-width.html.ini | 34 ++++----------- .../html/dom/interfaces.worker.js.ini | 3 -- .../non-active-document.html.ini | 10 +++++ .../the-details-element/toggleEvent.html.ini | 7 ---- .../promise-rejection-events-onerror.html.ini | 5 +++ .../promise-rejection-events.html.ini | 4 -- ...rce_timing_buffer_full_eventually.html.ini | 2 + .../Create-on-worker-shutdown.any.js.ini | 11 ----- .../WorkerLocation-origin.sub.window.js.ini | 5 --- tests/wpt/metadata/workers/data-url.html.ini | 3 -- .../metadata/workers/interfaces.worker.js.ini | 28 +++++++++---- .../semantics/run-a-worker/003.html.ini | 1 - .../css/transition_calc_implicit.html.ini | 2 + .../mozilla/task_queue_throttling.any.js.ini | 6 +++ 57 files changed, 157 insertions(+), 445 deletions(-) delete mode 100644 tests/wpt/metadata/css/CSS2/floats/floats-in-table-caption-001.html.ini create mode 100644 tests/wpt/metadata/css/CSS2/text/white-space-002.xht.ini create mode 100644 tests/wpt/metadata/css/CSS2/text/white-space-003.xht.ini create mode 100644 tests/wpt/metadata/css/CSS2/visudet/line-height-204.html.ini create mode 100644 tests/wpt/metadata/css/compositing/mix-blend-mode/mix-blend-mode-paragraph.html.ini create mode 100644 tests/wpt/metadata/css/css-backgrounds/background-repeat/background-repeat-round-roundup.xht.ini delete mode 100644 tests/wpt/metadata/css/css-text/line-break/line-break-normal-018.xht.ini delete mode 100644 tests/wpt/metadata/css/css-text/line-break/line-break-strict-018.xht.ini delete mode 100644 tests/wpt/metadata/css/css-text/text-transform/text-transform-full-size-kana-001.html.ini delete mode 100644 tests/wpt/metadata/css/css-text/text-transform/text-transform-full-size-kana-002.html.ini delete mode 100644 tests/wpt/metadata/css/css-text/text-transform/text-transform-full-size-kana-003.html.ini delete mode 100644 tests/wpt/metadata/css/css-text/text-transform/text-transform-full-size-kana-004.html.ini delete mode 100644 tests/wpt/metadata/css/css-text/white-space/trailing-ideographic-space-004.html.ini create mode 100644 tests/wpt/metadata/css/css-text/word-break/word-break-break-all-007.html.ini create mode 100644 tests/wpt/metadata/css/css-text/word-break/word-break-keep-all-006.html.ini create mode 100644 tests/wpt/metadata/css/css-transforms/css-transforms-3d-on-anonymous-block-001.html.ini create mode 100644 tests/wpt/metadata/html/semantics/embedded-content/the-img-element/non-active-document.html.ini delete mode 100644 tests/wpt/metadata/html/semantics/interactive-elements/the-details-element/toggleEvent.html.ini create mode 100644 tests/wpt/metadata/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-events-onerror.html.ini create mode 100644 tests/wpt/metadata/resource-timing/resource_timing_buffer_full_eventually.html.ini delete mode 100644 tests/wpt/metadata/websockets/Create-on-worker-shutdown.any.js.ini delete mode 100644 tests/wpt/metadata/workers/WorkerLocation-origin.sub.window.js.ini create mode 100644 tests/wpt/mozilla/meta/css/transition_calc_implicit.html.ini create mode 100644 tests/wpt/mozilla/meta/mozilla/task_queue_throttling.any.js.ini diff --git a/components/script/dom/webidls/WorkerLocation.webidl b/components/script/dom/webidls/WorkerLocation.webidl index 4a22c5e82e3..faaf10932bc 100644 --- a/components/script/dom/webidls/WorkerLocation.webidl +++ b/components/script/dom/webidls/WorkerLocation.webidl @@ -6,7 +6,7 @@ [Exposed=Worker] interface WorkerLocation { /*stringifier*/ readonly attribute USVString href; - // readonly attribute USVString origin; + readonly attribute USVString origin; readonly attribute USVString protocol; readonly attribute USVString host; readonly attribute USVString hostname; diff --git a/components/script/dom/workerlocation.rs b/components/script/dom/workerlocation.rs index 8d988fafea8..483cb69c084 100644 --- a/components/script/dom/workerlocation.rs +++ b/components/script/dom/workerlocation.rs @@ -10,7 +10,7 @@ use crate::dom::bindings::str::{DOMString, USVString}; use crate::dom::urlhelper::UrlHelper; use crate::dom::workerglobalscope::WorkerGlobalScope; use dom_struct::dom_struct; -use servo_url::ServoUrl; +use servo_url::{ImmutableOrigin, ServoUrl}; // https://html.spec.whatwg.org/multipage/#worker-locations #[dom_struct] @@ -34,6 +34,12 @@ impl WorkerLocation { WorkerLocationBinding::Wrap, ) } + + // https://html.spec.whatwg.org/multipage/#dom-workerlocation-origin + #[allow(dead_code)] + pub fn origin(&self) -> ImmutableOrigin { + self.url.origin() + } } impl WorkerLocationMethods for WorkerLocation { @@ -57,6 +63,11 @@ impl WorkerLocationMethods for WorkerLocation { UrlHelper::Href(&self.url) } + // https://html.spec.whatwg.org/multipage/#dom-workerlocation-origin + fn Origin(&self) -> USVString { + UrlHelper::Origin(&self.url) + } + // https://html.spec.whatwg.org/multipage/#dom-workerlocation-pathname fn Pathname(&self) -> USVString { UrlHelper::Pathname(&self.url) diff --git a/tests/wpt/metadata/FileAPI/url/url-format.any.js.ini b/tests/wpt/metadata/FileAPI/url/url-format.any.js.ini index acfedd65ed0..d7305ce3f96 100644 --- a/tests/wpt/metadata/FileAPI/url/url-format.any.js.ini +++ b/tests/wpt/metadata/FileAPI/url/url-format.any.js.ini @@ -2,15 +2,9 @@ [Generated Blob URLs are unique] expected: FAIL - [Origin of Blob URL matches our origin] - expected: FAIL - [Blob URL parses correctly] expected: FAIL - [Origin of Blob URL matches our origin for Files] - expected: FAIL - [url-format.any.html] [Generated Blob URLs are unique] diff --git a/tests/wpt/metadata/FileAPI/url/url-with-fetch.any.js.ini b/tests/wpt/metadata/FileAPI/url/url-with-fetch.any.js.ini index 3b874fc1748..3a3d15b8406 100644 --- a/tests/wpt/metadata/FileAPI/url/url-with-fetch.any.js.ini +++ b/tests/wpt/metadata/FileAPI/url/url-with-fetch.any.js.ini @@ -14,6 +14,9 @@ [Revoke blob URL after creating Request, will fetch] expected: FAIL + [Revoke blob URL after calling fetch, fetch should succeed] + expected: FAIL + [url-with-fetch.any.html] [Untitled] diff --git a/tests/wpt/metadata/css/CSS2/floats/floats-in-table-caption-001.html.ini b/tests/wpt/metadata/css/CSS2/floats/floats-in-table-caption-001.html.ini deleted file mode 100644 index 86715ffc9c2..00000000000 --- a/tests/wpt/metadata/css/CSS2/floats/floats-in-table-caption-001.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[floats-in-table-caption-001.html] - expected: FAIL diff --git a/tests/wpt/metadata/css/CSS2/positioning/abspos-float-with-inline-container.html.ini b/tests/wpt/metadata/css/CSS2/positioning/abspos-float-with-inline-container.html.ini index 3f98bb1fa20..7203ab0404c 100644 --- a/tests/wpt/metadata/css/CSS2/positioning/abspos-float-with-inline-container.html.ini +++ b/tests/wpt/metadata/css/CSS2/positioning/abspos-float-with-inline-container.html.ini @@ -1,2 +1,2 @@ [abspos-float-with-inline-container.html] - expected: FAIL + expected: TIMEOUT diff --git a/tests/wpt/metadata/css/CSS2/text/white-space-002.xht.ini b/tests/wpt/metadata/css/CSS2/text/white-space-002.xht.ini new file mode 100644 index 00000000000..b1d1b14db72 --- /dev/null +++ b/tests/wpt/metadata/css/CSS2/text/white-space-002.xht.ini @@ -0,0 +1,2 @@ +[white-space-002.xht] + expected: FAIL diff --git a/tests/wpt/metadata/css/CSS2/text/white-space-003.xht.ini b/tests/wpt/metadata/css/CSS2/text/white-space-003.xht.ini new file mode 100644 index 00000000000..182a9fc2d1e --- /dev/null +++ b/tests/wpt/metadata/css/CSS2/text/white-space-003.xht.ini @@ -0,0 +1,2 @@ +[white-space-003.xht] + expected: FAIL diff --git a/tests/wpt/metadata/css/CSS2/visudet/line-height-204.html.ini b/tests/wpt/metadata/css/CSS2/visudet/line-height-204.html.ini new file mode 100644 index 00000000000..3d28990c283 --- /dev/null +++ b/tests/wpt/metadata/css/CSS2/visudet/line-height-204.html.ini @@ -0,0 +1,2 @@ +[line-height-204.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/compositing/mix-blend-mode/mix-blend-mode-paragraph.html.ini b/tests/wpt/metadata/css/compositing/mix-blend-mode/mix-blend-mode-paragraph.html.ini new file mode 100644 index 00000000000..fb5b6fd0006 --- /dev/null +++ b/tests/wpt/metadata/css/compositing/mix-blend-mode/mix-blend-mode-paragraph.html.ini @@ -0,0 +1,2 @@ +[mix-blend-mode-paragraph.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-backgrounds/background-repeat/background-repeat-round-roundup.xht.ini b/tests/wpt/metadata/css/css-backgrounds/background-repeat/background-repeat-round-roundup.xht.ini new file mode 100644 index 00000000000..f20284a5396 --- /dev/null +++ b/tests/wpt/metadata/css/css-backgrounds/background-repeat/background-repeat-round-roundup.xht.ini @@ -0,0 +1,2 @@ +[background-repeat-round-roundup.xht] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-fonts/variations/at-font-face-font-matching.html.ini b/tests/wpt/metadata/css/css-fonts/variations/at-font-face-font-matching.html.ini index aff9a22bf9c..ebbf8d32baf 100644 --- a/tests/wpt/metadata/css/css-fonts/variations/at-font-face-font-matching.html.ini +++ b/tests/wpt/metadata/css/css-fonts/variations/at-font-face-font-matching.html.ini @@ -299,9 +299,6 @@ [Matching font-stretch: '110%' should prefer '105%' over '100%'] expected: FAIL - [Matching font-style: 'oblique 0deg' should prefer 'oblique 30deg 60deg' over 'oblique 40deg 50deg'] - expected: FAIL - [Matching font-weight: '400' should prefer '351 398' over '501 550'] expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/line-break/line-break-normal-018.xht.ini b/tests/wpt/metadata/css/css-text/line-break/line-break-normal-018.xht.ini deleted file mode 100644 index 693999d7f9d..00000000000 --- a/tests/wpt/metadata/css/css-text/line-break/line-break-normal-018.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[line-break-normal-018.xht] - expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/line-break/line-break-strict-018.xht.ini b/tests/wpt/metadata/css/css-text/line-break/line-break-strict-018.xht.ini deleted file mode 100644 index bd79bd226f9..00000000000 --- a/tests/wpt/metadata/css/css-text/line-break/line-break-strict-018.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[line-break-strict-018.xht] - expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/text-transform/text-transform-full-size-kana-001.html.ini b/tests/wpt/metadata/css/css-text/text-transform/text-transform-full-size-kana-001.html.ini deleted file mode 100644 index ded993140eb..00000000000 --- a/tests/wpt/metadata/css/css-text/text-transform/text-transform-full-size-kana-001.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-transform-full-size-kana-001.html] - expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/text-transform/text-transform-full-size-kana-002.html.ini b/tests/wpt/metadata/css/css-text/text-transform/text-transform-full-size-kana-002.html.ini deleted file mode 100644 index 047905d059b..00000000000 --- a/tests/wpt/metadata/css/css-text/text-transform/text-transform-full-size-kana-002.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-transform-full-size-kana-002.html] - expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/text-transform/text-transform-full-size-kana-003.html.ini b/tests/wpt/metadata/css/css-text/text-transform/text-transform-full-size-kana-003.html.ini deleted file mode 100644 index 7e9e3e15a50..00000000000 --- a/tests/wpt/metadata/css/css-text/text-transform/text-transform-full-size-kana-003.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-transform-full-size-kana-003.html] - expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/text-transform/text-transform-full-size-kana-004.html.ini b/tests/wpt/metadata/css/css-text/text-transform/text-transform-full-size-kana-004.html.ini deleted file mode 100644 index f90c86d0e3d..00000000000 --- a/tests/wpt/metadata/css/css-text/text-transform/text-transform-full-size-kana-004.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-transform-full-size-kana-004.html] - expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/white-space/trailing-ideographic-space-004.html.ini b/tests/wpt/metadata/css/css-text/white-space/trailing-ideographic-space-004.html.ini deleted file mode 100644 index 240d1283c3a..00000000000 --- a/tests/wpt/metadata/css/css-text/white-space/trailing-ideographic-space-004.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[trailing-ideographic-space-004.html] - expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/word-break/word-break-break-all-007.html.ini b/tests/wpt/metadata/css/css-text/word-break/word-break-break-all-007.html.ini new file mode 100644 index 00000000000..192f64b0826 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/word-break/word-break-break-all-007.html.ini @@ -0,0 +1,2 @@ +[word-break-break-all-007.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/word-break/word-break-keep-all-006.html.ini b/tests/wpt/metadata/css/css-text/word-break/word-break-keep-all-006.html.ini new file mode 100644 index 00000000000..3a512b4a124 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/word-break/word-break-keep-all-006.html.ini @@ -0,0 +1,2 @@ +[word-break-keep-all-006.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-transforms/css-transforms-3d-on-anonymous-block-001.html.ini b/tests/wpt/metadata/css/css-transforms/css-transforms-3d-on-anonymous-block-001.html.ini new file mode 100644 index 00000000000..bbb2e5f171e --- /dev/null +++ b/tests/wpt/metadata/css/css-transforms/css-transforms-3d-on-anonymous-block-001.html.ini @@ -0,0 +1,2 @@ +[css-transforms-3d-on-anonymous-block-001.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-transitions/transitions-animatable-properties-01.html.ini b/tests/wpt/metadata/css/css-transitions/transitions-animatable-properties-01.html.ini index a100b281453..8850ec200da 100644 --- a/tests/wpt/metadata/css/css-transitions/transitions-animatable-properties-01.html.ini +++ b/tests/wpt/metadata/css/css-transitions/transitions-animatable-properties-01.html.ini @@ -74,6 +74,3 @@ [opacity end] expected: FAIL - [border-bottom-width end] - expected: FAIL - diff --git a/tests/wpt/metadata/custom-elements/reactions/HTMLMediaElement.html.ini b/tests/wpt/metadata/custom-elements/reactions/HTMLMediaElement.html.ini index 5b1403c4bc5..0cf2d49505a 100644 --- a/tests/wpt/metadata/custom-elements/reactions/HTMLMediaElement.html.ini +++ b/tests/wpt/metadata/custom-elements/reactions/HTMLMediaElement.html.ini @@ -1,26 +1,13 @@ [HTMLMediaElement.html] - expected: CRASH [controls on HTMLMediaElement in video must enqueue an attributeChanged reaction when replacing an existing attribute] expected: FAIL - [crossOrigin on HTMLMediaElement in video must enqueue an attributeChanged reaction when replacing an existing attribute] - expected: FAIL - [controls on HTMLMediaElement in video must enqueue an attributeChanged reaction when adding a new attribute] expected: FAIL - [crossOrigin on HTMLMediaElement in audio must enqueue an attributeChanged reaction when adding a new attribute] - expected: FAIL - - [crossOrigin on HTMLMediaElement in video must enqueue an attributeChanged reaction when adding a new attribute] - expected: FAIL - [controls on HTMLMediaElement in audio must enqueue an attributeChanged reaction when replacing an existing attribute] expected: FAIL - [crossOrigin on HTMLMediaElement in audio must enqueue an attributeChanged reaction when replacing an existing attribute] - expected: FAIL - [controls on HTMLMediaElement in audio must enqueue an attributeChanged reaction when adding a new attribute] expected: FAIL diff --git a/tests/wpt/metadata/fetch/api/basic/request-headers.any.js.ini b/tests/wpt/metadata/fetch/api/basic/request-headers.any.js.ini index ec789b02d0b..b60fcf744cf 100644 --- a/tests/wpt/metadata/fetch/api/basic/request-headers.any.js.ini +++ b/tests/wpt/metadata/fetch/api/basic/request-headers.any.js.ini @@ -24,15 +24,9 @@ [request-headers.any.worker.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 @@ -42,27 +36,6 @@ [Fetch with POST with URLSearchParams body] expected: FAIL - [Fetch with POST with Blob body] - expected: FAIL - - [Fetch with POST with ArrayBuffer body] - expected: FAIL - - [Fetch with POST with Uint8Array body] - expected: FAIL - - [Fetch with POST with Int8Array body] - expected: FAIL - - [Fetch with POST with Float32Array body] - expected: FAIL - - [Fetch with POST with Float64Array body] - expected: FAIL - - [Fetch with POST with DataView body] - expected: FAIL - [Fetch with POST with Blob body with mime type] expected: FAIL @@ -72,18 +45,3 @@ [Fetch with Chicken with 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 - - [Fetch with TacO and mode "cors" needs an Origin header] - expected: FAIL - diff --git a/tests/wpt/metadata/fetch/api/cors/cors-cookies-redirect.any.js.ini b/tests/wpt/metadata/fetch/api/cors/cors-cookies-redirect.any.js.ini index 016ba7b482d..e741b7a8478 100644 --- a/tests/wpt/metadata/fetch/api/cors/cors-cookies-redirect.any.js.ini +++ b/tests/wpt/metadata/fetch/api/cors/cors-cookies-redirect.any.js.ini @@ -4,18 +4,6 @@ [cors-cookies-redirect] expected: FAIL - [Set cookies] - expected: FAIL - [Testing credentials after cross-origin redirection with CORS and no preflight] - expected: FAIL - [Testing credentials after cross-origin redirection with CORS and preflight] - expected: FAIL - [Clean cookies] - expected: FAIL - [Testing credentials after cross-origin redirection with CORS and no preflight] - expected: FAIL - [Testing credentials after cross-origin redirection with CORS and preflight] - expected: FAIL [cors-cookies-redirect.any.html] diff --git a/tests/wpt/metadata/fetch/api/cors/cors-cookies.any.js.ini b/tests/wpt/metadata/fetch/api/cors/cors-cookies.any.js.ini index ef83bd38240..ccbcd99802d 100644 --- a/tests/wpt/metadata/fetch/api/cors/cors-cookies.any.js.ini +++ b/tests/wpt/metadata/fetch/api/cors/cors-cookies.any.js.ini @@ -9,30 +9,15 @@ [cors-cookies.any.worker.html] type: testharness - [Include mode: 1 cookie] - expected: FAIL - [Include mode: local cookies are not sent with remote request] 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 - - [Include mode: 1 cookie] - 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 - - [Include mode: remote cookies are not sent with other remote request] - expected: FAIL - [Include mode: local cookies are not sent with remote request] expected: FAIL diff --git a/tests/wpt/metadata/fetch/api/cors/cors-expose-star.sub.any.js.ini b/tests/wpt/metadata/fetch/api/cors/cors-expose-star.sub.any.js.ini index 8dc0bd71abf..9b247bfeb2e 100644 --- a/tests/wpt/metadata/fetch/api/cors/cors-expose-star.sub.any.js.ini +++ b/tests/wpt/metadata/fetch/api/cors/cors-expose-star.sub.any.js.ini @@ -10,9 +10,6 @@ [Basic Access-Control-Expose-Headers: * support] expected: FAIL - [* for credentialed fetches only matches literally] - expected: FAIL - [* can be one of several values] expected: FAIL diff --git a/tests/wpt/metadata/fetch/api/cors/cors-preflight-star.any.js.ini b/tests/wpt/metadata/fetch/api/cors/cors-preflight-star.any.js.ini index 775b548a45d..894e0037e36 100644 --- a/tests/wpt/metadata/fetch/api/cors/cors-preflight-star.any.js.ini +++ b/tests/wpt/metadata/fetch/api/cors/cors-preflight-star.any.js.ini @@ -12,15 +12,9 @@ [cors-preflight-star.any.worker.html] type: testharness - [CORS that succeeds with credentials: false; method: SUPER (allowed: *); header: X-Test,1 (allowed: x-test)] - expected: FAIL - [CORS that succeeds with credentials: false; method: OK (allowed: *); header: X-Test,1 (allowed: *)] expected: FAIL - [CORS that succeeds with credentials: false; method: GET (allowed: get); header: X-Test,1 (allowed: x-test)] - expected: FAIL - [CORS that succeeds with credentials: true; method: PUT (allowed: PUT); header: (allowed: *)] expected: FAIL diff --git a/tests/wpt/metadata/fetch/api/cors/cors-redirect.any.js.ini b/tests/wpt/metadata/fetch/api/cors/cors-redirect.any.js.ini index ec50a061be3..754ec2f4631 100644 --- a/tests/wpt/metadata/fetch/api/cors/cors-redirect.any.js.ini +++ b/tests/wpt/metadata/fetch/api/cors/cors-redirect.any.js.ini @@ -1,35 +1,5 @@ [cors-redirect.any.worker.html] type: testharness - [Redirect 301: cors to same cors] - expected: FAIL - - [Redirect 301: same origin to cors] - expected: FAIL - - [Redirect 302: cors to same cors] - expected: FAIL - - [Redirect 302: same origin to cors] - expected: FAIL - - [Redirect 303: cors to same cors] - expected: FAIL - - [Redirect 303: same origin to cors] - expected: FAIL - - [Redirect 307: cors to same cors] - expected: FAIL - - [Redirect 307: same origin to cors] - expected: FAIL - - [Redirect 308: cors to same cors] - expected: FAIL - - [Redirect 308: same origin to cors] - expected: FAIL - [cors-redirect] expected: FAIL diff --git a/tests/wpt/metadata/fetch/content-type/response.window.js.ini b/tests/wpt/metadata/fetch/content-type/response.window.js.ini index 7e6d8c570d1..805a46f5b9f 100644 --- a/tests/wpt/metadata/fetch/content-type/response.window.js.ini +++ b/tests/wpt/metadata/fetch/content-type/response.window.js.ini @@ -312,21 +312,12 @@ [