From 88a0265c00d9e1c4509a54275709a3c0c7d867b3 Mon Sep 17 00:00:00 2001 From: Anthony Ramine Date: Fri, 27 Apr 2018 11:19:07 +0200 Subject: [PATCH 1/3] Move around WindowOrWorkerGlobalScope methods --- components/script/dom/webidls/Window.webidl | 22 ------------------- .../webidls/WindowOrWorkerGlobalScope.webidl | 17 +++++++++----- .../dom/webidls/WorkerGlobalScope.webidl | 2 -- 3 files changed, 11 insertions(+), 30 deletions(-) diff --git a/components/script/dom/webidls/Window.webidl b/components/script/dom/webidls/Window.webidl index a0eca687386..034684c1744 100644 --- a/components/script/dom/webidls/Window.webidl +++ b/components/script/dom/webidls/Window.webidl @@ -75,28 +75,6 @@ Window implements WindowEventHandlers; [NoInterfaceObject] interface WindowProxy {}; -// https://html.spec.whatwg.org/multipage/#timers -[NoInterfaceObject, Exposed=(Window,Worker)] -interface WindowTimers { - long setTimeout(Function handler, optional long timeout = 0, any... arguments); - long setTimeout(DOMString handler, optional long timeout = 0, any... arguments); - void clearTimeout(optional long handle = 0); - long setInterval(Function handler, optional long timeout = 0, any... arguments); - long setInterval(DOMString handler, optional long timeout = 0, any... arguments); - void clearInterval(optional long handle = 0); -}; -Window implements WindowTimers; - -// https://html.spec.whatwg.org/multipage/#atob -[NoInterfaceObject, Exposed=(Window,Worker)] -interface WindowBase64 { - [Throws] - DOMString btoa(DOMString btoa); - [Throws] - DOMString atob(DOMString atob); -}; -Window implements WindowBase64; - // https://html.spec.whatwg.org/multipage/#Window-partial partial interface Window { void captureEvents(); diff --git a/components/script/dom/webidls/WindowOrWorkerGlobalScope.webidl b/components/script/dom/webidls/WindowOrWorkerGlobalScope.webidl index c7dac1de003..bd57b80e20d 100644 --- a/components/script/dom/webidls/WindowOrWorkerGlobalScope.webidl +++ b/components/script/dom/webidls/WindowOrWorkerGlobalScope.webidl @@ -4,6 +4,7 @@ // https://html.spec.whatwg.org/multipage/#windoworworkerglobalscope +// FIXME(nox): https://github.com/servo/servo/issues/20700 // typedef (DOMString or Function) TimerHandler; [NoInterfaceObject, Exposed=(Window,Worker)] @@ -11,14 +12,18 @@ interface WindowOrWorkerGlobalScope { // [Replaceable] readonly attribute USVString origin; // base64 utility methods - // DOMString btoa(DOMString data); - // DOMString atob(DOMString data); + [Throws] DOMString btoa(DOMString data); + [Throws] DOMString atob(DOMString data); // timers - // long setTimeout(TimerHandler handler, optional long timeout = 0, any... arguments); - // void clearTimeout(optional long handle = 0); - // long setInterval(TimerHandler handler, optional long timeout = 0, any... arguments); - // void clearInterval(optional long handle = 0); + // FIXME(nox): https://github.com/servo/servo/issues/20700 + long setTimeout(Function handler, optional long timeout = 0, any... arguments); + long setTimeout(DOMString handler, optional long timeout = 0, any... arguments); + void clearTimeout(optional long handle = 0); + // FIXME(nox): https://github.com/servo/servo/issues/20700 + long setInterval(Function handler, optional long timeout = 0, any... arguments); + long setInterval(DOMString handler, optional long timeout = 0, any... arguments); + void clearInterval(optional long handle = 0); // ImageBitmap // Promise createImageBitmap(ImageBitmapSource image, optional ImageBitmapOptions options); diff --git a/components/script/dom/webidls/WorkerGlobalScope.webidl b/components/script/dom/webidls/WorkerGlobalScope.webidl index dcdd2957d43..7d857fdf6c1 100644 --- a/components/script/dom/webidls/WorkerGlobalScope.webidl +++ b/components/script/dom/webidls/WorkerGlobalScope.webidl @@ -22,5 +22,3 @@ partial interface WorkerGlobalScope { // not obsolete void importScripts(DOMString... urls); readonly attribute WorkerNavigator navigator; }; -WorkerGlobalScope implements WindowTimers; -WorkerGlobalScope implements WindowBase64; From 73b5bf201f47d831e90546bdec4f5664bad44e0c Mon Sep 17 00:00:00 2001 From: Anthony Ramine Date: Fri, 27 Apr 2018 11:29:47 +0200 Subject: [PATCH 2/3] Implement WindowOrWorkerGlobalScope.origin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The test document_domain_setter.html now fails, but AFAIK the origin comparison can never be true (document.origin is the unprefixed domain, while the loaded iframe is from www1.…), and that test fails in all major browsers because of security exceptions anyway. --- .../dom/webidls/WindowOrWorkerGlobalScope.webidl | 2 +- components/script/dom/window.rs | 7 ++++++- components/script/dom/workerglobalscope.rs | 7 ++++++- .../document_domain_setter.html.ini | 4 ++++ tests/wpt/metadata/html/dom/interfaces.https.html.ini | 6 ------ tests/wpt/metadata/html/dom/self-origin.any.js.ini | 11 ----------- tests/wpt/metadata/workers/interfaces.worker.js.ini | 2 +- 7 files changed, 18 insertions(+), 21 deletions(-) create mode 100644 tests/wpt/metadata/html/browsers/origin/relaxing-the-same-origin-restriction/document_domain_setter.html.ini delete mode 100644 tests/wpt/metadata/html/dom/self-origin.any.js.ini diff --git a/components/script/dom/webidls/WindowOrWorkerGlobalScope.webidl b/components/script/dom/webidls/WindowOrWorkerGlobalScope.webidl index bd57b80e20d..56fc0cc44d7 100644 --- a/components/script/dom/webidls/WindowOrWorkerGlobalScope.webidl +++ b/components/script/dom/webidls/WindowOrWorkerGlobalScope.webidl @@ -9,7 +9,7 @@ [NoInterfaceObject, Exposed=(Window,Worker)] interface WindowOrWorkerGlobalScope { - // [Replaceable] readonly attribute USVString origin; + [Replaceable] readonly attribute USVString origin; // base64 utility methods [Throws] DOMString btoa(DOMString data); diff --git a/components/script/dom/window.rs b/components/script/dom/window.rs index d0270aae9d1..3a672291e8d 100644 --- a/components/script/dom/window.rs +++ b/components/script/dom/window.rs @@ -22,7 +22,7 @@ use dom::bindings::num::Finite; use dom::bindings::refcounted::Trusted; use dom::bindings::reflector::DomObject; use dom::bindings::root::{Dom, DomRoot, MutNullableDom}; -use dom::bindings::str::DOMString; +use dom::bindings::str::{DOMString, USVString}; use dom::bindings::structuredclone::StructuredCloneData; use dom::bindings::trace::RootedTraceableBox; use dom::bindings::utils::{GlobalStaticData, WindowProxyHandler}; @@ -1038,6 +1038,11 @@ impl WindowMethods for Window { fn Name(&self) -> DOMString { self.window_proxy().get_name() } + + // https://html.spec.whatwg.org/multipage/#dom-origin + fn Origin(&self) -> USVString { + USVString(self.origin().immutable().ascii_serialization()) + } } impl Window { diff --git a/components/script/dom/workerglobalscope.rs b/components/script/dom/workerglobalscope.rs index 6993e2af4c5..0f9924253aa 100644 --- a/components/script/dom/workerglobalscope.rs +++ b/components/script/dom/workerglobalscope.rs @@ -12,7 +12,7 @@ use dom::bindings::inheritance::Castable; use dom::bindings::reflector::DomObject; use dom::bindings::root::{DomRoot, MutNullableDom}; use dom::bindings::settings_stack::AutoEntryScript; -use dom::bindings::str::DOMString; +use dom::bindings::str::{DOMString, USVString}; use dom::bindings::trace::RootedTraceableBox; use dom::crypto::Crypto; use dom::dedicatedworkerglobalscope::DedicatedWorkerGlobalScope; @@ -328,6 +328,11 @@ impl WorkerGlobalScopeMethods for WorkerGlobalScope { self.navigation_start_precise) }) } + + // https://html.spec.whatwg.org/multipage/#dom-origin + fn Origin(&self) -> USVString { + USVString(self.upcast::().origin().immutable().ascii_serialization()) + } } diff --git a/tests/wpt/metadata/html/browsers/origin/relaxing-the-same-origin-restriction/document_domain_setter.html.ini b/tests/wpt/metadata/html/browsers/origin/relaxing-the-same-origin-restriction/document_domain_setter.html.ini new file mode 100644 index 00000000000..49f6d6d189a --- /dev/null +++ b/tests/wpt/metadata/html/browsers/origin/relaxing-the-same-origin-restriction/document_domain_setter.html.ini @@ -0,0 +1,4 @@ +[document_domain_setter.html] + [same-origin-domain iframe] + expected: FAIL + diff --git a/tests/wpt/metadata/html/dom/interfaces.https.html.ini b/tests/wpt/metadata/html/dom/interfaces.https.html.ini index c14ad62a925..4f24459327b 100644 --- a/tests/wpt/metadata/html/dom/interfaces.https.html.ini +++ b/tests/wpt/metadata/html/dom/interfaces.https.html.ini @@ -4973,9 +4973,6 @@ [Window interface: attribute onmessageerror] expected: FAIL - [Window interface: attribute origin] - expected: FAIL - [Window interface: operation createImageBitmap(ImageBitmapSource, ImageBitmapOptions)] expected: FAIL @@ -5075,9 +5072,6 @@ [Window interface: window must inherit property "onmessageerror" with the proper type] expected: FAIL - [Window interface: window must inherit property "origin" with the proper type] - expected: FAIL - [Window interface: window must inherit property "createImageBitmap(ImageBitmapSource, ImageBitmapOptions)" with the proper type] expected: FAIL diff --git a/tests/wpt/metadata/html/dom/self-origin.any.js.ini b/tests/wpt/metadata/html/dom/self-origin.any.js.ini deleted file mode 100644 index 5b8829d9923..00000000000 --- a/tests/wpt/metadata/html/dom/self-origin.any.js.ini +++ /dev/null @@ -1,11 +0,0 @@ -[self-origin.any.worker.html] - type: testharness - [self.origin should be correct] - expected: FAIL - - -[self-origin.any.html] - type: testharness - [self.origin should be correct] - expected: FAIL - diff --git a/tests/wpt/metadata/workers/interfaces.worker.js.ini b/tests/wpt/metadata/workers/interfaces.worker.js.ini index 41824ed7587..b2529dc21cb 100644 --- a/tests/wpt/metadata/workers/interfaces.worker.js.ini +++ b/tests/wpt/metadata/workers/interfaces.worker.js.ini @@ -260,7 +260,7 @@ expected: FAIL [WorkerGlobalScope interface: attribute origin] - expected: FAIL + expected: TIMEOUT [WorkerGlobalScope interface: operation createImageBitmap(ImageBitmapSource, ImageBitmapOptions)] expected: FAIL From 84b40513c3c87d00cfac71bc9a25645ab2ad889c Mon Sep 17 00:00:00 2001 From: WPT Sync Bot Date: Thu, 26 Apr 2018 21:09:36 -0400 Subject: [PATCH 3/3] Update web-platform-tests to revision 4f397167b4ed552a02201c92d363cfaecfe2c7f0 --- tests/wpt/metadata/MANIFEST.json | 471 ++++++++----- .../variations/font-weight-matching.html.ini | 12 +- .../vh_not_refreshing_on_chrome.html.ini | 2 + .../css/cssom/shorthand-values.html.ini | 3 - .../css/geometry/DOMQuad-001.html.ini | 3 + .../css/geometry/DOMRectList.html.ini | 6 + .../api/basic/integrity-sharedworker.html.ini | 5 - .../fetch/api/basic/integrity-worker.html.ini | 20 - .../fetch/api/basic/integrity.html.ini | 20 - .../fetch/api/basic/integrity.sub.any.js.ini | 44 ++ .../api/basic/mode-no-cors-worker.html.ini | 8 - .../fetch/api/basic/mode-no-cors.html.ini | 8 - .../api/basic/mode-no-cors.sub.any.js.ini | 15 + ...mime-types-coverage.tentative.sub.html.ini | 42 ++ ...-return-value-undefined.tentative.html.ini | 3 +- .../FileAPI/historical.https.html | 23 +- .../IndexedDB/historical.html | 14 + .../frame-ancestors-overrides-xfo.html | 2 +- .../shape-image/shape-image-010.html | 2 +- .../circle/shape-outside-circle-027.html | 2 +- .../ellipse/shape-outside-ellipse-015.html | 2 +- .../ellipse/shape-outside-ellipse-017.html | 2 +- .../inset/shape-outside-inset-010.html | 3 +- .../inset/shape-outside-inset-011.html | 1 + .../inset/shape-outside-inset-012.html | 1 + .../inset/shape-outside-inset-013.html | 1 + .../inset/shape-outside-inset-014.html | 1 + .../inset/shape-outside-inset-015.html | 1 + .../inset/shape-outside-inset-028.html | 56 ++ .../inset/shape-outside-inset-029.html | 56 ++ .../css/cssom/overflow-serialization.html | 12 +- .../css/cssom/shorthand-values.html | 2 +- .../css/geometry/DOMQuad-001.html | 20 +- .../css/geometry/DOMRectList.html | 8 +- .../web-platform-tests/dom/historical.html | 2 + .../iso2022jp-encode-href-ascii.html | 72 -- .../euckr-encode-form-errors-hangul.html | 181 ----- .../api/basic/integrity-sharedworker.html | 15 - .../fetch/api/basic/integrity-worker.html | 16 - .../fetch/api/basic/integrity.html | 15 - .../{integrity.js => integrity.sub.any.js} | 6 +- .../fetch/api/basic/mode-no-cors-worker.html | 17 - .../fetch/api/basic/mode-no-cors.html | 16 - ...ode-no-cors.js => mode-no-cors.sub.any.js} | 5 +- .../fetch/api/basic/response-url-worker.html | 15 - .../fetch/api/basic/response-url.html | 13 - ...esponse-url.js => response-url.sub.any.js} | 5 - .../fetch/api/basic/scheme-blob-worker.html | 17 - .../fetch/api/basic/scheme-blob.html | 16 - ...{scheme-blob.js => scheme-blob.sub.any.js} | 5 +- .../fetch/api/basic/scheme-others-worker.html | 17 - .../fetch/api/basic/scheme-others.html | 16 - ...eme-others.js => scheme-others.sub.any.js} | 5 +- .../web-platform-tests/fetch/corb/README.md | 14 +- ...img-mime-types-coverage.tentative.sub.html | 2 +- .../images/wpt-logo/wpt-logo-darkblue-bg.svg | 9 + .../images/wpt-logo/wpt-logo-darkblue.svg | 8 + .../images/wpt-logo/wpt-logo-lightblue-bg.svg | 9 + .../images/wpt-logo/wpt-logo-orange-bg.svg | 9 + .../images/wpt-logo/wpt-logo-white.svg | 8 + .../referrer-policy/generic/common.js | 4 - .../generic/referrer-policy-test-case.js | 2 +- .../resources/idlharness.js | 2 +- .../IdlInterface/test_to_json_operation.html | 2 +- .../resources/testharness.js | 41 +- .../resources/webidl2/.travis.yml | 1 + .../resources/webidl2/CHANGELOG.md | 94 ++- .../resources/webidl2/README.md | 33 +- .../resources/webidl2/lib/webidl2.js | 335 ++++++---- .../resources/webidl2/lib/writer.js | 289 ++++---- .../resources/webidl2/package-lock.json | 621 ++++++++++-------- .../resources/webidl2/package.json | 16 +- .../resources/webidl2/test/invalid.js | 36 +- .../{syntax => invalid}/idl/iterator.widl | 0 .../invalid/idl/no-semicolon-callback.widl | 7 + .../test/invalid/idl/no-semicolon.widl | 7 + .../webidl2/test/invalid/idl/stray-slash.widl | 2 + ...ringconstants.idl => stringconstants.widl} | 0 .../webidl2/test/invalid/json/array.json | 4 +- .../webidl2/test/invalid/json/caller.json | 2 +- .../invalid/json/dict-required-default.json | 2 +- .../webidl2/test/invalid/json/duplicate.json | 4 +- .../webidl2/test/invalid/json/enum.json | 2 +- .../webidl2/test/invalid/json/exception.json | 2 +- .../webidl2/test/invalid/json/iterator.json | 4 + .../test/invalid/json/maplike-1type.json | 4 +- .../webidl2/test/invalid/json/module.json | 2 +- .../invalid/json/no-semicolon-callback.json | 4 + .../test/invalid/json/no-semicolon.json | 4 + .../test/invalid/json/nonnullableany.json | 2 +- .../test/invalid/json/nonnullableobjects.json | 2 +- .../json/promise-with-extended-attribute.json | 2 +- .../webidl2/test/invalid/json/raises.json | 2 +- .../test/invalid/json/readonly-iterable.json | 4 +- .../record-key-with-extended-attribute.json | 2 +- .../webidl2/test/invalid/json/record-key.json | 2 +- .../webidl2/test/invalid/json/scopedname.json | 2 +- .../invalid/json/sequenceAsAttribute.json | 2 +- .../test/invalid/json/setlike-2types.json | 4 +- .../test/invalid/json/setter-creator.json | 2 +- .../test/invalid/json/special-omittable.json | 2 +- .../test/invalid/json/stray-slash.json | 4 + .../test/invalid/json/stringconstants.json | 2 +- .../test/invalid/json/typedef-nested.json | 4 +- .../resources/webidl2/test/syntax.js | 28 +- .../test/syntax/idl/extended-attributes.widl | 8 +- .../{typedef-union.idl => typedef-union.widl} | 0 .../webidl2/test/syntax/json/allowany.json | 5 + .../webidl2/test/syntax/json/attributes.json | 3 +- .../webidl2/test/syntax/json/callback.json | 7 + .../webidl2/test/syntax/json/constants.json | 42 +- .../webidl2/test/syntax/json/constructor.json | 5 + .../test/syntax/json/dictionary-inherits.json | 6 +- .../webidl2/test/syntax/json/dictionary.json | 10 +- .../test/syntax/json/documentation-dos.json | 2 +- .../test/syntax/json/documentation.json | 2 +- .../webidl2/test/syntax/json/enum.json | 35 +- .../test/syntax/json/equivalent-decl.json | 17 + .../test/syntax/json/extended-attributes.json | 326 +++++---- .../webidl2/test/syntax/json/generic.json | 12 + .../test/syntax/json/getter-setter.json | 6 + .../json/identifier-qualified-names.json | 9 + .../webidl2/test/syntax/json/implements.json | 5 + .../test/syntax/json/indexed-properties.json | 15 + .../test/syntax/json/inherits-getter.json | 5 +- .../test/syntax/json/interface-inherits.json | 5 +- .../webidl2/test/syntax/json/iterable.json | 53 +- .../test/syntax/json/legacyiterable.json | 18 +- .../webidl2/test/syntax/json/maplike.json | 7 +- .../webidl2/test/syntax/json/mixin.json | 2 + .../test/syntax/json/namedconstructor.json | 3 +- .../webidl2/test/syntax/json/namespace.json | 7 + .../test/syntax/json/nointerfaceobject.json | 2 + .../webidl2/test/syntax/json/nullable.json | 8 +- .../test/syntax/json/nullableobjects.json | 4 + .../syntax/json/operation-optional-arg.json | 5 + .../webidl2/test/syntax/json/overloading.json | 16 + .../test/syntax/json/overridebuiltins.json | 3 + .../test/syntax/json/partial-interface.json | 4 +- .../webidl2/test/syntax/json/primitives.json | 19 +- .../test/syntax/json/prototyperoot.json | 1 + .../webidl2/test/syntax/json/putforwards.json | 4 +- .../webidl2/test/syntax/json/record.json | 17 + .../test/syntax/json/reg-operations.json | 8 + .../webidl2/test/syntax/json/replaceable.json | 2 + .../webidl2/test/syntax/json/sequence.json | 11 +- .../webidl2/test/syntax/json/setlike.json | 68 +- .../webidl2/test/syntax/json/static.json | 8 + .../syntax/json/stringifier-attribute.json | 2 + .../test/syntax/json/stringifier-custom.json | 4 + .../webidl2/test/syntax/json/stringifier.json | 1 + .../webidl2/test/syntax/json/treatasnull.json | 4 + .../test/syntax/json/treatasundefined.json | 4 + .../test/syntax/json/typedef-union.json | 93 ++- .../webidl2/test/syntax/json/typedef.json | 12 + .../test/syntax/json/typesuffixes.json | 3 + .../webidl2/test/syntax/json/uniontype.json | 225 ++++--- .../test/syntax/json/variadic-operations.json | 5 + .../resources/webidl2/test/util/acquire.js | 8 + .../resources/webidl2/test/util/collect.js | 59 ++ .../resources/webidl2/test/writer.js | 23 + .../web-platform-tests/tools/serve/serve.py | 11 +- .../tools/wptrunner/wptrunner/environment.py | 2 +- .../webaudio/resources/audionodeoptions.js | 251 +++++++ .../ctor-analyser.html | 183 ++++++ .../ctor-audiobuffersource.html | 116 ++++ .../ctor-biquadfilter.html | 86 +++ .../ctor-channelmerger.html | 109 +++ .../ctor-channelsplitter.html | 111 ++++ .../ctor-constantsource.html | 50 ++ .../ctor-convolver.html | 125 ++++ .../the-delaynode-interface/ctor-delay.html | 76 +++ .../ctor-dynamicscompressor.html | 196 ++++++ .../the-gainnode-interface/ctor-gain.html | 79 +++ .../ctor-iirfilter.html | 126 ++++ .../ctor-offlineaudiocontext.html | 203 ++++++ .../ctor-oscillator.html | 106 +++ .../the-pannernode-interface/ctor-panner.html | 274 ++++++++ .../ctor-stereopanner.html | 125 ++++ .../ctor-waveshaper.html | 72 ++ .../webdriver/tests/cookies/add_cookie.py | 175 ++--- .../close-worker-with-xhr-in-progress.html | 26 + 182 files changed, 4779 insertions(+), 1937 deletions(-) create mode 100644 tests/wpt/metadata/css/css-values/vh_not_refreshing_on_chrome.html.ini delete mode 100644 tests/wpt/metadata/fetch/api/basic/integrity-sharedworker.html.ini delete mode 100644 tests/wpt/metadata/fetch/api/basic/integrity-worker.html.ini delete mode 100644 tests/wpt/metadata/fetch/api/basic/integrity.html.ini create mode 100644 tests/wpt/metadata/fetch/api/basic/integrity.sub.any.js.ini delete mode 100644 tests/wpt/metadata/fetch/api/basic/mode-no-cors-worker.html.ini delete mode 100644 tests/wpt/metadata/fetch/api/basic/mode-no-cors.html.ini create mode 100644 tests/wpt/metadata/fetch/api/basic/mode-no-cors.sub.any.js.ini create mode 100644 tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-028.html create mode 100644 tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-029.html delete mode 100644 tests/wpt/web-platform-tests/encoding/legacy-mb-japanese/iso-2022-jp/iso2022jp-encode-href-ascii.html delete mode 100644 tests/wpt/web-platform-tests/encoding/legacy-mb-korean/euc-kr/euckr-encode-form-errors-hangul.html delete mode 100644 tests/wpt/web-platform-tests/fetch/api/basic/integrity-sharedworker.html delete mode 100644 tests/wpt/web-platform-tests/fetch/api/basic/integrity-worker.html delete mode 100644 tests/wpt/web-platform-tests/fetch/api/basic/integrity.html rename tests/wpt/web-platform-tests/fetch/api/basic/{integrity.js => integrity.sub.any.js} (96%) delete mode 100644 tests/wpt/web-platform-tests/fetch/api/basic/mode-no-cors-worker.html delete mode 100644 tests/wpt/web-platform-tests/fetch/api/basic/mode-no-cors.html rename tests/wpt/web-platform-tests/fetch/api/basic/{mode-no-cors.js => mode-no-cors.sub.any.js} (91%) delete mode 100644 tests/wpt/web-platform-tests/fetch/api/basic/response-url-worker.html delete mode 100644 tests/wpt/web-platform-tests/fetch/api/basic/response-url.html rename tests/wpt/web-platform-tests/fetch/api/basic/{response-url.js => response-url.sub.any.js} (86%) delete mode 100644 tests/wpt/web-platform-tests/fetch/api/basic/scheme-blob-worker.html delete mode 100644 tests/wpt/web-platform-tests/fetch/api/basic/scheme-blob.html rename tests/wpt/web-platform-tests/fetch/api/basic/{scheme-blob.js => scheme-blob.sub.any.js} (92%) delete mode 100644 tests/wpt/web-platform-tests/fetch/api/basic/scheme-others-worker.html delete mode 100644 tests/wpt/web-platform-tests/fetch/api/basic/scheme-others.html rename tests/wpt/web-platform-tests/fetch/api/basic/{scheme-others.js => scheme-others.sub.any.js} (88%) create mode 100644 tests/wpt/web-platform-tests/images/wpt-logo/wpt-logo-darkblue-bg.svg create mode 100644 tests/wpt/web-platform-tests/images/wpt-logo/wpt-logo-darkblue.svg create mode 100644 tests/wpt/web-platform-tests/images/wpt-logo/wpt-logo-lightblue-bg.svg create mode 100644 tests/wpt/web-platform-tests/images/wpt-logo/wpt-logo-orange-bg.svg create mode 100644 tests/wpt/web-platform-tests/images/wpt-logo/wpt-logo-white.svg rename tests/wpt/web-platform-tests/resources/webidl2/test/{syntax => invalid}/idl/iterator.widl (100%) create mode 100644 tests/wpt/web-platform-tests/resources/webidl2/test/invalid/idl/no-semicolon-callback.widl create mode 100644 tests/wpt/web-platform-tests/resources/webidl2/test/invalid/idl/no-semicolon.widl create mode 100644 tests/wpt/web-platform-tests/resources/webidl2/test/invalid/idl/stray-slash.widl rename tests/wpt/web-platform-tests/resources/webidl2/test/invalid/idl/{stringconstants.idl => stringconstants.widl} (100%) create mode 100644 tests/wpt/web-platform-tests/resources/webidl2/test/invalid/json/iterator.json create mode 100644 tests/wpt/web-platform-tests/resources/webidl2/test/invalid/json/no-semicolon-callback.json create mode 100644 tests/wpt/web-platform-tests/resources/webidl2/test/invalid/json/no-semicolon.json create mode 100644 tests/wpt/web-platform-tests/resources/webidl2/test/invalid/json/stray-slash.json rename tests/wpt/web-platform-tests/resources/webidl2/test/syntax/idl/{typedef-union.idl => typedef-union.widl} (100%) create mode 100644 tests/wpt/web-platform-tests/resources/webidl2/test/util/acquire.js create mode 100644 tests/wpt/web-platform-tests/resources/webidl2/test/util/collect.js create mode 100644 tests/wpt/web-platform-tests/resources/webidl2/test/writer.js create mode 100644 tests/wpt/web-platform-tests/webaudio/resources/audionodeoptions.js create mode 100644 tests/wpt/web-platform-tests/webaudio/the-audio-api/the-analysernode-interface/ctor-analyser.html create mode 100644 tests/wpt/web-platform-tests/webaudio/the-audio-api/the-audiobuffersourcenode-interface/ctor-audiobuffersource.html create mode 100644 tests/wpt/web-platform-tests/webaudio/the-audio-api/the-biquadfilternode-interface/ctor-biquadfilter.html create mode 100644 tests/wpt/web-platform-tests/webaudio/the-audio-api/the-channelmergernode-interface/ctor-channelmerger.html create mode 100644 tests/wpt/web-platform-tests/webaudio/the-audio-api/the-channelsplitternode-interface/ctor-channelsplitter.html create mode 100644 tests/wpt/web-platform-tests/webaudio/the-audio-api/the-constantsourcenode-interface/ctor-constantsource.html create mode 100644 tests/wpt/web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/ctor-convolver.html create mode 100644 tests/wpt/web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/ctor-delay.html create mode 100644 tests/wpt/web-platform-tests/webaudio/the-audio-api/the-dynamicscompressornode-interface/ctor-dynamicscompressor.html create mode 100644 tests/wpt/web-platform-tests/webaudio/the-audio-api/the-gainnode-interface/ctor-gain.html create mode 100644 tests/wpt/web-platform-tests/webaudio/the-audio-api/the-iirfilternode-interface/ctor-iirfilter.html create mode 100644 tests/wpt/web-platform-tests/webaudio/the-audio-api/the-offlineaudiocontext-interface/ctor-offlineaudiocontext.html create mode 100644 tests/wpt/web-platform-tests/webaudio/the-audio-api/the-oscillatornode-interface/ctor-oscillator.html create mode 100644 tests/wpt/web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/ctor-panner.html create mode 100644 tests/wpt/web-platform-tests/webaudio/the-audio-api/the-stereopanner-interface/ctor-stereopanner.html create mode 100644 tests/wpt/web-platform-tests/webaudio/the-audio-api/the-waveshapernode-interface/ctor-waveshaper.html create mode 100644 tests/wpt/web-platform-tests/xhr/close-worker-with-xhr-in-progress.html diff --git a/tests/wpt/metadata/MANIFEST.json b/tests/wpt/metadata/MANIFEST.json index 313e7aad293..603020309fb 100644 --- a/tests/wpt/metadata/MANIFEST.json +++ b/tests/wpt/metadata/MANIFEST.json @@ -127531,6 +127531,30 @@ {} ] ], + "css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-028.html": [ + [ + "/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-028.html", + [ + [ + "/css/css-shapes/shape-outside/supported-shapes/inset/reference/shape-outside-inset-010-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-029.html": [ + [ + "/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-029.html", + [ + [ + "/css/css-shapes/shape-outside/supported-shapes/inset/reference/shape-outside-inset-010-ref.html", + "==" + ] + ], + {} + ] + ], "css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-007.html": [ [ "/css/css-shapes/shape-outside/supported-shapes/polygon/shape-outside-polygon-007.html", @@ -273736,31 +273760,6 @@ {} ] ], - "fetch/api/basic/integrity.js": [ - [ - {} - ] - ], - "fetch/api/basic/mode-no-cors.js": [ - [ - {} - ] - ], - "fetch/api/basic/response-url.js": [ - [ - {} - ] - ], - "fetch/api/basic/scheme-blob.js": [ - [ - {} - ] - ], - "fetch/api/basic/scheme-others.js": [ - [ - {} - ] - ], "fetch/api/cors/cors-expose-star.js": [ [ {} @@ -287516,6 +287515,31 @@ {} ] ], + "images/wpt-logo/wpt-logo-darkblue-bg.svg": [ + [ + {} + ] + ], + "images/wpt-logo/wpt-logo-darkblue.svg": [ + [ + {} + ] + ], + "images/wpt-logo/wpt-logo-lightblue-bg.svg": [ + [ + {} + ] + ], + "images/wpt-logo/wpt-logo-orange-bg.svg": [ + [ + {} + ] + ], + "images/wpt-logo/wpt-logo-white.svg": [ + [ + {} + ] + ], "images/yellow.png": [ [ {} @@ -297191,6 +297215,11 @@ {} ] ], + "webaudio/resources/audionodeoptions.js": [ + [ + {} + ] + ], "webaudio/resources/audioparam-testing.js": [ [ {} @@ -326584,14 +326613,6 @@ } ] ], - "encoding/legacy-mb-japanese/iso-2022-jp/iso2022jp-encode-href-ascii.html": [ - [ - "/encoding/legacy-mb-japanese/iso-2022-jp/iso2022jp-encode-href-ascii.html", - { - "timeout": "long" - } - ] - ], "encoding/legacy-mb-japanese/iso-2022-jp/iso2022jp-encode-href-errors-han.html": [ [ "/encoding/legacy-mb-japanese/iso-2022-jp/iso2022jp-encode-href-errors-han.html", @@ -326928,14 +326949,6 @@ } ] ], - "encoding/legacy-mb-korean/euc-kr/euckr-encode-form-errors-hangul.html": [ - [ - "/encoding/legacy-mb-korean/euc-kr/euckr-encode-form-errors-hangul.html", - { - "timeout": "long" - } - ] - ], "encoding/legacy-mb-korean/euc-kr/euckr-encode-form-errors-misc.html": [ [ "/encoding/legacy-mb-korean/euc-kr/euckr-encode-form-errors-misc.html", @@ -328634,21 +328647,17 @@ {} ] ], - "fetch/api/basic/integrity-sharedworker.html": [ + "fetch/api/basic/integrity.sub.any.js": [ [ - "/fetch/api/basic/integrity-sharedworker.html", + "/fetch/api/basic/integrity.sub.any.html", {} - ] - ], - "fetch/api/basic/integrity-worker.html": [ + ], [ - "/fetch/api/basic/integrity-worker.html", + "/fetch/api/basic/integrity.sub.any.sharedworker.html", {} - ] - ], - "fetch/api/basic/integrity.html": [ + ], [ - "/fetch/api/basic/integrity.html", + "/fetch/api/basic/integrity.sub.any.worker.html", {} ] ], @@ -328664,15 +328673,13 @@ {} ] ], - "fetch/api/basic/mode-no-cors-worker.html": [ + "fetch/api/basic/mode-no-cors.sub.any.js": [ [ - "/fetch/api/basic/mode-no-cors-worker.html", + "/fetch/api/basic/mode-no-cors.sub.any.html", {} - ] - ], - "fetch/api/basic/mode-no-cors.html": [ + ], [ - "/fetch/api/basic/mode-no-cors.html", + "/fetch/api/basic/mode-no-cors.sub.any.worker.html", {} ] ], @@ -328762,15 +328769,13 @@ {} ] ], - "fetch/api/basic/response-url-worker.html": [ + "fetch/api/basic/response-url.sub.any.js": [ [ - "/fetch/api/basic/response-url-worker.html", + "/fetch/api/basic/response-url.sub.any.html", {} - ] - ], - "fetch/api/basic/response-url.html": [ + ], [ - "/fetch/api/basic/response-url.html", + "/fetch/api/basic/response-url.sub.any.worker.html", {} ] ], @@ -328784,15 +328789,13 @@ {} ] ], - "fetch/api/basic/scheme-blob-worker.html": [ + "fetch/api/basic/scheme-blob.sub.any.js": [ [ - "/fetch/api/basic/scheme-blob-worker.html", + "/fetch/api/basic/scheme-blob.sub.any.html", {} - ] - ], - "fetch/api/basic/scheme-blob.html": [ + ], [ - "/fetch/api/basic/scheme-blob.html", + "/fetch/api/basic/scheme-blob.sub.any.worker.html", {} ] ], @@ -328806,15 +328809,13 @@ {} ] ], - "fetch/api/basic/scheme-others-worker.html": [ + "fetch/api/basic/scheme-others.sub.any.js": [ [ - "/fetch/api/basic/scheme-others-worker.html", + "/fetch/api/basic/scheme-others.sub.any.html", {} - ] - ], - "fetch/api/basic/scheme-others.html": [ + ], [ - "/fetch/api/basic/scheme-others.html", + "/fetch/api/basic/scheme-others.sub.any.worker.html", {} ] ], @@ -369114,6 +369115,12 @@ {} ] ], + "webaudio/the-audio-api/the-analysernode-interface/ctor-analyser.html": [ + [ + "/webaudio/the-audio-api/the-analysernode-interface/ctor-analyser.html", + {} + ] + ], "webaudio/the-audio-api/the-analysernode-interface/test-analyser-gain.html": [ [ "/webaudio/the-audio-api/the-analysernode-interface/test-analyser-gain.html", @@ -369150,6 +369157,12 @@ {} ] ], + "webaudio/the-audio-api/the-audiobuffersourcenode-interface/ctor-audiobuffersource.html": [ + [ + "/webaudio/the-audio-api/the-audiobuffersourcenode-interface/ctor-audiobuffersource.html", + {} + ] + ], "webaudio/the-audio-api/the-audiodestinationnode-interface/idl-test.html": [ [ "/webaudio/the-audio-api/the-audiodestinationnode-interface/idl-test.html", @@ -369462,6 +369475,12 @@ {} ] ], + "webaudio/the-audio-api/the-biquadfilternode-interface/ctor-biquadfilter.html": [ + [ + "/webaudio/the-audio-api/the-biquadfilternode-interface/ctor-biquadfilter.html", + {} + ] + ], "webaudio/the-audio-api/the-biquadfilternode-interface/no-dezippering.html": [ [ "/webaudio/the-audio-api/the-biquadfilternode-interface/no-dezippering.html", @@ -369492,12 +369511,24 @@ {} ] ], + "webaudio/the-audio-api/the-channelmergernode-interface/ctor-channelmerger.html": [ + [ + "/webaudio/the-audio-api/the-channelmergernode-interface/ctor-channelmerger.html", + {} + ] + ], "webaudio/the-audio-api/the-channelsplitternode-interface/audiochannelsplitter.html": [ [ "/webaudio/the-audio-api/the-channelsplitternode-interface/audiochannelsplitter.html", {} ] ], + "webaudio/the-audio-api/the-channelsplitternode-interface/ctor-channelsplitter.html": [ + [ + "/webaudio/the-audio-api/the-channelsplitternode-interface/ctor-channelsplitter.html", + {} + ] + ], "webaudio/the-audio-api/the-constantsourcenode-interface/constant-source-basic.html": [ [ "/webaudio/the-audio-api/the-constantsourcenode-interface/constant-source-basic.html", @@ -369516,6 +369547,12 @@ {} ] ], + "webaudio/the-audio-api/the-constantsourcenode-interface/ctor-constantsource.html": [ + [ + "/webaudio/the-audio-api/the-constantsourcenode-interface/ctor-constantsource.html", + {} + ] + ], "webaudio/the-audio-api/the-constantsourcenode-interface/test-constantsourcenode.html": [ [ "/webaudio/the-audio-api/the-constantsourcenode-interface/test-constantsourcenode.html", @@ -369564,6 +369601,18 @@ {} ] ], + "webaudio/the-audio-api/the-convolvernode-interface/ctor-convolver.html": [ + [ + "/webaudio/the-audio-api/the-convolvernode-interface/ctor-convolver.html", + {} + ] + ], + "webaudio/the-audio-api/the-delaynode-interface/ctor-delay.html": [ + [ + "/webaudio/the-audio-api/the-delaynode-interface/ctor-delay.html", + {} + ] + ], "webaudio/the-audio-api/the-delaynode-interface/delaynode-max-default-delay.html": [ [ "/webaudio/the-audio-api/the-delaynode-interface/delaynode-max-default-delay.html", @@ -369606,12 +369655,24 @@ {} ] ], + "webaudio/the-audio-api/the-dynamicscompressornode-interface/ctor-dynamicscompressor.html": [ + [ + "/webaudio/the-audio-api/the-dynamicscompressornode-interface/ctor-dynamicscompressor.html", + {} + ] + ], "webaudio/the-audio-api/the-dynamicscompressornode-interface/dynamicscompressor-basic.html": [ [ "/webaudio/the-audio-api/the-dynamicscompressornode-interface/dynamicscompressor-basic.html", {} ] ], + "webaudio/the-audio-api/the-gainnode-interface/ctor-gain.html": [ + [ + "/webaudio/the-audio-api/the-gainnode-interface/ctor-gain.html", + {} + ] + ], "webaudio/the-audio-api/the-gainnode-interface/gain-basic.html": [ [ "/webaudio/the-audio-api/the-gainnode-interface/gain-basic.html", @@ -369636,6 +369697,12 @@ {} ] ], + "webaudio/the-audio-api/the-iirfilternode-interface/ctor-iirfilter.html": [ + [ + "/webaudio/the-audio-api/the-iirfilternode-interface/ctor-iirfilter.html", + {} + ] + ], "webaudio/the-audio-api/the-iirfilternode-interface/iirfilter-basic.html": [ [ "/webaudio/the-audio-api/the-iirfilternode-interface/iirfilter-basic.html", @@ -369666,12 +369733,30 @@ {} ] ], + "webaudio/the-audio-api/the-offlineaudiocontext-interface/ctor-offlineaudiocontext.html": [ + [ + "/webaudio/the-audio-api/the-offlineaudiocontext-interface/ctor-offlineaudiocontext.html", + {} + ] + ], "webaudio/the-audio-api/the-offlineaudiocontext-interface/current-time-block-size.html": [ [ "/webaudio/the-audio-api/the-offlineaudiocontext-interface/current-time-block-size.html", {} ] ], + "webaudio/the-audio-api/the-oscillatornode-interface/ctor-oscillator.html": [ + [ + "/webaudio/the-audio-api/the-oscillatornode-interface/ctor-oscillator.html", + {} + ] + ], + "webaudio/the-audio-api/the-pannernode-interface/ctor-panner.html": [ + [ + "/webaudio/the-audio-api/the-pannernode-interface/ctor-panner.html", + {} + ] + ], "webaudio/the-audio-api/the-pannernode-interface/distance-exponential.html": [ [ "/webaudio/the-audio-api/the-pannernode-interface/distance-exponential.html", @@ -369744,6 +369829,12 @@ {} ] ], + "webaudio/the-audio-api/the-stereopanner-interface/ctor-stereopanner.html": [ + [ + "/webaudio/the-audio-api/the-stereopanner-interface/ctor-stereopanner.html", + {} + ] + ], "webaudio/the-audio-api/the-stereopanner-interface/no-dezippering.html": [ [ "/webaudio/the-audio-api/the-stereopanner-interface/no-dezippering.html", @@ -369762,6 +369853,12 @@ {} ] ], + "webaudio/the-audio-api/the-waveshapernode-interface/ctor-waveshaper.html": [ + [ + "/webaudio/the-audio-api/the-waveshapernode-interface/ctor-waveshaper.html", + {} + ] + ], "webaudio/the-audio-api/the-waveshapernode-interface/curve-tests.html": [ [ "/webaudio/the-audio-api/the-waveshapernode-interface/curve-tests.html", @@ -375554,6 +375651,12 @@ {} ] ], + "xhr/close-worker-with-xhr-in-progress.html": [ + [ + "/xhr/close-worker-with-xhr-in-progress.html", + {} + ] + ], "xhr/data-uri.htm": [ [ "/xhr/data-uri.htm", @@ -400600,7 +400703,7 @@ "support" ], "FileAPI/historical.https.html": [ - "93903b4f58bc215ea2a67fc6d281593ec5ce79e9", + "e1cf63d05a0e401cc38a11d2b42efb9e8d315610", "testharness" ], "FileAPI/idlharness-manual.html": [ @@ -400840,7 +400943,7 @@ "testharness" ], "IndexedDB/historical.html": [ - "0c4584e1b021a286445a2a9d3388ff011a1b933e", + "2a5eaca2bbe1d0c9495ab7c48560d611f60a007c", "testharness" ], "IndexedDB/idb-binary-key-detached.htm": [ @@ -425476,7 +425579,7 @@ "testharness" ], "content-security-policy/frame-ancestors/frame-ancestors-overrides-xfo.html": [ - "988cf59388b862631a33dfab0565c937e9515763", + "a1f179dec77eec4b0172613c56b2ba9608e24b12", "testharness" ], "content-security-policy/frame-ancestors/frame-ancestors-self-allow.html": [ @@ -514356,7 +514459,7 @@ "reftest" ], "css/css-shapes/shape-outside/shape-image/shape-image-010.html": [ - "69b7cd75faad315f1c87214d7f74cbebeba0f37d", + "6dcfc209b1e08c1a3f41036a301fa3e0a434b4af", "reftest" ], "css/css-shapes/shape-outside/shape-image/shape-image-011.html": [ @@ -514556,7 +514659,7 @@ "reftest" ], "css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-027.html": [ - "97237d7bc6fb98fc1cc0b27d493b2610d91b483b", + "87477b60302ae3f7e20c488b5a944d7b9169ba0d", "reftest" ], "css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-028.html": [ @@ -514596,7 +514699,7 @@ "reftest" ], "css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-015.html": [ - "e6001d6ecc8565842fa1fe68ce280c06a17ee62a", + "121434db8bfc63877d10383c167ee3f2f8d65d7a", "reftest" ], "css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-016.html": [ @@ -514604,7 +514707,7 @@ "reftest" ], "css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-017.html": [ - "ff109f0d61bd487df7834e8c56330a5c6f4bc52d", + "c16469402616b77d502ed4a65b623022a883c902", "reftest" ], "css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-018.html": [ @@ -514652,27 +514755,35 @@ "support" ], "css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-010.html": [ - "7878c4b4b0cd5b36e153d4fad565b37a1aeb746d", + "0a1a7449964d3dc18dbabb4da8777f7e1aedbf7e", "reftest" ], "css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-011.html": [ - "bda8e62930c2f084005998d1e1679c5ff85f25a0", + "e98e70e094d84a2434d5d634caa482df9e6aeb07", "reftest" ], "css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-012.html": [ - "5ef1e674163f358a2dbac6fd6175ff424e2a46ba", + "39ba9b59b93ada88d6655529a8af3d3d6d7c00be", "reftest" ], "css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-013.html": [ - "2347978786094f1a6bb4a5a9a030c7a11cc85781", + "d53115c05401ffd274b55c6a95c9e4fd05011da1", "reftest" ], "css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-014.html": [ - "124c822825bb26bec99543892f75ea0b11b0e74c", + "2ef7ecd7321bb6639490110e45118ec58ee2aa9c", "reftest" ], "css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-015.html": [ - "23eab9e83a350804230169f4edc5e50a55716fe7", + "04a6a67837127ba47e757e5cc3a9ff91c1e01d9a", + "reftest" + ], + "css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-028.html": [ + "cafd680e210a6d677bde00ae4c5f9263c1e7b48e", + "reftest" + ], + "css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-029.html": [ + "67161f08b8aec3fe9bd94e14cbe865dd4c9d3664", "reftest" ], "css/css-shapes/shape-outside/supported-shapes/polygon/reference/shape-outside-polygon-007-ref.html": [ @@ -539864,7 +539975,7 @@ "testharness" ], "css/cssom/overflow-serialization.html": [ - "48ca70f4c20da103276e1b053ca0e4613fcc2819", + "85952fbd040de03f5082f28ba8116fd4827a1fc3", "testharness" ], "css/cssom/selectorSerialize.html": [ @@ -539908,7 +540019,7 @@ "testharness" ], "css/cssom/shorthand-values.html": [ - "8bfc0dff5da1859e17df31ceeca710d17a982109", + "9211674fd69ddfa32d3bafcf2bc967977eb3ec31", "testharness" ], "css/cssom/style-sheet-interfaces-001.html": [ @@ -540676,7 +540787,7 @@ "testharness" ], "css/geometry/DOMQuad-001.html": [ - "1fe1fb785f99b90bae48f0f2d8eb46765c6f6fbb", + "cd82e18b88904531ffbfa88f11d90dfef571a30a", "testharness" ], "css/geometry/DOMQuad-002.html": [ @@ -540692,7 +540803,7 @@ "testharness" ], "css/geometry/DOMRectList.html": [ - "382b6c7ea9bc4c75d1b007b59ccdcb9c642f51ce", + "3b63015ab3dbe4b7ea4ac7ede67f6db603c0f65c", "testharness" ], "css/geometry/OWNERS": [ @@ -552756,7 +552867,7 @@ "testharness" ], "dom/historical.html": [ - "ccf3d9d2d8eb3e7353ecedd8a4d8ba232f9374ec", + "291d078c4424d0491aeab7524d350eab7304f989", "testharness" ], "dom/interface-objects.html": [ @@ -555031,10 +555142,6 @@ "cb27b3ae6b3fb2d85f462cb5a1d0e703a3379e5c", "support" ], - "encoding/legacy-mb-japanese/iso-2022-jp/iso2022jp-encode-href-ascii.html": [ - "08ce23f14166644363f128d80330804706fdfd3f", - "testharness" - ], "encoding/legacy-mb-japanese/iso-2022-jp/iso2022jp-encode-href-errors-han.html": [ "c250dd2597bf3e6b66d4bed1484363ee186197e3", "testharness" @@ -555411,10 +555518,6 @@ "c79f9150befa2f7ce67d17069da7fb66f7f22ca0", "support" ], - "encoding/legacy-mb-korean/euc-kr/euckr-encode-form-errors-hangul.html": [ - "3a2d013060c95824579de848af715c1c8135c206", - "testharness" - ], "encoding/legacy-mb-korean/euc-kr/euckr-encode-form-errors-hangul.html.headers": [ "c79f9150befa2f7ce67d17069da7fb66f7f22ca0", "support" @@ -557371,22 +557474,10 @@ "54181cd222c7a5428f9468f4777c273ecc553f4f", "testharness" ], - "fetch/api/basic/integrity-sharedworker.html": [ - "00d7eae5a324653caae19ab83bef76dd3503fb3b", + "fetch/api/basic/integrity.sub.any.js": [ + "7f25bf12a25919d07f2fd04fabaf8cd90f4cf77a", "testharness" ], - "fetch/api/basic/integrity-worker.html": [ - "1a0a6abd1c6bf8c4665a242d64f50bbbff4982f8", - "testharness" - ], - "fetch/api/basic/integrity.html": [ - "aa6d9159321e410d1e96c045f8f4d8700494beeb", - "testharness" - ], - "fetch/api/basic/integrity.js": [ - "59e8c5ebf0dfd2ab2432f28dcee5db82e9505cff", - "support" - ], "fetch/api/basic/keepalive.html": [ "1ecdcb478b65b258e79242ae17af79ba903db412", "testharness" @@ -557395,18 +557486,10 @@ "5e2e35f820982002b967d7444507a2bfc0d3aa34", "testharness" ], - "fetch/api/basic/mode-no-cors-worker.html": [ - "39992b8abf3ab30182dfbaa5816cc154a22ae0ad", + "fetch/api/basic/mode-no-cors.sub.any.js": [ + "5ccf57aa2feb7d11e4372ba71f81d6726875ae03", "testharness" ], - "fetch/api/basic/mode-no-cors.html": [ - "ff174cb1a76a63473028b72b3319602685689cb5", - "testharness" - ], - "fetch/api/basic/mode-no-cors.js": [ - "311ecadfe0c44430846b2f11facf53c1fafc6df0", - "support" - ], "fetch/api/basic/mode-same-origin.any.js": [ "1027de012d62a36a0df53bfadbfb8341a22558c0", "testharness" @@ -557443,50 +557526,26 @@ "8c85a2549ca2108b07f8065699a8dd182acc6268", "testharness" ], - "fetch/api/basic/response-url-worker.html": [ - "3d615668cb0122600af10d80cac4a7ebfe051528", + "fetch/api/basic/response-url.sub.any.js": [ + "f43c11ef52661046824b328112f6ab8826bed027", "testharness" ], - "fetch/api/basic/response-url.html": [ - "9e7c61ac685654e355174c960ba2084d17ff7f2e", - "testharness" - ], - "fetch/api/basic/response-url.js": [ - "444ef1e53b422f74a4bb322099d8b1147ed8f52b", - "support" - ], "fetch/api/basic/scheme-about.any.js": [ "68b11deaa95a691a8e0c76bdc9b7a07b5dea9868", "testharness" ], - "fetch/api/basic/scheme-blob-worker.html": [ - "adfea540164a4113484ea29007ac3738bb7456c4", + "fetch/api/basic/scheme-blob.sub.any.js": [ + "ec722257d9e93842751547b5a2a8cfff9da6d9de", "testharness" ], - "fetch/api/basic/scheme-blob.html": [ - "5835c0c3b108f05b61ef0db945f272264b377d6c", - "testharness" - ], - "fetch/api/basic/scheme-blob.js": [ - "ab29ee7bde800b3ffaade990d86816ea9b6cb2c7", - "support" - ], "fetch/api/basic/scheme-data.any.js": [ "d312396ed3c5a90004d46c3d630525cb3e8228e1", "testharness" ], - "fetch/api/basic/scheme-others-worker.html": [ - "4ea145afbbe3b349c227c19ac5612db94b10c61c", + "fetch/api/basic/scheme-others.sub.any.js": [ + "9b82765bb46386db2408260c14a511afb0ba662e", "testharness" ], - "fetch/api/basic/scheme-others.html": [ - "e7594d1119e1c937663b4bb0385b69c442f1c78f", - "testharness" - ], - "fetch/api/basic/scheme-others.js": [ - "e9f99ee8112a0e0983322aece2034461125a46b5", - "support" - ], "fetch/api/basic/stream-response.any.js": [ "b989131e8cf68e37c6d27397d801bfcc9c97b7ed", "testharness" @@ -558256,7 +558315,7 @@ "support" ], "fetch/corb/README.md": [ - "7f3ebd888c16f457c7f137362cff620ae2cc82b3", + "d532c359cdb1359f88ef79afff88052b3387dbf6", "support" ], "fetch/corb/img-html-correctly-labeled.sub-expected.html": [ @@ -558268,7 +558327,7 @@ "reftest" ], "fetch/corb/img-mime-types-coverage.tentative.sub.html": [ - "ccceb2eab638a0e7c88c6e3eed45c51148e0f406", + "58422f923455c1f62e0c4e743b1c900061657146", "testharness" ], "fetch/corb/img-png-mislabeled-as-html-nosniff.tentative.sub-expected.html": [ @@ -579191,6 +579250,26 @@ "6a8595f419a6ec6bc13222f348ed42ad4c7b9783", "support" ], + "images/wpt-logo/wpt-logo-darkblue-bg.svg": [ + "d2f8fe86fa19cfeada7285eb9fdd1c7d8aeae500", + "support" + ], + "images/wpt-logo/wpt-logo-darkblue.svg": [ + "2cdd9e0004bfb27185f1d306b84b39e7b260bc06", + "support" + ], + "images/wpt-logo/wpt-logo-lightblue-bg.svg": [ + "79ba6641c99eacdedc2c9279ece8622944a37830", + "support" + ], + "images/wpt-logo/wpt-logo-orange-bg.svg": [ + "af4e23f30394794d87eb96dfa1b4e940c6b743f1", + "support" + ], + "images/wpt-logo/wpt-logo-white.svg": [ + "9c6494169ea074ede142c00b0e34f27df43007bd", + "support" + ], "images/yellow.png": [ "50eab1cff1bf2b1e68403ac724aa8043205901be", "support" @@ -590580,7 +590659,7 @@ "testharness" ], "referrer-policy/generic/common.js": [ - "00233e7d4513c8e3c4b7f7fa60f313ef1b6dbddd", + "583f61d9d6f30742f8144ded8ea31035a07034a3", "support" ], "referrer-policy/generic/iframe-inheritance.html": [ @@ -590592,7 +590671,7 @@ "testharness" ], "referrer-policy/generic/referrer-policy-test-case.js": [ - "20c8273fd2a2cad07d3a607717d69d6ae94cf27e", + "62d77f2911b075bfa2de6138faffd8f5997ac7d5", "support" ], "referrer-policy/generic/sandboxed-iframe-with-opaque-origin.html": [ @@ -608935,6 +609014,10 @@ "9ef52c13448d19b241b40a5c81f4a0480c05c5de", "support" ], + "webaudio/resources/audionodeoptions.js": [ + "d7712311bddd23e171e7e1f024aec0a565b08a13", + "support" + ], "webaudio/resources/audioparam-testing.js": [ "2855fbee30e629ea397166911b9bcdec74bd4fdf", "support" @@ -608999,6 +609082,10 @@ "da39a3ee5e6b4b0d3255bfef95601890afd80709", "support" ], + "webaudio/the-audio-api/the-analysernode-interface/ctor-analyser.html": [ + "7e35ac29f00d39c84230535212c0b9ea081951d3", + "testharness" + ], "webaudio/the-audio-api/the-analysernode-interface/test-analyser-gain.html": [ "e2320e33ef1df0155d5fcf536550e0e398b15407", "testharness" @@ -609031,6 +609118,10 @@ "da39a3ee5e6b4b0d3255bfef95601890afd80709", "support" ], + "webaudio/the-audio-api/the-audiobuffersourcenode-interface/ctor-audiobuffersource.html": [ + "ce84d25460435564021a13dc9e26384bc30e9d96", + "testharness" + ], "webaudio/the-audio-api/the-audiocontext-interface/.gitkeep": [ "da39a3ee5e6b4b0d3255bfef95601890afd80709", "support" @@ -609311,6 +609402,10 @@ "f24a473f695c2d10788ba7d50728259a08ed53c8", "testharness" ], + "webaudio/the-audio-api/the-biquadfilternode-interface/ctor-biquadfilter.html": [ + "475916d4aba810c017c385d98d51d353ad0fc561", + "testharness" + ], "webaudio/the-audio-api/the-biquadfilternode-interface/no-dezippering.html": [ "348376a643b765700342e9620e1346d432a28131", "testharness" @@ -609335,6 +609430,10 @@ "250c35e36dda600c30554024cbd500a37180292a", "testharness" ], + "webaudio/the-audio-api/the-channelmergernode-interface/ctor-channelmerger.html": [ + "72bfba4cbca1b4d3e7692ef236afb905f852fadd", + "testharness" + ], "webaudio/the-audio-api/the-channelsplitternode-interface/.gitkeep": [ "da39a3ee5e6b4b0d3255bfef95601890afd80709", "support" @@ -609343,6 +609442,10 @@ "80cfd321970b37df7995d6e0d262a2c008e6e10c", "testharness" ], + "webaudio/the-audio-api/the-channelsplitternode-interface/ctor-channelsplitter.html": [ + "743fd6af6f67958f67f4a63cef432515518edf41", + "testharness" + ], "webaudio/the-audio-api/the-constantsourcenode-interface/constant-source-basic.html": [ "d60c7c7c6d9236f773199a213bef6b1103e02e2e", "testharness" @@ -609355,6 +609458,10 @@ "ce90b4d7ca5840abdc830d734df26028958fadd7", "testharness" ], + "webaudio/the-audio-api/the-constantsourcenode-interface/ctor-constantsource.html": [ + "1fa8892c98ce5f979a08294a838b3b91ce11a3a3", + "testharness" + ], "webaudio/the-audio-api/the-constantsourcenode-interface/test-constantsourcenode.html": [ "711b3f183d847e437a4c332f33054cc5a648fd22", "testharness" @@ -609391,10 +609498,18 @@ "f32f5acdf031b1a2b32bc37324b105d1df7c5fdb", "testharness" ], + "webaudio/the-audio-api/the-convolvernode-interface/ctor-convolver.html": [ + "70f49ae8525bd998d3b51bada7a296ba4cef03e5", + "testharness" + ], "webaudio/the-audio-api/the-delaynode-interface/.gitkeep": [ "da39a3ee5e6b4b0d3255bfef95601890afd80709", "support" ], + "webaudio/the-audio-api/the-delaynode-interface/ctor-delay.html": [ + "473c5e05ab6ee4930de9e3a3ec47075af7e9650d", + "testharness" + ], "webaudio/the-audio-api/the-delaynode-interface/delaynode-max-default-delay.html": [ "c732635549f5eab61f8bdce05b27f0f3e8a3f6c2", "testharness" @@ -609427,6 +609542,10 @@ "da39a3ee5e6b4b0d3255bfef95601890afd80709", "support" ], + "webaudio/the-audio-api/the-dynamicscompressornode-interface/ctor-dynamicscompressor.html": [ + "6338104e8199673ff7de6f41d310b79a2ee51f04", + "testharness" + ], "webaudio/the-audio-api/the-dynamicscompressornode-interface/dynamicscompressor-basic.html": [ "6ceaf50b8cacdfa246bc997f2c8e46aefd789659", "testharness" @@ -609435,6 +609554,10 @@ "da39a3ee5e6b4b0d3255bfef95601890afd80709", "support" ], + "webaudio/the-audio-api/the-gainnode-interface/ctor-gain.html": [ + "3c77f0ac735a224fa6d905f62585beba39643393", + "testharness" + ], "webaudio/the-audio-api/the-gainnode-interface/gain-basic.html": [ "70165c60c482d6507670af965756f639e7b3ba78", "testharness" @@ -609455,6 +609578,10 @@ "bf2de43e568c79b96fd5b0602e26346c483162a5", "testharness" ], + "webaudio/the-audio-api/the-iirfilternode-interface/ctor-iirfilter.html": [ + "3627d5b4a447a62de6c6a6f10556fa9f9dec1700", + "testharness" + ], "webaudio/the-audio-api/the-iirfilternode-interface/iirfilter-basic.html": [ "176168861bc667b2b05312dbae48f76f7f90d791", "testharness" @@ -609491,6 +609618,10 @@ "da39a3ee5e6b4b0d3255bfef95601890afd80709", "support" ], + "webaudio/the-audio-api/the-offlineaudiocontext-interface/ctor-offlineaudiocontext.html": [ + "4264798e9e64d30c72f9f0577a9648efa2d0a50a", + "testharness" + ], "webaudio/the-audio-api/the-offlineaudiocontext-interface/current-time-block-size.html": [ "d0b1fefa6c0f75c0666cd5b7e8305099e9925d62", "testharness" @@ -609499,10 +609630,18 @@ "da39a3ee5e6b4b0d3255bfef95601890afd80709", "support" ], + "webaudio/the-audio-api/the-oscillatornode-interface/ctor-oscillator.html": [ + "53df9d36a96c61a6ce9215cbc2830783e26c91be", + "testharness" + ], "webaudio/the-audio-api/the-pannernode-interface/.gitkeep": [ "da39a3ee5e6b4b0d3255bfef95601890afd80709", "support" ], + "webaudio/the-audio-api/the-pannernode-interface/ctor-panner.html": [ + "2b59d21a54b2216c1171a6ba2c7809291955a8af", + "testharness" + ], "webaudio/the-audio-api/the-pannernode-interface/distance-exponential.html": [ "c1c94753ebcd1930e326d73c085e6c3197967cd5", "testharness" @@ -609559,6 +609698,10 @@ "da39a3ee5e6b4b0d3255bfef95601890afd80709", "support" ], + "webaudio/the-audio-api/the-stereopanner-interface/ctor-stereopanner.html": [ + "1908ffc477d8c16b81ab371f5b9dbca46cc16a83", + "testharness" + ], "webaudio/the-audio-api/the-stereopanner-interface/no-dezippering.html": [ "b3525a2c459125281196201216417c39030e79a8", "testharness" @@ -609575,6 +609718,10 @@ "da39a3ee5e6b4b0d3255bfef95601890afd80709", "support" ], + "webaudio/the-audio-api/the-waveshapernode-interface/ctor-waveshaper.html": [ + "80b585554acf22f357264e3a024d2159fd184f13", + "testharness" + ], "webaudio/the-audio-api/the-waveshapernode-interface/curve-tests.html": [ "f88431616d6a8084a3434c1606e3543178d019fb", "testharness" @@ -609768,7 +609915,7 @@ "wdspec" ], "webdriver/tests/cookies/add_cookie.py": [ - "c87dc51111c10bbc29339ba0d1be85fb35ee6d6f", + "29891e121def1917c47c70efd19b40ed5f2ea61d", "wdspec" ], "webdriver/tests/cookies/delete_cookie.py": [ @@ -616703,6 +616850,10 @@ "54a03fefabfad02e09baa4e9d37e19b6403dad9b", "testharness" ], + "xhr/close-worker-with-xhr-in-progress.html": [ + "c1907caa8cbe6b30cd70e174163e7c4cd510934d", + "testharness" + ], "xhr/data-uri.htm": [ "d42eb014a32cf82d7eba31ad9b80f51bff43eeea", "testharness" diff --git a/tests/wpt/metadata/css/css-fonts/variations/font-weight-matching.html.ini b/tests/wpt/metadata/css/css-fonts/variations/font-weight-matching.html.ini index 719179298dc..7c80799aece 100644 --- a/tests/wpt/metadata/css/css-fonts/variations/font-weight-matching.html.ini +++ b/tests/wpt/metadata/css/css-fonts/variations/font-weight-matching.html.ini @@ -8,9 +8,6 @@ [Test @font-face matching for weight 400] expected: FAIL - [Test @font-face matching for weight 420] - expected: FAIL - [Test @font-face matching for weight 470] expected: FAIL @@ -32,3 +29,12 @@ [Test @font-face matching for weight 1000] expected: FAIL + [Test @font-face matching for weight 99] + expected: FAIL + + [Test @font-face matching for weight 100] + expected: FAIL + + [Test @font-face matching for weight 249] + expected: FAIL + diff --git a/tests/wpt/metadata/css/css-values/vh_not_refreshing_on_chrome.html.ini b/tests/wpt/metadata/css/css-values/vh_not_refreshing_on_chrome.html.ini new file mode 100644 index 00000000000..26435e28b09 --- /dev/null +++ b/tests/wpt/metadata/css/css-values/vh_not_refreshing_on_chrome.html.ini @@ -0,0 +1,2 @@ +[vh_not_refreshing_on_chrome.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/cssom/shorthand-values.html.ini b/tests/wpt/metadata/css/cssom/shorthand-values.html.ini index b8f37ce1f26..cb0502d1dcd 100644 --- a/tests/wpt/metadata/css/cssom/shorthand-values.html.ini +++ b/tests/wpt/metadata/css/cssom/shorthand-values.html.ini @@ -26,9 +26,6 @@ [The serialization of border: solid; border-style: dotted should be canonical.] expected: FAIL - [The serialization of overflow-x: scroll; overflow-y: hidden; should be canonical.] - expected: FAIL - [The serialization of outline-width: 2px; outline-style: dotted; outline-color: blue; should be canonical.] expected: FAIL diff --git a/tests/wpt/metadata/css/geometry/DOMQuad-001.html.ini b/tests/wpt/metadata/css/geometry/DOMQuad-001.html.ini index 4e4725b3b63..826a7c7c3cf 100644 --- a/tests/wpt/metadata/css/geometry/DOMQuad-001.html.ini +++ b/tests/wpt/metadata/css/geometry/DOMQuad-001.html.ini @@ -24,3 +24,6 @@ [boundsAttribute1: points] expected: FAIL + [p1Top4Attributes1: bounds] + expected: FAIL + diff --git a/tests/wpt/metadata/css/geometry/DOMRectList.html.ini b/tests/wpt/metadata/css/geometry/DOMRectList.html.ini index e110991bf13..810eaeba14f 100644 --- a/tests/wpt/metadata/css/geometry/DOMRectList.html.ini +++ b/tests/wpt/metadata/css/geometry/DOMRectList.html.ini @@ -2,3 +2,9 @@ [DOMRectList item()] expected: FAIL + [DOMRectList is not [NoInterfaceObject\]] + expected: FAIL + + [DOMRectList is not [LegacyArrayClass\]] + expected: FAIL + diff --git a/tests/wpt/metadata/fetch/api/basic/integrity-sharedworker.html.ini b/tests/wpt/metadata/fetch/api/basic/integrity-sharedworker.html.ini deleted file mode 100644 index 28b184537a6..00000000000 --- a/tests/wpt/metadata/fetch/api/basic/integrity-sharedworker.html.ini +++ /dev/null @@ -1,5 +0,0 @@ -[integrity-sharedworker.html] - type: testharness - [Fetch in sharedworker: integrity handling] - expected: FAIL - diff --git a/tests/wpt/metadata/fetch/api/basic/integrity-worker.html.ini b/tests/wpt/metadata/fetch/api/basic/integrity-worker.html.ini deleted file mode 100644 index b0388b78fe4..00000000000 --- a/tests/wpt/metadata/fetch/api/basic/integrity-worker.html.ini +++ /dev/null @@ -1,20 +0,0 @@ -[integrity-worker.html] - type: testharness - [Invalid integrity] - expected: FAIL - - [Multiple integrities: invalid stronger than valid] - expected: FAIL - - [Multiple integrities: both are invalid] - expected: FAIL - - [CORS invalid integrity] - expected: FAIL - - [Empty string integrity for opaque response] - expected: FAIL - - [SHA-* integrity for opaque response] - expected: FAIL - diff --git a/tests/wpt/metadata/fetch/api/basic/integrity.html.ini b/tests/wpt/metadata/fetch/api/basic/integrity.html.ini deleted file mode 100644 index 9bdd3c7398e..00000000000 --- a/tests/wpt/metadata/fetch/api/basic/integrity.html.ini +++ /dev/null @@ -1,20 +0,0 @@ -[integrity.html] - type: testharness - [Invalid integrity] - expected: FAIL - - [Multiple integrities: invalid stronger than valid] - expected: FAIL - - [Multiple integrities: both are invalid] - expected: FAIL - - [CORS invalid integrity] - expected: FAIL - - [Empty string integrity for opaque response] - expected: FAIL - - [SHA-* integrity for opaque response] - expected: FAIL - diff --git a/tests/wpt/metadata/fetch/api/basic/integrity.sub.any.js.ini b/tests/wpt/metadata/fetch/api/basic/integrity.sub.any.js.ini new file mode 100644 index 00000000000..595efba71cd --- /dev/null +++ b/tests/wpt/metadata/fetch/api/basic/integrity.sub.any.js.ini @@ -0,0 +1,44 @@ +[integrity.sub.any.sharedworker.html] + [Untitled] + expected: FAIL + + +[integrity.sub.any.worker.html] + [Invalid integrity] + expected: FAIL + + [Multiple integrities: invalid stronger than valid] + expected: FAIL + + [Multiple integrities: both are invalid] + expected: FAIL + + [CORS invalid integrity] + expected: FAIL + + [Empty string integrity for opaque response] + expected: FAIL + + [SHA-* integrity for opaque response] + expected: FAIL + + +[integrity.sub.any.html] + [Invalid integrity] + expected: FAIL + + [Multiple integrities: invalid stronger than valid] + expected: FAIL + + [Multiple integrities: both are invalid] + expected: FAIL + + [CORS invalid integrity] + expected: FAIL + + [Empty string integrity for opaque response] + expected: FAIL + + [SHA-* integrity for opaque response] + expected: FAIL + diff --git a/tests/wpt/metadata/fetch/api/basic/mode-no-cors-worker.html.ini b/tests/wpt/metadata/fetch/api/basic/mode-no-cors-worker.html.ini deleted file mode 100644 index c4bbb4a0c0c..00000000000 --- a/tests/wpt/metadata/fetch/api/basic/mode-no-cors-worker.html.ini +++ /dev/null @@ -1,8 +0,0 @@ -[mode-no-cors-worker.html] - type: testharness - [Fetch https://web-platform.test:8443/fetch/api/resources/top.txt with no-cors mode] - expected: FAIL - - [Fetch http://web-platform.test:8001/fetch/api/resources/top.txt with no-cors mode] - expected: FAIL - diff --git a/tests/wpt/metadata/fetch/api/basic/mode-no-cors.html.ini b/tests/wpt/metadata/fetch/api/basic/mode-no-cors.html.ini deleted file mode 100644 index 83125d3da86..00000000000 --- a/tests/wpt/metadata/fetch/api/basic/mode-no-cors.html.ini +++ /dev/null @@ -1,8 +0,0 @@ -[mode-no-cors.html] - type: testharness - [Fetch https://web-platform.test:8443/fetch/api/resources/top.txt with no-cors mode] - expected: FAIL - - [Fetch http://web-platform.test:8001/fetch/api/resources/top.txt with no-cors mode] - expected: FAIL - diff --git a/tests/wpt/metadata/fetch/api/basic/mode-no-cors.sub.any.js.ini b/tests/wpt/metadata/fetch/api/basic/mode-no-cors.sub.any.js.ini new file mode 100644 index 00000000000..2f4e3c3d3b6 --- /dev/null +++ b/tests/wpt/metadata/fetch/api/basic/mode-no-cors.sub.any.js.ini @@ -0,0 +1,15 @@ +[mode-no-cors.sub.any.worker.html] + [Fetch https://web-platform.test:8443/fetch/api/resources/top.txt with no-cors mode] + expected: FAIL + + [Fetch http://web-platform.test:8001/fetch/api/resources/top.txt with no-cors mode] + expected: FAIL + + +[mode-no-cors.sub.any.html] + [Fetch https://web-platform.test:8443/fetch/api/resources/top.txt with no-cors mode] + expected: FAIL + + [Fetch http://web-platform.test:8001/fetch/api/resources/top.txt with no-cors mode] + expected: FAIL + diff --git a/tests/wpt/metadata/fetch/corb/img-mime-types-coverage.tentative.sub.html.ini b/tests/wpt/metadata/fetch/corb/img-mime-types-coverage.tentative.sub.html.ini index 18a49345106..e607184f037 100644 --- a/tests/wpt/metadata/fetch/corb/img-mime-types-coverage.tentative.sub.html.ini +++ b/tests/wpt/metadata/fetch/corb/img-mime-types-coverage.tentative.sub.html.ini @@ -2,3 +2,45 @@ [Untitled] expected: FAIL + [CORB should allow the response if Content-Type is: 'image/svg+xml'. ] + expected: FAIL + + [CORB should block the response if Content-Type is: 'text/html'. ] + expected: FAIL + + [CORB should block the response if Content-Type is: 'text/json'. ] + expected: FAIL + + [CORB should block the response if Content-Type is: 'application/json'. ] + expected: FAIL + + [CORB should block the response if Content-Type is: 'text/xml'. ] + expected: FAIL + + [CORB should block the response if Content-Type is: 'application/xml'. ] + expected: FAIL + + [CORB should block the response if Content-Type is: 'application/blah+json'. ] + expected: FAIL + + [CORB should block the response if Content-Type is: 'text/blah+json'. ] + expected: FAIL + + [CORB should block the response if Content-Type is: 'application/blah+xml'. ] + expected: FAIL + + [CORB should block the response if Content-Type is: 'text/blah+xml'. ] + expected: FAIL + + [CORB should block the response if Content-Type is: 'TEXT/HTML'. ] + expected: FAIL + + [CORB should block the response if Content-Type is: 'TEXT/JSON'. ] + expected: FAIL + + [CORB should block the response if Content-Type is: 'TEXT/BLAH+JSON'. ] + expected: FAIL + + [CORB should block the response if Content-Type is: 'APPLICATION/BLAH+XML'. ] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/javascript-url-abort/javascript-url-abort-return-value-undefined.tentative.html.ini b/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/javascript-url-abort/javascript-url-abort-return-value-undefined.tentative.html.ini index 5b38c37b086..78879bad5f1 100644 --- a/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/javascript-url-abort/javascript-url-abort-return-value-undefined.tentative.html.ini +++ b/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/javascript-url-abort/javascript-url-abort-return-value-undefined.tentative.html.ini @@ -1,4 +1,5 @@ [javascript-url-abort-return-value-undefined.tentative.html] + expected: TIMEOUT [Not aborting fetch for javascript:undefined navigation] - expected: FAIL + expected: TIMEOUT diff --git a/tests/wpt/web-platform-tests/FileAPI/historical.https.html b/tests/wpt/web-platform-tests/FileAPI/historical.https.html index 9d78b5690fb..877aed06466 100644 --- a/tests/wpt/web-platform-tests/FileAPI/historical.https.html +++ b/tests/wpt/web-platform-tests/FileAPI/historical.https.html @@ -10,17 +10,20 @@
diff --git a/tests/wpt/web-platform-tests/content-security-policy/frame-ancestors/frame-ancestors-overrides-xfo.html b/tests/wpt/web-platform-tests/content-security-policy/frame-ancestors/frame-ancestors-overrides-xfo.html index 2db0b7f6f7f..4b7b0994c00 100644 --- a/tests/wpt/web-platform-tests/content-security-policy/frame-ancestors/frame-ancestors-overrides-xfo.html +++ b/tests/wpt/web-platform-tests/content-security-policy/frame-ancestors/frame-ancestors-overrides-xfo.html @@ -10,7 +10,7 @@ var i = document.createElement('iframe'); i.src = "support/frame-ancestors-and-x-frame-options.sub.html?policy='self'&xfo=DENY"; i.onload = t.step_func_done(function () { - assert_equals(i.contentDocument.origin, document.origin, "The same-origin page loaded."); + assert_equals(i.contentWindow.origin, window.origin, "The same-origin page loaded."); }); document.body.appendChild(i); }, "A 'frame-ancestors' CSP directive overrides an 'x-frame-options' header which would block the page."); diff --git a/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/shape-image/shape-image-010.html b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/shape-image/shape-image-010.html index aedab213e57..df993be751b 100644 --- a/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/shape-image/shape-image-010.html +++ b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/shape-image/shape-image-010.html @@ -40,7 +40,7 @@ height: 100px; shape-outside: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAALpJREFUeNrs0UEVABAURcHP5pcRSxpR9FHGhhycuQ3emxI9TnxQ7pxttfH6jhoCIiBABASIgAARECACIiBABASIgAARECACIiBABASIgAARECACIiBABASIgAARECACIiBABASIgAARECACIiBABASIgAARECACIiBABASIgAARECACIiBABASIgAARECACIiBABASIgAARECACAsQFQAQEiIAAERAgAgJEQAQEiIAAEZDPuwAAAP//AwCf+AWUylJrCQAAAABJRU5ErkJggg==); shape-margin: 5%; - shape-image-threshold: 0.25; + shape-image-threshold: 0.7; } .blue { width: 2px; diff --git a/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-027.html b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-027.html index 2141c12efab..b00f6c47583 100644 --- a/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-027.html +++ b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-027.html @@ -36,7 +36,7 @@ padding: 10px; border: 10px solid transparent; shape-margin: 15px; - shape-outside: margin-box circle(35% at 85px 75px); + shape-outside: margin-box circle(60px); } #line { position: absolute; diff --git a/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-015.html b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-015.html index 3502f8b960a..1a434a0ef6e 100644 --- a/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-015.html +++ b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-015.html @@ -34,7 +34,7 @@ margin: 10px; padding: 10px; border: 10px solid transparent; - shape-outside: padding-box ellipse(closest-side at 75px 80px); + shape-outside: padding-box ellipse(closest-side closest-side at 75px 80px); } #line { position: absolute; diff --git a/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-017.html b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-017.html index 3cf6089f11a..fd9b816d4a1 100644 --- a/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-017.html +++ b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-017.html @@ -36,7 +36,7 @@ padding: 10px; border: 10px solid transparent; shape-margin: 10px; - shape-outside: content-box ellipse(farthest-side); + shape-outside: content-box ellipse(farthest-side closest-side); } #line { position: absolute; diff --git a/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-010.html b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-010.html index 72147aaf5da..49627c8f1f0 100644 --- a/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-010.html +++ b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-010.html @@ -19,8 +19,7 @@ #test-container { width: 200px; height: 200px; - font-family: Ahem; - font-size: 25px; + font: 25px/1 Ahem; background-color: red; color: green; } diff --git a/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-011.html b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-011.html index 9a651844dc0..96d242148b0 100644 --- a/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-011.html +++ b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-011.html @@ -21,6 +21,7 @@ height: 200px; font-family: Ahem; font-size: 25px; + line-height: 1; background-color: red; color: green; } diff --git a/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-012.html b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-012.html index d7988c251f0..b9dbe52bbcc 100644 --- a/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-012.html +++ b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-012.html @@ -22,6 +22,7 @@ height: 200px; font-family: Ahem; font-size: 25px; + line-height: 1; background-color: red; color: green; } diff --git a/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-013.html b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-013.html index 03e4baaa987..d49dd703cc7 100644 --- a/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-013.html +++ b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-013.html @@ -22,6 +22,7 @@ height: 200px; font-family: Ahem; font-size: 25px; + line-height: 1; background-color: red; color: green; } diff --git a/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-014.html b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-014.html index bb791a5285a..30604af7613 100644 --- a/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-014.html +++ b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-014.html @@ -22,6 +22,7 @@ height: 200px; font-family: Ahem; font-size: 25px; + line-height: 1; background-color: red; color: green; } diff --git a/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-015.html b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-015.html index b2e0e06b030..da54fb23dad 100644 --- a/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-015.html +++ b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-015.html @@ -22,6 +22,7 @@ height: 200px; font-family: Ahem; font-size: 25px; + line-height: 1; background-color: red; color: green; } diff --git a/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-028.html b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-028.html new file mode 100644 index 00000000000..2e0d9abed54 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-028.html @@ -0,0 +1,56 @@ + + + + CSS Test: left float, inset, px units + + + + + + + + + + +

The test passes if there is a green square and no red.

+
+
+
+ XXXXXXXX XXXXXXXX XXXX XXXX XXXX XXXX XXXXXXXX XXXXXXXX +
+
+
+ + diff --git a/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-029.html b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-029.html new file mode 100644 index 00000000000..fe30d4371f7 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-029.html @@ -0,0 +1,56 @@ + + + + CSS Test: left float, inset, px units + + + + + + + + + + +

The test passes if there is a green square and no red.

+
+
+
+ XXXXXXXX XXXXXXXX XXXX XXXX XXXX XXXX XXXXXXXX XXXXXXXX +
+
+
+ + diff --git a/tests/wpt/web-platform-tests/css/cssom/overflow-serialization.html b/tests/wpt/web-platform-tests/css/cssom/overflow-serialization.html index 7e2d1767a0b..136b8aba117 100644 --- a/tests/wpt/web-platform-tests/css/cssom/overflow-serialization.html +++ b/tests/wpt/web-platform-tests/css/cssom/overflow-serialization.html @@ -2,7 +2,7 @@ - CSSOM - Overlow property has different serialization than other shorthands. + CSSOM - Overflow shorthand serialization @@ -11,7 +11,7 @@ div { overflow: hidden; } div { overflow-x: initial; overflow-y: initial; } div { overflow-x: scroll; overflow-y: scroll; } - div { overflow-x: inherit; overflow-y: unset; } + div { overflow-x: scroll; overflow-y: hidden; } diff --git a/tests/wpt/web-platform-tests/css/cssom/shorthand-values.html b/tests/wpt/web-platform-tests/css/cssom/shorthand-values.html index eb756b53927..d8d7f5349a4 100644 --- a/tests/wpt/web-platform-tests/css/cssom/shorthand-values.html +++ b/tests/wpt/web-platform-tests/css/cssom/shorthand-values.html @@ -32,7 +32,7 @@ 'border: 1px; border-top-color: red;': 'border-width: 1px; border-top-color: red;', 'border: solid; border-style: dotted': 'border: dotted;', 'border-width: 1px;': 'border-width: 1px;', - 'overflow-x: scroll; overflow-y: hidden;': 'overflow-x: scroll; overflow-y: hidden;', + 'overflow-x: scroll; overflow-y: hidden;': 'overflow: scroll hidden;', 'overflow-x: scroll; overflow-y: scroll;': 'overflow: scroll;', 'outline-width: 2px; outline-style: dotted; outline-color: blue;': 'outline: blue dotted 2px;', 'margin-top: 1px; margin-right: 2px; margin-bottom: 3px; margin-left: 4px;': 'margin: 1px 2px 3px 4px;', diff --git a/tests/wpt/web-platform-tests/css/geometry/DOMQuad-001.html b/tests/wpt/web-platform-tests/css/geometry/DOMQuad-001.html index cfeaed7589f..4cafa02e98c 100644 --- a/tests/wpt/web-platform-tests/css/geometry/DOMQuad-001.html +++ b/tests/wpt/web-platform-tests/css/geometry/DOMQuad-001.html @@ -44,31 +44,31 @@ },'testConstructor4'); checkDOMQuad( - function() { return new DOMQuad(new DOMRect(10, 20, 100, 200)); }, + function() { return DOMQuad.fromRect(new DOMRect(10, 20, 100, 200)); }, { p1: { x: 10, y: 20, z: 0, w: 1 }, p2: { x: 110, y: 20, z: 0, w: 1 }, p3: { x: 110, y: 220, z: 0, w: 1 }, p4: { x: 10, y: 220, z: 0, w: 1 }, bounds: { x: 10, y: 20, width: 100, height: 200 } }, - 'testConstructor5'); + 'fromRect() method on DOMQuad'); checkDOMQuad( - function() { return new DOMQuad(new DOMRect(10, 20, -100, -200)) }, + function() { return DOMQuad.fromRect(new DOMRect(10, 20, -100, -200)) }, { p1: { x: 10, y: 20, z: 0, w: 1 }, p2: { x: -90, y: 20, z: 0, w: 1 }, p3: { x: -90, y: -180, z: 0, w: 1 }, p4: { x: 10, y: -180, z: 0, w: 1 }, bounds: { x: -90, y: -180, width: 100, height: 200 } }, - 'testConstructor6'); + 'fromRect() method on DOMQuad with negatives'); checkDOMQuad( - function() { return new DOMQuad(new DOMRect(-Infinity, -Infinity, Infinity, Infinity)) }, + function() { return DOMQuad.fromRect(new DOMRect(-Infinity, -Infinity, Infinity, Infinity)) }, { p1: { x: -Infinity, y: -Infinity, z: 0, w: 1 }, p2: { x: NaN, y: -Infinity, z: 0, w: 1 }, p3: { x: NaN, y: NaN, z: 0, w: 1 }, p4: { x: -Infinity, y: NaN, z: 0, w: 1 }, bounds: { x: -Infinity, y: -Infinity, width: NaN, height: NaN } }, - 'testConstructor7'); + 'fromRect() method on DOMQuad with Infinity'); checkDOMQuad(function() { return new DOMQuad(new DOMRect()); }, initial, 'testConstructor8'); @@ -120,15 +120,9 @@ p2: { x: 2, y: 0, z: 0, w: 1 }, p3: { x: 2, y: 0, z: 0, w: 1 }, p4: { x: 2, y: 0, z: 0, w: 1 }, - bounds: { x: 2, y: 0, width: 0, height: 0 } }, + bounds: { x: 0, y: 0, width: 0, height: 0 } }, 'p1Top4Attributes1'); - checkDOMQuad(function() { - var q = new DOMQuad({}, {}, {}, {}); - q.bounds = new DOMRect(10, 10, 100, 100); - return q; - }, initial, 'boundsAttribute0'); - function checkDOMQuad(createQuad, exp, name) { test(function() { var q = createQuad(); diff --git a/tests/wpt/web-platform-tests/css/geometry/DOMRectList.html b/tests/wpt/web-platform-tests/css/geometry/DOMRectList.html index f128a059cc5..f3d050cd5f2 100644 --- a/tests/wpt/web-platform-tests/css/geometry/DOMRectList.html +++ b/tests/wpt/web-platform-tests/css/geometry/DOMRectList.html @@ -10,12 +10,12 @@ setup(() => { }); test(() => { - assert_false('DOMRectList' in window); -}, 'DOMRectList [NoInterfaceObject]'); + assert_true('DOMRectList' in window); +}, 'DOMRectList is not [NoInterfaceObject]'); test(() => { - assert_true(domRectList instanceof Array); -}, 'DOMRectList [LegacyArrayClass]'); + assert_false(domRectList instanceof Array); +}, 'DOMRectList is not [LegacyArrayClass]'); test(() => { assert_equals(domRectList.length, 1); diff --git a/tests/wpt/web-platform-tests/dom/historical.html b/tests/wpt/web-platform-tests/dom/historical.html index 388366c084c..b45bebfb662 100644 --- a/tests/wpt/web-platform-tests/dom/historical.html +++ b/tests/wpt/web-platform-tests/dom/historical.html @@ -12,12 +12,14 @@ function isInterfaceNuked(name) { } var nukedInterfaces = [ "DOMConfiguration", + "DOMCursor", "DOMError", "DOMErrorHandler", "DOMImplementationList", "DOMImplementationSource", "DOMLocator", "DOMObject", + "DOMRequest", "DOMSettableTokenList", "DOMUserData", "Entity", diff --git a/tests/wpt/web-platform-tests/encoding/legacy-mb-japanese/iso-2022-jp/iso2022jp-encode-href-ascii.html b/tests/wpt/web-platform-tests/encoding/legacy-mb-japanese/iso-2022-jp/iso2022jp-encode-href-ascii.html deleted file mode 100644 index d5a747b12e0..00000000000 --- a/tests/wpt/web-platform-tests/encoding/legacy-mb-japanese/iso-2022-jp/iso2022jp-encode-href-ascii.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - -ISO 2022-JP encoding (href) - - - - - - - - - - - -
- - diff --git a/tests/wpt/web-platform-tests/encoding/legacy-mb-korean/euc-kr/euckr-encode-form-errors-hangul.html b/tests/wpt/web-platform-tests/encoding/legacy-mb-korean/euc-kr/euckr-encode-form-errors-hangul.html deleted file mode 100644 index 1a79c6fc9ae..00000000000 --- a/tests/wpt/web-platform-tests/encoding/legacy-mb-korean/euc-kr/euckr-encode-form-errors-hangul.html +++ /dev/null @@ -1,181 +0,0 @@ - - - -EUC-KR encoding errors (form, hangul) - - - - - - - - - - - -
- - - diff --git a/tests/wpt/web-platform-tests/fetch/api/basic/integrity-sharedworker.html b/tests/wpt/web-platform-tests/fetch/api/basic/integrity-sharedworker.html deleted file mode 100644 index fa90a60ce98..00000000000 --- a/tests/wpt/web-platform-tests/fetch/api/basic/integrity-sharedworker.html +++ /dev/null @@ -1,15 +0,0 @@ - - - - - Fetch in sharedworker: integrity handling - - - - - - - - diff --git a/tests/wpt/web-platform-tests/fetch/api/basic/integrity-worker.html b/tests/wpt/web-platform-tests/fetch/api/basic/integrity-worker.html deleted file mode 100644 index 9240bc6325a..00000000000 --- a/tests/wpt/web-platform-tests/fetch/api/basic/integrity-worker.html +++ /dev/null @@ -1,16 +0,0 @@ - - - - - Fetch in worker: integrity handling - - - - - - - - - \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/fetch/api/basic/integrity.html b/tests/wpt/web-platform-tests/fetch/api/basic/integrity.html deleted file mode 100644 index 150c9b71d54..00000000000 --- a/tests/wpt/web-platform-tests/fetch/api/basic/integrity.html +++ /dev/null @@ -1,15 +0,0 @@ - - - - - Fetch: integrity handling - - - - - - - - - - \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/fetch/api/basic/integrity.js b/tests/wpt/web-platform-tests/fetch/api/basic/integrity.sub.any.js similarity index 96% rename from tests/wpt/web-platform-tests/fetch/api/basic/integrity.js rename to tests/wpt/web-platform-tests/fetch/api/basic/integrity.sub.any.js index fb3f252ea68..d487c3738ac 100644 --- a/tests/wpt/web-platform-tests/fetch/api/basic/integrity.js +++ b/tests/wpt/web-platform-tests/fetch/api/basic/integrity.sub.any.js @@ -1,7 +1,5 @@ -if (this.document === undefined) { - importScripts("/resources/testharness.js"); - importScripts("../resources/utils.js"); -} +// META: global=sharedworker +// META: script=../resources/utils.js function integrity(desc, url, integrity, initRequestMode, shouldPass) { var fetchRequestInit = {'integrity': integrity} diff --git a/tests/wpt/web-platform-tests/fetch/api/basic/mode-no-cors-worker.html b/tests/wpt/web-platform-tests/fetch/api/basic/mode-no-cors-worker.html deleted file mode 100644 index 87376a130f8..00000000000 --- a/tests/wpt/web-platform-tests/fetch/api/basic/mode-no-cors-worker.html +++ /dev/null @@ -1,17 +0,0 @@ - - - - - Fetch in worker: no-cors mode and opaque filtering - - - - - - - - - - \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/fetch/api/basic/mode-no-cors.html b/tests/wpt/web-platform-tests/fetch/api/basic/mode-no-cors.html deleted file mode 100644 index 7aee3790933..00000000000 --- a/tests/wpt/web-platform-tests/fetch/api/basic/mode-no-cors.html +++ /dev/null @@ -1,16 +0,0 @@ - - - - - Fetch: no-cors mode and opaque filtering - - - - - - - - - - - \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/fetch/api/basic/mode-no-cors.js b/tests/wpt/web-platform-tests/fetch/api/basic/mode-no-cors.sub.any.js similarity index 91% rename from tests/wpt/web-platform-tests/fetch/api/basic/mode-no-cors.js rename to tests/wpt/web-platform-tests/fetch/api/basic/mode-no-cors.sub.any.js index 53e849051ef..709eef5bf1d 100644 --- a/tests/wpt/web-platform-tests/fetch/api/basic/mode-no-cors.js +++ b/tests/wpt/web-platform-tests/fetch/api/basic/mode-no-cors.sub.any.js @@ -1,7 +1,4 @@ -if (this.document === undefined) { - importScripts("/resources/testharness.js"); - importScripts("../resources/utils.js"); -} +// META: script=../resources/utils.js function fetchNoCors(url, isOpaqueFiltered) { var urlQuery = "?pipe=header(x-is-filtered,value)" diff --git a/tests/wpt/web-platform-tests/fetch/api/basic/response-url-worker.html b/tests/wpt/web-platform-tests/fetch/api/basic/response-url-worker.html deleted file mode 100644 index 03374e0f635..00000000000 --- a/tests/wpt/web-platform-tests/fetch/api/basic/response-url-worker.html +++ /dev/null @@ -1,15 +0,0 @@ - - - - - Fetch in worker: response url getter - - - - - - - - diff --git a/tests/wpt/web-platform-tests/fetch/api/basic/response-url.html b/tests/wpt/web-platform-tests/fetch/api/basic/response-url.html deleted file mode 100644 index dfe9d96c7a4..00000000000 --- a/tests/wpt/web-platform-tests/fetch/api/basic/response-url.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - Fetch: response url getter - - - - - - - - diff --git a/tests/wpt/web-platform-tests/fetch/api/basic/response-url.js b/tests/wpt/web-platform-tests/fetch/api/basic/response-url.sub.any.js similarity index 86% rename from tests/wpt/web-platform-tests/fetch/api/basic/response-url.js rename to tests/wpt/web-platform-tests/fetch/api/basic/response-url.sub.any.js index 91b553aaef0..0d123c42944 100644 --- a/tests/wpt/web-platform-tests/fetch/api/basic/response-url.js +++ b/tests/wpt/web-platform-tests/fetch/api/basic/response-url.sub.any.js @@ -1,7 +1,3 @@ -if (this.document === undefined) { - importScripts("/resources/testharness.js"); -} - function checkResponseURL(fetchedURL, expectedURL) { promise_test(function() { @@ -18,4 +14,3 @@ checkResponseURL(baseURL + "/#ada", baseURL + "/"); checkResponseURL(baseURL + "#ada", baseURL + "/"); done(); - diff --git a/tests/wpt/web-platform-tests/fetch/api/basic/scheme-blob-worker.html b/tests/wpt/web-platform-tests/fetch/api/basic/scheme-blob-worker.html deleted file mode 100644 index 961ecbd525b..00000000000 --- a/tests/wpt/web-platform-tests/fetch/api/basic/scheme-blob-worker.html +++ /dev/null @@ -1,17 +0,0 @@ - - - - - Fetch in worker: blob scheme - - - - - - - - - - \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/fetch/api/basic/scheme-blob.html b/tests/wpt/web-platform-tests/fetch/api/basic/scheme-blob.html deleted file mode 100644 index 7787c3710f6..00000000000 --- a/tests/wpt/web-platform-tests/fetch/api/basic/scheme-blob.html +++ /dev/null @@ -1,16 +0,0 @@ - - - - - Fetch: blob scheme - - - - - - - - - - - \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/fetch/api/basic/scheme-blob.js b/tests/wpt/web-platform-tests/fetch/api/basic/scheme-blob.sub.any.js similarity index 92% rename from tests/wpt/web-platform-tests/fetch/api/basic/scheme-blob.js rename to tests/wpt/web-platform-tests/fetch/api/basic/scheme-blob.sub.any.js index 9bf73a69365..fb1357eaf29 100644 --- a/tests/wpt/web-platform-tests/fetch/api/basic/scheme-blob.js +++ b/tests/wpt/web-platform-tests/fetch/api/basic/scheme-blob.sub.any.js @@ -1,7 +1,4 @@ -if (this.document === undefined) { - importScripts("/resources/testharness.js"); - importScripts("../resources/utils.js"); -} +// META: script=../resources/utils.js function checkFetchResponse(url, data, mime, size, desc) { promise_test(function(test) { diff --git a/tests/wpt/web-platform-tests/fetch/api/basic/scheme-others-worker.html b/tests/wpt/web-platform-tests/fetch/api/basic/scheme-others-worker.html deleted file mode 100644 index 397d9257b1b..00000000000 --- a/tests/wpt/web-platform-tests/fetch/api/basic/scheme-others-worker.html +++ /dev/null @@ -1,17 +0,0 @@ - - - - - Fetch in worker: urls with unsupported schemes - - - - - - - - - - \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/fetch/api/basic/scheme-others.html b/tests/wpt/web-platform-tests/fetch/api/basic/scheme-others.html deleted file mode 100644 index dd37143b0f1..00000000000 --- a/tests/wpt/web-platform-tests/fetch/api/basic/scheme-others.html +++ /dev/null @@ -1,16 +0,0 @@ - - - - - Fetch: urls with unsupported schemes - - - - - - - - - - - \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/fetch/api/basic/scheme-others.js b/tests/wpt/web-platform-tests/fetch/api/basic/scheme-others.sub.any.js similarity index 88% rename from tests/wpt/web-platform-tests/fetch/api/basic/scheme-others.js rename to tests/wpt/web-platform-tests/fetch/api/basic/scheme-others.sub.any.js index ce02ec1340a..5f9848ff4c2 100644 --- a/tests/wpt/web-platform-tests/fetch/api/basic/scheme-others.js +++ b/tests/wpt/web-platform-tests/fetch/api/basic/scheme-others.sub.any.js @@ -1,7 +1,4 @@ -if (this.document === undefined) { - importScripts("/resources/testharness.js"); - importScripts("../resources/utils.js"); -} +// META: script=../resources/utils.js function checkKoUrl(url, desc) { if (!desc) diff --git a/tests/wpt/web-platform-tests/fetch/corb/README.md b/tests/wpt/web-platform-tests/fetch/corb/README.md index f16943ebf72..04c5b8a8f3d 100644 --- a/tests/wpt/web-platform-tests/fetch/corb/README.md +++ b/tests/wpt/web-platform-tests/fetch/corb/README.md @@ -26,18 +26,8 @@ Tests that cover behavior that is changed by CORB have to be marked as is included in the official [Fetch spec](https://fetch.spec.whatwg.org/). Such tests may fail unless CORB is enabled. In practice this means that: -* Such tests will fail in default Chromium and have to be listed - in `third_party/WebKit/LayoutTests/TestExpectations` and associated - with https://crbug.com/802835. -* Such tests will pass in Chromium when either - 1) CORB is explicitly, manually enabled by passing extra cmdline flags to - `run-webkit-tests`: - `--additional-driver-flag=--enable-features=CrossSiteDocumentBlockingAlways` and - `--additional-expectations=third_party/WebKit/LayoutTests/FlagExpectations/site-per-process`. - 2) CORB is implicitly enabled via Site Isolation (e.g. in - `site_per_process_webkit_layout_tests` step on the test bots). The - expectations that the tests pass in this mode is controlled by the - `third_party/WebKit/LayoutTests/FlagExpectations/site-per-process` file. +* Such tests will pass in Chromium + (where CORB is enabled by default [since M68](https://crrev.com/553830)). * Such tests may fail in other browsers. diff --git a/tests/wpt/web-platform-tests/fetch/corb/img-mime-types-coverage.tentative.sub.html b/tests/wpt/web-platform-tests/fetch/corb/img-mime-types-coverage.tentative.sub.html index 4ed8f018e92..7ccc41b4b5f 100644 --- a/tests/wpt/web-platform-tests/fetch/corb/img-mime-types-coverage.tentative.sub.html +++ b/tests/wpt/web-platform-tests/fetch/corb/img-mime-types-coverage.tentative.sub.html @@ -28,7 +28,7 @@ // - https://tools.ietf.org/html/rfc7303 "text/x-json", "text/json+blah", "application/json+blah", "text/xml+blah", "application/xml+blah", - "application/blahjson", "text/blahxml", + "application/blahjson", "text/blahxml"] var fails = [ // CORB-protected MIME-types - i.e. ones covered by: diff --git a/tests/wpt/web-platform-tests/images/wpt-logo/wpt-logo-darkblue-bg.svg b/tests/wpt/web-platform-tests/images/wpt-logo/wpt-logo-darkblue-bg.svg new file mode 100644 index 00000000000..49f374c00cd --- /dev/null +++ b/tests/wpt/web-platform-tests/images/wpt-logo/wpt-logo-darkblue-bg.svg @@ -0,0 +1,9 @@ + + + + + diff --git a/tests/wpt/web-platform-tests/images/wpt-logo/wpt-logo-darkblue.svg b/tests/wpt/web-platform-tests/images/wpt-logo/wpt-logo-darkblue.svg new file mode 100644 index 00000000000..2db07da7894 --- /dev/null +++ b/tests/wpt/web-platform-tests/images/wpt-logo/wpt-logo-darkblue.svg @@ -0,0 +1,8 @@ + + + + diff --git a/tests/wpt/web-platform-tests/images/wpt-logo/wpt-logo-lightblue-bg.svg b/tests/wpt/web-platform-tests/images/wpt-logo/wpt-logo-lightblue-bg.svg new file mode 100644 index 00000000000..2f61672df33 --- /dev/null +++ b/tests/wpt/web-platform-tests/images/wpt-logo/wpt-logo-lightblue-bg.svg @@ -0,0 +1,9 @@ + + + + + diff --git a/tests/wpt/web-platform-tests/images/wpt-logo/wpt-logo-orange-bg.svg b/tests/wpt/web-platform-tests/images/wpt-logo/wpt-logo-orange-bg.svg new file mode 100644 index 00000000000..fde2c15f1b2 --- /dev/null +++ b/tests/wpt/web-platform-tests/images/wpt-logo/wpt-logo-orange-bg.svg @@ -0,0 +1,9 @@ + + + + + diff --git a/tests/wpt/web-platform-tests/images/wpt-logo/wpt-logo-white.svg b/tests/wpt/web-platform-tests/images/wpt-logo/wpt-logo-white.svg new file mode 100644 index 00000000000..4cab7b53e87 --- /dev/null +++ b/tests/wpt/web-platform-tests/images/wpt-logo/wpt-logo-white.svg @@ -0,0 +1,8 @@ + + + + diff --git a/tests/wpt/web-platform-tests/referrer-policy/generic/common.js b/tests/wpt/web-platform-tests/referrer-policy/generic/common.js index 345940113de..1ccdaabf077 100644 --- a/tests/wpt/web-platform-tests/referrer-policy/generic/common.js +++ b/tests/wpt/web-platform-tests/referrer-policy/generic/common.js @@ -248,7 +248,3 @@ function queryScript(url, callback) { function SanityChecker() {} SanityChecker.prototype.checkScenario = function() {}; SanityChecker.prototype.checkSubresourceResult = function() {}; - -// TODO(kristijanburnik): document.origin is supported since Chrome 41, -// other browsers still don't support it. Remove once they do. -document.origin = document.origin || (location.protocol + "//" + location.host); diff --git a/tests/wpt/web-platform-tests/referrer-policy/generic/referrer-policy-test-case.js b/tests/wpt/web-platform-tests/referrer-policy/generic/referrer-policy-test-case.js index b90ecfd93cc..7c8cba41f4c 100644 --- a/tests/wpt/web-platform-tests/referrer-policy/generic/referrer-policy-test-case.js +++ b/tests/wpt/web-platform-tests/referrer-policy/generic/referrer-policy-test-case.js @@ -29,7 +29,7 @@ function ReferrerPolicyTestCase(scenario, testDescription, sanityChecker) { return undefined; }, "origin": function() { - return document.origin + "/"; + return self.origin + "/"; }, "stripped-referrer": function() { return stripUrlForUseAsReferrer(location.toString()); diff --git a/tests/wpt/web-platform-tests/resources/idlharness.js b/tests/wpt/web-platform-tests/resources/idlharness.js index c5c0c9848d4..fe7239544cf 100644 --- a/tests/wpt/web-platform-tests/resources/idlharness.js +++ b/tests/wpt/web-platform-tests/resources/idlharness.js @@ -2166,7 +2166,7 @@ IdlInterface.prototype.test_member_iterable = function(member) //@{ { var interfaceName = this.name; - var isPairIterator = member.idlType instanceof Array; + var isPairIterator = member.idlType.length === 2; test(function() { var descriptor = Object.getOwnPropertyDescriptor(self[interfaceName].prototype, Symbol.iterator); diff --git a/tests/wpt/web-platform-tests/resources/test/tests/idlharness/IdlInterface/test_to_json_operation.html b/tests/wpt/web-platform-tests/resources/test/tests/idlharness/IdlInterface/test_to_json_operation.html index d9c3fcf611c..856b4b03553 100644 --- a/tests/wpt/web-platform-tests/resources/test/tests/idlharness/IdlInterface/test_to_json_operation.html +++ b/tests/wpt/web-platform-tests/resources/test/tests/idlharness/IdlInterface/test_to_json_operation.html @@ -176,7 +176,7 @@ "status_string": "FAIL" }, { - "message": "assert_true: {\"sequence\":false,\"generic\":null,\"nullable\":false,\"union\":false,\"idlType\":\"DOMException\"} is not an appropriate return value for the toJSON operation of N expected true got false", + "message": "assert_true: {\"type\":\"return-type\",\"sequence\":false,\"generic\":null,\"nullable\":false,\"union\":false,\"idlType\":\"DOMException\"} is not an appropriate return value for the toJSON operation of N expected true got false", "name": "Test toJSON operation of N", "properties": {}, "stack": "(implementation-defined)", diff --git a/tests/wpt/web-platform-tests/resources/testharness.js b/tests/wpt/web-platform-tests/resources/testharness.js index ec0090ce936..39a467c37a7 100644 --- a/tests/wpt/web-platform-tests/resources/testharness.js +++ b/tests/wpt/web-platform-tests/resources/testharness.js @@ -13,7 +13,7 @@ policies and contribution forms [3]. /* Documentation: http://web-platform-tests.org/writing-tests/testharness-api.html * (../docs/_writing-tests/testharness-api.md) */ -(function () +(function (global_scope) { var debug = false; // default timeout is 10 seconds, test can override if needed @@ -48,9 +48,6 @@ policies and contribution forms [3]. * * // Should return the test harness timeout duration in milliseconds. * float test_timeout(); - * - * // Should return the global scope object. - * object global_scope(); * }; */ @@ -248,10 +245,6 @@ policies and contribution forms [3]. return settings.harness_timeout.normal; }; - WindowTestEnvironment.prototype.global_scope = function() { - return window; - }; - /* * Base TestEnvironment implementation for a generic web worker. * @@ -344,10 +337,6 @@ policies and contribution forms [3]. return null; }; - WorkerTestEnvironment.prototype.global_scope = function() { - return self; - }; - /* * Dedicated web workers. * https://html.spec.whatwg.org/multipage/workers.html#dedicatedworkerglobalscope @@ -463,23 +452,23 @@ policies and contribution forms [3]. }; function create_test_environment() { - if ('document' in self) { + if ('document' in global_scope) { return new WindowTestEnvironment(); } - if ('DedicatedWorkerGlobalScope' in self && - self instanceof DedicatedWorkerGlobalScope) { + if ('DedicatedWorkerGlobalScope' in global_scope && + global_scope instanceof DedicatedWorkerGlobalScope) { return new DedicatedWorkerTestEnvironment(); } - if ('SharedWorkerGlobalScope' in self && - self instanceof SharedWorkerGlobalScope) { + if ('SharedWorkerGlobalScope' in global_scope && + global_scope instanceof SharedWorkerGlobalScope) { return new SharedWorkerTestEnvironment(); } - if ('ServiceWorkerGlobalScope' in self && - self instanceof ServiceWorkerGlobalScope) { + if ('ServiceWorkerGlobalScope' in global_scope && + global_scope instanceof ServiceWorkerGlobalScope) { return new ServiceWorkerTestEnvironment(); } - if ('WorkerGlobalScope' in self && - self instanceof WorkerGlobalScope) { + if ('WorkerGlobalScope' in global_scope && + global_scope instanceof WorkerGlobalScope) { return new DedicatedWorkerTestEnvironment(); } @@ -489,13 +478,13 @@ policies and contribution forms [3]. var test_environment = create_test_environment(); function is_shared_worker(worker) { - return 'SharedWorker' in self && worker instanceof SharedWorker; + return 'SharedWorker' in global_scope && worker instanceof SharedWorker; } function is_service_worker(worker) { // The worker object may be from another execution context, // so do not use instanceof here. - return 'ServiceWorker' in self && + return 'ServiceWorker' in global_scope && Object.prototype.toString.call(worker) == '[object ServiceWorker]'; } @@ -2824,7 +2813,7 @@ policies and contribution forms [3]. function expose(object, name) { var components = name.split("."); - var target = test_environment.global_scope(); + var target = global_scope; for (var i = 0; i < components.length - 1; i++) { if (!(components[i] in target)) { target[components[i]] = {}; @@ -2846,7 +2835,7 @@ policies and contribution forms [3]. /** Returns the 'src' URL of the first + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-audiobuffersourcenode-interface/ctor-audiobuffersource.html b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-audiobuffersourcenode-interface/ctor-audiobuffersource.html new file mode 100644 index 00000000000..c1c3203451e --- /dev/null +++ b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-audiobuffersourcenode-interface/ctor-audiobuffersource.html @@ -0,0 +1,116 @@ + + + + + Test Constructor: AudioBufferSource + + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-biquadfilternode-interface/ctor-biquadfilter.html b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-biquadfilternode-interface/ctor-biquadfilter.html new file mode 100644 index 00000000000..e63479f9859 --- /dev/null +++ b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-biquadfilternode-interface/ctor-biquadfilter.html @@ -0,0 +1,86 @@ + + + + + Test Constructor: BiquadFilter + + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-channelmergernode-interface/ctor-channelmerger.html b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-channelmergernode-interface/ctor-channelmerger.html new file mode 100644 index 00000000000..115bd994349 --- /dev/null +++ b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-channelmergernode-interface/ctor-channelmerger.html @@ -0,0 +1,109 @@ + + + + + Test Constructor: ChannelMerger + + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-channelsplitternode-interface/ctor-channelsplitter.html b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-channelsplitternode-interface/ctor-channelsplitter.html new file mode 100644 index 00000000000..7fa9d6fa546 --- /dev/null +++ b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-channelsplitternode-interface/ctor-channelsplitter.html @@ -0,0 +1,111 @@ + + + + + Test Constructor: ChannelSplitter + + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-constantsourcenode-interface/ctor-constantsource.html b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-constantsourcenode-interface/ctor-constantsource.html new file mode 100644 index 00000000000..ea4a65e146b --- /dev/null +++ b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-constantsourcenode-interface/ctor-constantsource.html @@ -0,0 +1,50 @@ + + + + + Test Constructor: ConstantSource + + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/ctor-convolver.html b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/ctor-convolver.html new file mode 100644 index 00000000000..cf818330060 --- /dev/null +++ b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/ctor-convolver.html @@ -0,0 +1,125 @@ + + + + + Test Constructor: Convolver + + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/ctor-delay.html b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/ctor-delay.html new file mode 100644 index 00000000000..e7ccefc6553 --- /dev/null +++ b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/ctor-delay.html @@ -0,0 +1,76 @@ + + + + + Test Constructor: Delay + + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-dynamicscompressornode-interface/ctor-dynamicscompressor.html b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-dynamicscompressornode-interface/ctor-dynamicscompressor.html new file mode 100644 index 00000000000..799c1872f07 --- /dev/null +++ b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-dynamicscompressornode-interface/ctor-dynamicscompressor.html @@ -0,0 +1,196 @@ + + + + + Test Constructor: DynamicsCompressor + + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-gainnode-interface/ctor-gain.html b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-gainnode-interface/ctor-gain.html new file mode 100644 index 00000000000..dec273e9698 --- /dev/null +++ b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-gainnode-interface/ctor-gain.html @@ -0,0 +1,79 @@ + + + + + Test Constructor: Gain + + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-iirfilternode-interface/ctor-iirfilter.html b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-iirfilternode-interface/ctor-iirfilter.html new file mode 100644 index 00000000000..bb89512ca62 --- /dev/null +++ b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-iirfilternode-interface/ctor-iirfilter.html @@ -0,0 +1,126 @@ + + + + + Test Constructor: IIRFilter + + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-offlineaudiocontext-interface/ctor-offlineaudiocontext.html b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-offlineaudiocontext-interface/ctor-offlineaudiocontext.html new file mode 100644 index 00000000000..79aafe7f1f0 --- /dev/null +++ b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-offlineaudiocontext-interface/ctor-offlineaudiocontext.html @@ -0,0 +1,203 @@ + + + + Test Constructor: OfflineAudioContext + + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-oscillatornode-interface/ctor-oscillator.html b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-oscillatornode-interface/ctor-oscillator.html new file mode 100644 index 00000000000..aaf77aec555 --- /dev/null +++ b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-oscillatornode-interface/ctor-oscillator.html @@ -0,0 +1,106 @@ + + + + + Test Constructor: Oscillator + + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/ctor-panner.html b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/ctor-panner.html new file mode 100644 index 00000000000..48b368ddf2d --- /dev/null +++ b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/ctor-panner.html @@ -0,0 +1,274 @@ + + + + + Test Constructor: Panner + + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-stereopanner-interface/ctor-stereopanner.html b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-stereopanner-interface/ctor-stereopanner.html new file mode 100644 index 00000000000..9de58cf783a --- /dev/null +++ b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-stereopanner-interface/ctor-stereopanner.html @@ -0,0 +1,125 @@ + + + + + Test Constructor: StereoPanner + + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-waveshapernode-interface/ctor-waveshaper.html b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-waveshapernode-interface/ctor-waveshaper.html new file mode 100644 index 00000000000..7aa33ca5aa3 --- /dev/null +++ b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-waveshapernode-interface/ctor-waveshaper.html @@ -0,0 +1,72 @@ + + + + + Test Constructor: WaveShaper + + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/webdriver/tests/cookies/add_cookie.py b/tests/wpt/web-platform-tests/webdriver/tests/cookies/add_cookie.py index 88b79fba8f6..f865a0827a2 100644 --- a/tests/wpt/web-platform-tests/webdriver/tests/cookies/add_cookie.py +++ b/tests/wpt/web-platform-tests/webdriver/tests/cookies/add_cookie.py @@ -1,70 +1,62 @@ -from tests.support.fixtures import clear_all_cookies from datetime import datetime, timedelta +from tests.support.asserts import assert_success +from tests.support.fixtures import clear_all_cookies + + +def add_cookie(session, cookie): + return session.transport.send( + "POST", "session/{session_id}/cookie".format(**vars(session)), + {"cookie": cookie}) + + def test_add_domain_cookie(session, url, server_config): + new_cookie = { + "name": "hello", + "value": "world", + "domain": server_config["browser_host"], + "path": "/", + "httpOnly": False, + "secure": False + } + session.url = url("/common/blank.html") clear_all_cookies(session) - create_cookie_request = { - "cookie": { - "name": "hello", - "value": "world", - "domain": server_config["domains"][""], - "path": "/", - "httpOnly": False, - "secure": False - } - } - result = session.transport.send("POST", "session/%s/cookie" % session.session_id, create_cookie_request) - assert result.status == 200 - assert "value" in result.body - assert result.body["value"] is None - result = session.transport.send("GET", "session/%s/cookie" % session.session_id) - assert result.status == 200 - assert "value" in result.body - assert isinstance(result.body["value"], list) - assert len(result.body["value"]) == 1 - assert isinstance(result.body["value"][0], dict) + result = add_cookie(session, new_cookie) + assert_success(result) - cookie = result.body["value"][0] + cookie = session.cookies("hello") + assert "domain" in cookie + assert isinstance(cookie["domain"], basestring) assert "name" in cookie assert isinstance(cookie["name"], basestring) assert "value" in cookie assert isinstance(cookie["value"], basestring) - assert "domain" in cookie - assert isinstance(cookie["domain"], basestring) assert cookie["name"] == "hello" assert cookie["value"] == "world" - assert cookie["domain"] == ".%s" % server_config["domains"][""] or cookie["domain"] == "%s" % server_config["domains"][""] + assert cookie["domain"] == server_config["browser_host"] or \ + cookie["domain"] == ".%s" % server_config["browser_host"] + def test_add_cookie_for_ip(session, url, server_config, configuration): - session.url = "http://127.0.0.1:%s/common/blank.html" % (server_config["ports"]["http"][0]) - clear_all_cookies(session) - create_cookie_request = { - "cookie": { - "name": "hello", - "value": "world", - "domain": "127.0.0.1", - "path": "/", - "httpOnly": False, - "secure": False - } + new_cookie = { + "name": "hello", + "value": "world", + "domain": "127.0.0.1", + "path": "/", + "httpOnly": False, + "secure": False } - result = session.transport.send("POST", "session/%s/cookie" % session.session_id, create_cookie_request) - assert result.status == 200 - assert "value" in result.body - assert result.body["value"] is None + session.url = "http://127.0.0.1:%s/common/blank.html" % (server_config["ports"]["http"][0]) + clear_all_cookies(session) - result = session.transport.send("GET", "session/%s/cookie" % session.session_id) - assert result.status == 200 - assert "value" in result.body - assert isinstance(result.body["value"], list) - assert len(result.body["value"]) == 1 - assert isinstance(result.body["value"][0], dict) + result = add_cookie(session, new_cookie) + assert_success(result) - cookie = result.body["value"][0] + cookie = session.cookies("hello") assert "name" in cookie assert isinstance(cookie["name"], basestring) assert "value" in cookie @@ -76,30 +68,24 @@ def test_add_cookie_for_ip(session, url, server_config, configuration): assert cookie["value"] == "world" assert cookie["domain"] == "127.0.0.1" + def test_add_non_session_cookie(session, url): + a_year_from_now = int( + (datetime.utcnow() + timedelta(days=365) - datetime.utcfromtimestamp(0)).total_seconds()) + + new_cookie = { + "name": "hello", + "value": "world", + "expiry": a_year_from_now + } + session.url = url("/common/blank.html") clear_all_cookies(session) - a_year_from_now = int((datetime.utcnow() + timedelta(days=365) - datetime.utcfromtimestamp(0)).total_seconds()) - create_cookie_request = { - "cookie": { - "name": "hello", - "value": "world", - "expiry": a_year_from_now - } - } - result = session.transport.send("POST", "session/%s/cookie" % session.session_id, create_cookie_request) - assert result.status == 200 - assert "value" in result.body - assert result.body["value"] is None - result = session.transport.send("GET", "session/%s/cookie" % session.session_id) - assert result.status == 200 - assert "value" in result.body - assert isinstance(result.body["value"], list) - assert len(result.body["value"]) == 1 - assert isinstance(result.body["value"][0], dict) + result = add_cookie(session, new_cookie) + assert_success(result) - cookie = result.body["value"][0] + cookie = session.cookies("hello") assert "name" in cookie assert isinstance(cookie["name"], basestring) assert "value" in cookie @@ -111,28 +97,20 @@ def test_add_non_session_cookie(session, url): assert cookie["value"] == "world" assert cookie["expiry"] == a_year_from_now + def test_add_session_cookie(session, url): + new_cookie = { + "name": "hello", + "value": "world" + } + session.url = url("/common/blank.html") clear_all_cookies(session) - create_cookie_request = { - "cookie": { - "name": "hello", - "value": "world" - } - } - result = session.transport.send("POST", "session/%s/cookie" % session.session_id, create_cookie_request) - assert result.status == 200 - assert "value" in result.body - assert result.body["value"] is None - result = session.transport.send("GET", "session/%s/cookie" % session.session_id) - assert result.status == 200 - assert "value" in result.body - assert isinstance(result.body["value"], list) - assert len(result.body["value"]) == 1 - assert isinstance(result.body["value"][0], dict) + result = add_cookie(session, new_cookie) + assert_success(result) - cookie = result.body["value"][0] + cookie = session.cookies("hello") assert "name" in cookie assert isinstance(cookie["name"], basestring) assert "value" in cookie @@ -143,29 +121,21 @@ def test_add_session_cookie(session, url): assert cookie["name"] == "hello" assert cookie["value"] == "world" + def test_add_session_cookie_with_leading_dot_character_in_domain(session, url, server_config): + new_cookie = { + "name": "hello", + "value": "world", + "domain": ".%s" % server_config["browser_host"] + } + session.url = url("/common/blank.html") clear_all_cookies(session) - create_cookie_request = { - "cookie": { - "name": "hello", - "value": "world", - "domain": ".%s" % server_config["domains"][""] - } - } - result = session.transport.send("POST", "session/%s/cookie" % session.session_id, create_cookie_request) - assert result.status == 200 - assert "value" in result.body - assert result.body["value"] is None - result = session.transport.send("GET", "session/%s/cookie" % session.session_id) - assert result.status == 200 - assert "value" in result.body - assert isinstance(result.body["value"], list) - assert len(result.body["value"]) == 1 - assert isinstance(result.body["value"][0], dict) + result = add_cookie(session, new_cookie) + assert_success(result) - cookie = result.body["value"][0] + cookie = session.cookies("hello") assert "name" in cookie assert isinstance(cookie["name"], basestring) assert "value" in cookie @@ -175,4 +145,5 @@ def test_add_session_cookie_with_leading_dot_character_in_domain(session, url, s assert cookie["name"] == "hello" assert cookie["value"] == "world" - assert cookie["domain"] == ".%s" % server_config["domains"][""] or cookie["domain"] == "%s" % server_config["domains"][""] + assert cookie["domain"] == server_config["browser_host"] or \ + cookie["domain"] == ".%s" % server_config["browser_host"] diff --git a/tests/wpt/web-platform-tests/xhr/close-worker-with-xhr-in-progress.html b/tests/wpt/web-platform-tests/xhr/close-worker-with-xhr-in-progress.html new file mode 100644 index 00000000000..4d03bea028f --- /dev/null +++ b/tests/wpt/web-platform-tests/xhr/close-worker-with-xhr-in-progress.html @@ -0,0 +1,26 @@ + + + + + +