From 3fc5d9a7b7b17d2b5f85517f77e217108b523243 Mon Sep 17 00:00:00 2001 From: WPT Sync Bot Date: Sat, 30 Jan 2021 08:22:18 +0000 Subject: [PATCH] Update web-platform-tests to revision 8732b4f9c5d7066162842287301516187caeed9c --- .../CSS2/floats/hit-test-floats-002.html.ini | 4 + .../CSS2/floats/hit-test-floats-003.html.ini | 4 - .../CSS2/floats/hit-test-floats-005.html.ini | 4 + .../css/cssom-view/CaretPosition-001.html.ini | 4 + .../elementsFromPoint-invalid-cases.html.ini | 4 - .../css/cssom/idlharness.html.ini | 6 + .../fetch/content-type/response.window.js.ini | 30 ++--- .../fetch/content-type/script.window.js.ini | 3 - ...url-return-value-handling-dynamic.html.ini | 12 -- .../traverse_the_history_1.html.ini | 4 + .../traverse_the_history_4.html.ini | 4 - .../traverse_the_history_5.html.ini | 4 - ...ross-origin-objects-on-new-window.html.ini | 2 + .../embedded-opener-remove-frame.html.ini | 1 + ...2d.transformation.setTransform.3d.html.ini | 4 + .../marquee-events-historical.html.ini | 4 + ...rame_sandbox_popups_nonescaping-1.html.ini | 2 +- ...rame_sandbox_popups_nonescaping-3.html.ini | 3 +- .../form-double-submit-2.html.ini | 4 - .../form-double-submit-3.html.ini | 4 - .../textfieldselection/select-event.html.ini | 66 +++++------ .../parsing/DOMContentLoaded-defer.html.ini | 4 - .../tasks.window.js.ini | 7 ++ ...le-event-handler-settings-objects.html.ini | 3 + .../TAO-null-opaque-origin.html.ini | 2 + .../wasm/jsapi/functions/entry.html.ini | 3 +- .../realtimeanalyser-fft-scaling.html.ini | 1 - .../audiocontext-not-fully-active.html.ini | 1 + .../webmessaging/with-ports/017.html.ini | 5 - .../webmessaging/without-ports/017.html.ini | 5 - .../Worker/Worker-constructor.html.ini | 2 - tests/wpt/metadata/MANIFEST.json | 111 +++++++++++++++--- .../CSS2/floats/hit-test-floats-002.html.ini | 4 + .../CSS2/floats/hit-test-floats-003.html.ini | 4 - .../CSS2/floats/hit-test-floats-005.html.ini | 4 + .../css/cssom-view/CaretPosition-001.html.ini | 4 + .../elementsFromPoint-invalid-cases.html.ini | 4 - .../metadata/css/cssom/idlharness.html.ini | 6 + .../fetch/content-type/response.window.js.ini | 30 ++--- .../fetch/content-type/script.window.js.ini | 3 - ...url-return-value-handling-dynamic.html.ini | 12 -- .../traverse_the_history_1.html.ini | 4 + .../traverse_the_history_4.html.ini | 4 - .../traverse_the_history_5.html.ini | 4 - ...ross-origin-objects-on-new-window.html.ini | 2 + .../embedded-opener-remove-frame.html.ini | 1 + ...2d.transformation.setTransform.3d.html.ini | 4 + .../marquee-events-historical.html.ini | 4 + .../marquee-events.html.ini | 15 --- ...rame_sandbox_popups_nonescaping-1.html.ini | 2 +- ...rame_sandbox_popups_nonescaping-3.html.ini | 3 +- .../form-double-submit-2.html.ini | 4 - .../form-double-submit-3.html.ini | 4 - .../textfieldselection/select-event.html.ini | 66 +++++------ .../parsing/DOMContentLoaded-defer.html.ini | 4 - .../tasks.window.js.ini | 1 - ...le-event-handler-settings-objects.html.ini | 3 + .../TAO-null-opaque-origin.html.ini | 2 + .../TAO-null-opaque-origin.sub.html.ini | 5 - .../wasm/jsapi/functions/entry.html.ini | 3 +- .../realtimeanalyser-fft-scaling.html.ini | 1 - .../audiocontext-not-fully-active.html.ini | 1 + .../webmessaging/with-ports/017.html.ini | 5 - .../webmessaging/without-ports/017.html.ini | 5 - .../Worker/Worker-constructor.html.ini | 2 - .../grid-auto-repeat-min-size-003.html | 44 +++++++ .../grid-auto-repeat-min-size-004.html | 42 +++++++ .../css/css-pseudo/first-letter-digraph.html | 43 +++++++ .../reference/first-letter-digraph-ref.html | 40 +++++++ .../DOMMatrix2DInit-validate-fixup.html | 40 ------- .../2d.transformation.setTransform.3d.html | 30 +++++ .../tools/yaml/element/transformations.yaml | 11 +- .../marquee-events-historical.html | 32 +++++ .../the-marquee-element-0/marquee-events.html | 71 ----------- .../opening-the-input-stream/tasks.window.js | 7 -- .../opacity-nonzero-to-zero.html | 25 ++++ .../transform-above-perspective-dynamic.html | 24 ++++ .../layout-instability/visible-to-hidden.html | 25 ++++ .../TAO-null-opaque-origin.html | 55 +++++++++ .../TAO-null-opaque-origin.sub.html | 42 ------- .../resource-timing/resources/TAOResponse.py | 2 +- .../resources/idlharness.js | 16 +++ .../IdlNamespace/test_attribute.html | 12 ++ .../IdlNamespace/test_operation.html | 37 +++++- .../isExtended.tentative.https.window.js | 11 ++ ...le-touch-manual.html => single-touch.html} | 40 +++++-- 86 files changed, 735 insertions(+), 451 deletions(-) create mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/floats/hit-test-floats-002.html.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/floats/hit-test-floats-003.html.ini create mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/floats/hit-test-floats-005.html.ini create mode 100644 tests/wpt/metadata-layout-2020/css/cssom-view/CaretPosition-001.html.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/cssom-view/elementsFromPoint-invalid-cases.html.ini create mode 100644 tests/wpt/metadata-layout-2020/html/browsers/history/the-history-interface/traverse_the_history_1.html.ini delete mode 100644 tests/wpt/metadata-layout-2020/html/browsers/history/the-history-interface/traverse_the_history_4.html.ini delete mode 100644 tests/wpt/metadata-layout-2020/html/browsers/history/the-history-interface/traverse_the_history_5.html.ini create mode 100644 tests/wpt/metadata-layout-2020/html/browsers/origin/cross-origin-objects/cross-origin-objects-on-new-window.html.ini create mode 100644 tests/wpt/metadata-layout-2020/html/canvas/element/transformations/2d.transformation.setTransform.3d.html.ini create mode 100644 tests/wpt/metadata-layout-2020/html/obsolete/requirements-for-implementations/the-marquee-element-0/marquee-events-historical.html.ini delete mode 100644 tests/wpt/metadata-layout-2020/html/semantics/forms/form-submission-0/form-double-submit-2.html.ini delete mode 100644 tests/wpt/metadata-layout-2020/html/semantics/forms/form-submission-0/form-double-submit-3.html.ini delete mode 100644 tests/wpt/metadata-layout-2020/html/syntax/parsing/DOMContentLoaded-defer.html.ini create mode 100644 tests/wpt/metadata-layout-2020/html/webappapis/dynamic-markup-insertion/opening-the-input-stream/tasks.window.js.ini create mode 100644 tests/wpt/metadata-layout-2020/resource-timing/TAO-null-opaque-origin.html.ini delete mode 100644 tests/wpt/metadata-layout-2020/webmessaging/with-ports/017.html.ini delete mode 100644 tests/wpt/metadata-layout-2020/webmessaging/without-ports/017.html.ini delete mode 100644 tests/wpt/metadata-layout-2020/workers/constructors/Worker/Worker-constructor.html.ini create mode 100644 tests/wpt/metadata/css/CSS2/floats/hit-test-floats-002.html.ini delete mode 100644 tests/wpt/metadata/css/CSS2/floats/hit-test-floats-003.html.ini create mode 100644 tests/wpt/metadata/css/CSS2/floats/hit-test-floats-005.html.ini create mode 100644 tests/wpt/metadata/css/cssom-view/CaretPosition-001.html.ini delete mode 100644 tests/wpt/metadata/css/cssom-view/elementsFromPoint-invalid-cases.html.ini create mode 100644 tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_1.html.ini delete mode 100644 tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_4.html.ini delete mode 100644 tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_5.html.ini create mode 100644 tests/wpt/metadata/html/browsers/origin/cross-origin-objects/cross-origin-objects-on-new-window.html.ini create mode 100644 tests/wpt/metadata/html/canvas/element/transformations/2d.transformation.setTransform.3d.html.ini create mode 100644 tests/wpt/metadata/html/obsolete/requirements-for-implementations/the-marquee-element-0/marquee-events-historical.html.ini delete mode 100644 tests/wpt/metadata/html/obsolete/requirements-for-implementations/the-marquee-element-0/marquee-events.html.ini delete mode 100644 tests/wpt/metadata/html/semantics/forms/form-submission-0/form-double-submit-2.html.ini delete mode 100644 tests/wpt/metadata/html/semantics/forms/form-submission-0/form-double-submit-3.html.ini delete mode 100644 tests/wpt/metadata/html/syntax/parsing/DOMContentLoaded-defer.html.ini create mode 100644 tests/wpt/metadata/resource-timing/TAO-null-opaque-origin.html.ini delete mode 100644 tests/wpt/metadata/resource-timing/TAO-null-opaque-origin.sub.html.ini delete mode 100644 tests/wpt/metadata/webmessaging/with-ports/017.html.ini delete mode 100644 tests/wpt/metadata/webmessaging/without-ports/017.html.ini delete mode 100644 tests/wpt/metadata/workers/constructors/Worker/Worker-constructor.html.ini create mode 100644 tests/wpt/web-platform-tests/css/css-grid/grid-definition/grid-auto-repeat-min-size-003.html create mode 100644 tests/wpt/web-platform-tests/css/css-grid/grid-definition/grid-auto-repeat-min-size-004.html create mode 100644 tests/wpt/web-platform-tests/css/css-pseudo/first-letter-digraph.html create mode 100644 tests/wpt/web-platform-tests/css/css-pseudo/reference/first-letter-digraph-ref.html create mode 100644 tests/wpt/web-platform-tests/html/canvas/element/transformations/2d.transformation.setTransform.3d.html create mode 100644 tests/wpt/web-platform-tests/html/obsolete/requirements-for-implementations/the-marquee-element-0/marquee-events-historical.html delete mode 100644 tests/wpt/web-platform-tests/html/obsolete/requirements-for-implementations/the-marquee-element-0/marquee-events.html create mode 100644 tests/wpt/web-platform-tests/layout-instability/opacity-nonzero-to-zero.html create mode 100644 tests/wpt/web-platform-tests/layout-instability/transform-above-perspective-dynamic.html create mode 100644 tests/wpt/web-platform-tests/layout-instability/visible-to-hidden.html create mode 100644 tests/wpt/web-platform-tests/resource-timing/TAO-null-opaque-origin.html delete mode 100644 tests/wpt/web-platform-tests/resource-timing/TAO-null-opaque-origin.sub.html create mode 100644 tests/wpt/web-platform-tests/screen_enumeration/isExtended.tentative.https.window.js rename tests/wpt/web-platform-tests/touch-events/{single-touch-manual.html => single-touch.html} (89%) diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/floats/hit-test-floats-002.html.ini b/tests/wpt/metadata-layout-2020/css/CSS2/floats/hit-test-floats-002.html.ini new file mode 100644 index 00000000000..f64b45fea6b --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/CSS2/floats/hit-test-floats-002.html.ini @@ -0,0 +1,4 @@ +[hit-test-floats-002.html] + [Hit test float] + expected: FAIL + diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/floats/hit-test-floats-003.html.ini b/tests/wpt/metadata-layout-2020/css/CSS2/floats/hit-test-floats-003.html.ini deleted file mode 100644 index f29da48a2a0..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/floats/hit-test-floats-003.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[hit-test-floats-003.html] - [Miss float below something else] - expected: FAIL - diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/floats/hit-test-floats-005.html.ini b/tests/wpt/metadata-layout-2020/css/CSS2/floats/hit-test-floats-005.html.ini new file mode 100644 index 00000000000..baa9f1a7541 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/CSS2/floats/hit-test-floats-005.html.ini @@ -0,0 +1,4 @@ +[hit-test-floats-005.html] + [Miss clipped float] + expected: FAIL + diff --git a/tests/wpt/metadata-layout-2020/css/cssom-view/CaretPosition-001.html.ini b/tests/wpt/metadata-layout-2020/css/cssom-view/CaretPosition-001.html.ini new file mode 100644 index 00000000000..4c79907309b --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/cssom-view/CaretPosition-001.html.ini @@ -0,0 +1,4 @@ +[CaretPosition-001.html] + [Element at (400, 100)] + expected: FAIL + diff --git a/tests/wpt/metadata-layout-2020/css/cssom-view/elementsFromPoint-invalid-cases.html.ini b/tests/wpt/metadata-layout-2020/css/cssom-view/elementsFromPoint-invalid-cases.html.ini deleted file mode 100644 index e181af5397f..00000000000 --- a/tests/wpt/metadata-layout-2020/css/cssom-view/elementsFromPoint-invalid-cases.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[elementsFromPoint-invalid-cases.html] - [The root element is the last element returned for otherwise empty queries within the viewport] - expected: FAIL - diff --git a/tests/wpt/metadata-layout-2020/css/cssom/idlharness.html.ini b/tests/wpt/metadata-layout-2020/css/cssom/idlharness.html.ini index 2c49c8bac34..0bc35af1f0d 100644 --- a/tests/wpt/metadata-layout-2020/css/cssom/idlharness.html.ini +++ b/tests/wpt/metadata-layout-2020/css/cssom/idlharness.html.ini @@ -452,3 +452,9 @@ [CSS namespace: typeof is "object"] expected: FAIL + [CSS namespace: has no name property] + expected: FAIL + + [CSS namespace: has no length property] + expected: FAIL + diff --git a/tests/wpt/metadata-layout-2020/fetch/content-type/response.window.js.ini b/tests/wpt/metadata-layout-2020/fetch/content-type/response.window.js.ini index a5246461def..1e7ee4e99d3 100644 --- a/tests/wpt/metadata-layout-2020/fetch/content-type/response.window.js.ini +++ b/tests/wpt/metadata-layout-2020/fetch/content-type/response.window.js.ini @@ -309,27 +309,21 @@ [Response: combined response Content-Type: text/html;" \\" text/plain ";charset=GBK] expected: NOTRUN - [ + + + diff --git a/tests/wpt/web-platform-tests/resource-timing/TAO-null-opaque-origin.sub.html b/tests/wpt/web-platform-tests/resource-timing/TAO-null-opaque-origin.sub.html deleted file mode 100644 index 0a457637c51..00000000000 --- a/tests/wpt/web-platform-tests/resource-timing/TAO-null-opaque-origin.sub.html +++ /dev/null @@ -1,42 +0,0 @@ - - - - -Resource Timing TAO - "null" and opaque origin - - - - - - - -

Description

-

This test validates that for a cross origin resource, the timing allow check algorithm will succeed when the value of Timing-Allow-Origin is null and the origin is an opaque origin.

-
- - - - diff --git a/tests/wpt/web-platform-tests/resource-timing/resources/TAOResponse.py b/tests/wpt/web-platform-tests/resource-timing/resources/TAOResponse.py index 908b68861ae..c25ccc03cb3 100644 --- a/tests/wpt/web-platform-tests/resource-timing/resources/TAOResponse.py +++ b/tests/wpt/web-platform-tests/resource-timing/resources/TAOResponse.py @@ -14,7 +14,7 @@ def main(request, response): # null, fail unless it's an opaque origin response.headers.set(b'Timing-Allow-Origin', b'null') elif tao == b'Null': - # case-insentive null, fail + # case-insensitive null, fail response.headers.set(b'Timing-Allow-Origin', b'Null') elif tao == b'origin': # case-sensitive match for origin, pass diff --git a/tests/wpt/web-platform-tests/resources/idlharness.js b/tests/wpt/web-platform-tests/resources/idlharness.js index 994a0d82ef4..5a97b273f2b 100644 --- a/tests/wpt/web-platform-tests/resources/idlharness.js +++ b/tests/wpt/web-platform-tests/resources/idlharness.js @@ -3483,6 +3483,22 @@ IdlNamespace.prototype.test_self = function () subsetTestByKey(this.name, test, () => { assert_equals(typeof namespaceObject, "object"); }, `${this.name} namespace: typeof is "object"`); + + subsetTestByKey(this.name, test, () => { + assert_equals( + Object.getOwnPropertyDescriptor(namespaceObject, "length"), + undefined, + "length property must be undefined" + ); + }, `${this.name} namespace: has no length property`); + + subsetTestByKey(this.name, test, () => { + assert_equals( + Object.getOwnPropertyDescriptor(namespaceObject, "name"), + undefined, + "name property must be undefined" + ); + }, `${this.name} namespace: has no name property`); }; IdlNamespace.prototype.test = function () diff --git a/tests/wpt/web-platform-tests/resources/test/tests/functional/idlharness/IdlNamespace/test_attribute.html b/tests/wpt/web-platform-tests/resources/test/tests/functional/idlharness/IdlNamespace/test_attribute.html index ca5edf4723d..9a08dd400c1 100644 --- a/tests/wpt/web-platform-tests/resources/test/tests/functional/idlharness/IdlNamespace/test_attribute.html +++ b/tests/wpt/web-platform-tests/resources/test/tests/functional/idlharness/IdlNamespace/test_attribute.html @@ -71,6 +71,18 @@ idlArray.test(); "properties": {}, "message": null }, + { + "name": "foo namespace: has no length property", + "status_string": "PASS", + "properties": {}, + "message": null + }, + { + "name": "foo namespace: has no name property", + "status_string": "PASS", + "properties": {}, + "message": null + }, { "name": "foo namespace: attribute truth", "status_string": "PASS", diff --git a/tests/wpt/web-platform-tests/resources/test/tests/functional/idlharness/IdlNamespace/test_operation.html b/tests/wpt/web-platform-tests/resources/test/tests/functional/idlharness/IdlNamespace/test_operation.html index 60d7d47c9ee..814e8428c36 100644 --- a/tests/wpt/web-platform-tests/resources/test/tests/functional/idlharness/IdlNamespace/test_operation.html +++ b/tests/wpt/web-platform-tests/resources/test/tests/functional/idlharness/IdlNamespace/test_operation.html @@ -110,6 +110,18 @@ idlArray.test(); "properties": {}, "message": null }, + { + "name": "foo namespace: has no length property", + "status_string": "PASS", + "properties": {}, + "message": null + }, + { + "name": "foo namespace: has no name property", + "status_string": "PASS", + "properties": {}, + "message": null + }, { "name": "foo namespace: operation Truth()", "status_string": "PASS", @@ -122,7 +134,6 @@ idlArray.test(); "properties": {}, "message": "assert_own_property: namespace object missing operation \"Lies\" expected property \"Lies\" missing" }, - { "name": "bar namespace: extended attributes", "status_string": "PASS", @@ -153,6 +164,18 @@ idlArray.test(); "properties": {}, "message": null }, + { + "name": "bar namespace: has no length property", + "status_string": "PASS", + "properties": {}, + "message": null + }, + { + "name": "bar namespace: has no name property", + "status_string": "PASS", + "properties": {}, + "message": null + }, { "name": "bar namespace: operation Truth()", "status_string": "PASS", @@ -190,6 +213,18 @@ idlArray.test(); "properties": {}, "message": null }, + { + "name": "baz namespace: has no length property", + "status_string": "PASS", + "properties": {}, + "message": null + }, + { + "name": "baz namespace: has no name property", + "status_string": "PASS", + "properties": {}, + "message": null + }, { "name": "baz namespace: operation LongStory(any, DOMString...)", "status_string": "PASS", diff --git a/tests/wpt/web-platform-tests/screen_enumeration/isExtended.tentative.https.window.js b/tests/wpt/web-platform-tests/screen_enumeration/isExtended.tentative.https.window.js new file mode 100644 index 00000000000..3c814ae3d91 --- /dev/null +++ b/tests/wpt/web-platform-tests/screen_enumeration/isExtended.tentative.https.window.js @@ -0,0 +1,11 @@ +// META: global=window +'use strict'; + +promise_test(async t => { + assert_equals(typeof self.screen.isExtended, 'boolean'); +}, 'screen.isExtended is present'); + +promise_test(async t => { + let iframe = document.body.appendChild(document.createElement('iframe')); + assert_equals(typeof iframe.contentWindow.screen.isExtended, 'boolean'); +}, 'screen.isExtended is present for attached iframes'); diff --git a/tests/wpt/web-platform-tests/touch-events/single-touch-manual.html b/tests/wpt/web-platform-tests/touch-events/single-touch.html similarity index 89% rename from tests/wpt/web-platform-tests/touch-events/single-touch-manual.html rename to tests/wpt/web-platform-tests/touch-events/single-touch.html index 1b47a64c157..a067bc13801 100644 --- a/tests/wpt/web-platform-tests/touch-events/single-touch-manual.html +++ b/tests/wpt/web-platform-tests/touch-events/single-touch.html @@ -16,15 +16,19 @@ + + + +