From 75857a918c6ad22214665da0f39e9a5f66893eb7 Mon Sep 17 00:00:00 2001 From: WPT Sync Bot Date: Sat, 9 Jun 2018 21:08:43 -0400 Subject: [PATCH] Update web-platform-tests to revision 9d009fc59a8f99e0117b841b7f49094cc690964c --- tests/wpt/metadata/MANIFEST.json | 206 ++++++++++++++++-- .../variations/font-weight-matching.html.ini | 3 - ...-return-value-undefined.tentative.html.ini | 3 +- ...context-creation-and-destruction.html.ini} | 2 +- .../context-creation.html.ini} | 2 +- ...-eviction-with-garbage-collection.html.ini | 2 + .../common/object-association.js | 4 +- .../contain/contain-paint-clip-001.html | 2 +- .../contain/contain-paint-clip-002-ref.html | 4 +- .../contain/contain-paint-clip-002.html | 6 +- .../contain/contain-paint-clip-006-ref.html | 35 +++ .../contain/contain-paint-clip-006.html | 37 ++++ .../contain/reftest.list | 1 + .../shapes1/float-retry-push-circle.html | 35 +++ .../shapes1/float-retry-push-image.html | 34 +++ .../shapes1/float-retry-push-inset.html | 35 +++ .../shapes1/float-retry-push-polygon.html | 34 +++ .../shapes1/float-retry-push-ref.html | 22 ++ .../shapes1/reftest.list | 6 + .../interfaces/webdriver.idl | 9 + .../keyboard-lock/idlharness.https.html | 2 +- .../navigator-keyboard-lock.https.html | 16 ++ ...board-map-two-parallel-requests.https.html | 15 ++ ...locked-from-cross-origin-iframe.https.html | 29 +++ ...eyboard-map-blocked-from-iframe.https.html | 28 +++ ...board-map-two-parallel-requests.https.html | 15 ++ ...ard-map-two-sequential-requests.https.html | 14 ++ ...html => navigator-keyboard-map.https.html} | 6 +- .../resources/iframe-keyboard-map-helper.html | 20 ++ .../media-capabilities/idlharness.any.js | 23 ++ .../media-capabilities/idlharness.html | 37 ---- .../mediasession/idlharness.html | 33 ++- .../webdriver/tests/interface.html | 52 ++--- 33 files changed, 645 insertions(+), 127 deletions(-) rename tests/wpt/mozilla/meta/webgl/conformance-1.0.3/conformance/{glsl/misc/shader-uniform-packing-restrictions.html.ini => context/context-creation-and-destruction.html.ini} (57%) rename tests/wpt/mozilla/meta/webgl/conformance-1.0.3/conformance/{glsl/misc/shader-with-non-reserved-words.html.ini => context/context-creation.html.ini} (60%) create mode 100644 tests/wpt/mozilla/meta/webgl/conformance-1.0.3/conformance/context/context-eviction-with-garbage-collection.html.ini create mode 100644 tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-paint-clip-006-ref.html create mode 100644 tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-paint-clip-006.html create mode 100644 tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-circle.html create mode 100644 tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-image.html create mode 100644 tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-inset.html create mode 100644 tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-polygon.html create mode 100644 tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-ref.html create mode 100644 tests/wpt/web-platform-tests/interfaces/webdriver.idl create mode 100644 tests/wpt/web-platform-tests/keyboard-map/keyboard-map-two-parallel-requests.https.html create mode 100644 tests/wpt/web-platform-tests/keyboard-map/navigator-keyboard-map-blocked-from-cross-origin-iframe.https.html create mode 100644 tests/wpt/web-platform-tests/keyboard-map/navigator-keyboard-map-blocked-from-iframe.https.html create mode 100644 tests/wpt/web-platform-tests/keyboard-map/navigator-keyboard-map-two-parallel-requests.https.html create mode 100644 tests/wpt/web-platform-tests/keyboard-map/navigator-keyboard-map-two-sequential-requests.https.html rename tests/wpt/web-platform-tests/keyboard-map/{keyboard-map-https.html => navigator-keyboard-map.https.html} (84%) create mode 100644 tests/wpt/web-platform-tests/keyboard-map/resources/iframe-keyboard-map-helper.html create mode 100644 tests/wpt/web-platform-tests/media-capabilities/idlharness.any.js delete mode 100644 tests/wpt/web-platform-tests/media-capabilities/idlharness.html diff --git a/tests/wpt/metadata/MANIFEST.json b/tests/wpt/metadata/MANIFEST.json index b9727d0314e..c648b536672 100644 --- a/tests/wpt/metadata/MANIFEST.json +++ b/tests/wpt/metadata/MANIFEST.json @@ -165811,6 +165811,18 @@ {} ] ], + "css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-paint-clip-006.html": [ + [ + "/css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-paint-clip-006.html", + [ + [ + "/css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-paint-clip-006-ref.html", + "==" + ] + ], + {} + ] + ], "css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-paint-containing-block-absolute-001.html": [ [ "/css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-paint-containing-block-absolute-001.html", @@ -172783,6 +172795,54 @@ {} ] ], + "css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-circle.html": [ + [ + "/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-circle.html", + [ + [ + "/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-ref.html", + "==" + ] + ], + {} + ] + ], + "css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-image.html": [ + [ + "/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-image.html", + [ + [ + "/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-ref.html", + "==" + ] + ], + {} + ] + ], + "css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-inset.html": [ + [ + "/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-inset.html", + [ + [ + "/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-ref.html", + "==" + ] + ], + {} + ] + ], + "css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-polygon.html": [ + [ + "/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-polygon.html", + [ + [ + "/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-ref.html", + "==" + ] + ], + {} + ] + ], "css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-border-box-001.html": [ [ "/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-border-box-001.html", @@ -267613,6 +267673,11 @@ {} ] ], + "css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-paint-clip-006-ref.html": [ + [ + {} + ] + ], "css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-paint-containing-block-absolute-001-ref.html": [ [ {} @@ -269648,6 +269713,11 @@ {} ] ], + "css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-ref.html": [ + [ + {} + ] + ], "css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/reftest.list": [ [ {} @@ -288193,6 +288263,11 @@ {} ] ], + "interfaces/webdriver.idl": [ + [ + {} + ] + ], "interfaces/webidl.idl": [ [ {} @@ -288293,6 +288368,11 @@ {} ] ], + "keyboard-map/resources/iframe-keyboard-map-helper.html": [ + [ + {} + ] + ], "lifecycle/resources/foo.txt": [ [ {} @@ -350681,9 +350761,39 @@ {} ] ], - "keyboard-map/keyboard-map-https.html": [ + "keyboard-map/keyboard-map-two-parallel-requests.https.html": [ [ - "/keyboard-map/keyboard-map-https.html", + "/keyboard-map/keyboard-map-two-parallel-requests.https.html", + {} + ] + ], + "keyboard-map/navigator-keyboard-map-blocked-from-cross-origin-iframe.https.html": [ + [ + "/keyboard-map/navigator-keyboard-map-blocked-from-cross-origin-iframe.https.html", + {} + ] + ], + "keyboard-map/navigator-keyboard-map-blocked-from-iframe.https.html": [ + [ + "/keyboard-map/navigator-keyboard-map-blocked-from-iframe.https.html", + {} + ] + ], + "keyboard-map/navigator-keyboard-map-two-parallel-requests.https.html": [ + [ + "/keyboard-map/navigator-keyboard-map-two-parallel-requests.https.html", + {} + ] + ], + "keyboard-map/navigator-keyboard-map-two-sequential-requests.https.html": [ + [ + "/keyboard-map/navigator-keyboard-map-two-sequential-requests.https.html", + {} + ] + ], + "keyboard-map/navigator-keyboard-map.https.html": [ + [ + "/keyboard-map/navigator-keyboard-map.https.html", {} ] ], @@ -350957,9 +351067,13 @@ {} ] ], - "media-capabilities/idlharness.html": [ + "media-capabilities/idlharness.any.js": [ [ - "/media-capabilities/idlharness.html", + "/media-capabilities/idlharness.any.html", + {} + ], + [ + "/media-capabilities/idlharness.any.worker.html", {} ] ], @@ -416337,7 +416451,7 @@ "support" ], "common/object-association.js": [ - "c6955b7bbf00d73ec5959678391aa59d36da8321", + "759706842deec7ed3b59c66fab89209bd93cc561", "support" ], "common/object-association.js.headers": [ @@ -552993,15 +553107,15 @@ "support" ], "css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-paint-clip-001.html": [ - "2b106c772e9005287270f741a0ca8786e18d33c0", + "3688553c5cfd25d76feee6021794cc7273fe6cff", "reftest" ], "css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-paint-clip-002-ref.html": [ - "2d4ada43bfe8c6863f56e1e0d2599d9151c6b4c6", + "185fa9ad94e9045ca490303e7256fd6ffb2cda03", "support" ], "css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-paint-clip-002.html": [ - "c5538062ce33e225a09c01a48714187d206c6114", + "449b89844cf89f6ba2e3d27620255dab114a0755", "reftest" ], "css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-paint-clip-003-ref.html": [ @@ -553024,6 +553138,14 @@ "5ab4438dae36c8fa2af8ee2bba12bb60be3837ac", "reftest" ], + "css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-paint-clip-006-ref.html": [ + "a54e26fbb340e92d8049ae84191f7a59149e8bc2", + "support" + ], + "css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-paint-clip-006.html": [ + "64b9266835318fb192c4d82319f98f64a8a1c03a", + "reftest" + ], "css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-paint-containing-block-absolute-001-ref.html": [ "15047fbe1c488711c1d6c309242eb2d5838f8c7e", "support" @@ -553069,7 +553191,7 @@ "reftest" ], "css/vendor-imports/mozilla/mozilla-central-reftests/contain/reftest.list": [ - "361cc42bb96b840d65cdda9593a543388173c4a8", + "f13efa449db3e07a7fcec53072121e9d906f8562", "support" ], "css/vendor-imports/mozilla/mozilla-central-reftests/counter-styles-3/dependent-builtin-ref.html": [ @@ -557176,8 +557298,28 @@ "76c907a127aec740e17d009a517acccd5d3e9fd4", "support" ], + "css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-circle.html": [ + "64690b09c57ca1ef452e951b0f30f0815a36b87c", + "reftest" + ], + "css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-image.html": [ + "c3f18f590da1061b2f6ac91fddd380d9c5faad84", + "reftest" + ], + "css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-inset.html": [ + "d9bc1367e6f301b950703d58fae47193465350c5", + "reftest" + ], + "css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-polygon.html": [ + "740aa634c9078e93554d81fa08d7ae17347dedfd", + "reftest" + ], + "css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-ref.html": [ + "e4736754b5c44b272e94a2988dce8feb2e5478f2", + "support" + ], "css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/reftest.list": [ - "dcb7840f1dd2ccd57087826c2e11b960589ff729", + "93dca478ad98d04ac4d0c15188afcff9f7072a3c", "support" ], "css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-border-box-001-ref.html": [ @@ -588472,6 +588614,10 @@ "1ae8b428644479b352fd5b1996677fd4dcdbb84b", "support" ], + "interfaces/webdriver.idl": [ + "6f6ce7d142a9b548988c9ab2a7a13f0f1793cf6a", + "support" + ], "interfaces/webidl.idl": [ "d466ddd18ed621e15cc416863502069ffccfa5b9", "support" @@ -588697,7 +588843,7 @@ "support" ], "keyboard-lock/idlharness.https.html": [ - "010771094a9dc58e03a2c1ca2d8416866284fc2b", + "d196b06e8606572e1e6c1a9e81e2f0920641c069", "testharness" ], "keyboard-lock/navigator-keyboard-lock-blocked-from-cross-origin-iframe.https.html": [ @@ -588717,7 +588863,7 @@ "testharness" ], "keyboard-lock/navigator-keyboard-lock.https.html": [ - "6162fc3da9b7b104453e24b5da10d816a1a9425e", + "7fd35e9ffffeaa36a7fca0e57869cbc93e780e48", "testharness" ], "keyboard-lock/navigator-keyboard-unlock.https.html": [ @@ -588736,10 +588882,34 @@ "3215b6729d83ca2841baf6eb33445eb07e0a7c25", "testharness" ], - "keyboard-map/keyboard-map-https.html": [ - "28b559875ce9514702d181cb4cb5e0a207083e2d", + "keyboard-map/keyboard-map-two-parallel-requests.https.html": [ + "44ead37a7118fb121dea19d9e381f647dbe6d6df", "testharness" ], + "keyboard-map/navigator-keyboard-map-blocked-from-cross-origin-iframe.https.html": [ + "f49b379f64d6c83ad6ee8a8b9fcb34932a96ea08", + "testharness" + ], + "keyboard-map/navigator-keyboard-map-blocked-from-iframe.https.html": [ + "df67fcd5adc8bc1c77a2b3abe2f7dd4c1b000958", + "testharness" + ], + "keyboard-map/navigator-keyboard-map-two-parallel-requests.https.html": [ + "44ead37a7118fb121dea19d9e381f647dbe6d6df", + "testharness" + ], + "keyboard-map/navigator-keyboard-map-two-sequential-requests.https.html": [ + "2d1166c6b09274bdce552a931d947a3fd1582ecc", + "testharness" + ], + "keyboard-map/navigator-keyboard-map.https.html": [ + "a94a3c2ccc5c5a7f8ca96ba2035a4d7dd2a3b03e", + "testharness" + ], + "keyboard-map/resources/iframe-keyboard-map-helper.html": [ + "545a86cb977d49303debac90d00339f1348f7f76", + "support" + ], "lifecycle/freeze.html": [ "79f45af08ff1cfe5c29d318fe6a32d281e990960", "testharness" @@ -589340,8 +589510,8 @@ "3cafa5d2375c8f42abee8f22293705eaa6dca019", "testharness" ], - "media-capabilities/idlharness.html": [ - "47b8077cfff98cf07d5794ab32974ed4bc8d8a01", + "media-capabilities/idlharness.any.js": [ + "23dff2a720b31aa5066a96a373ecc25e649719e7", "testharness" ], "media-source/OWNERS": [ @@ -590073,7 +590243,7 @@ "support" ], "mediasession/idlharness.html": [ - "96a3bd3eb15a373ca1c68d528ff6514b3d7cddc1", + "e5b4267255f62b4505b3c656d2b377380f8dfab5", "testharness" ], "mediasession/mediametadata.html": [ @@ -619901,7 +620071,7 @@ "wdspec" ], "webdriver/tests/interface.html": [ - "f7b2c45ff8b1b5790dd390fbe2ab997766f5d9a8", + "0b88587deabc7a4577da90bdf6d874e596b9a240", "testharness" ], "webdriver/tests/is_element_selected/__init__.py": [ 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 b075270b5f3..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 @@ -38,6 +38,3 @@ [Test @font-face matching for weight 249] expected: FAIL - [Test @font-face matching for weight 420] - 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/mozilla/meta/webgl/conformance-1.0.3/conformance/glsl/misc/shader-uniform-packing-restrictions.html.ini b/tests/wpt/mozilla/meta/webgl/conformance-1.0.3/conformance/context/context-creation-and-destruction.html.ini similarity index 57% rename from tests/wpt/mozilla/meta/webgl/conformance-1.0.3/conformance/glsl/misc/shader-uniform-packing-restrictions.html.ini rename to tests/wpt/mozilla/meta/webgl/conformance-1.0.3/conformance/context/context-creation-and-destruction.html.ini index 594360ffb15..fbdc89a8f0d 100644 --- a/tests/wpt/mozilla/meta/webgl/conformance-1.0.3/conformance/glsl/misc/shader-uniform-packing-restrictions.html.ini +++ b/tests/wpt/mozilla/meta/webgl/conformance-1.0.3/conformance/context/context-creation-and-destruction.html.ini @@ -1,4 +1,4 @@ -[shader-uniform-packing-restrictions.html] +[context-creation-and-destruction.html] expected: TIMEOUT [Overall test] expected: NOTRUN diff --git a/tests/wpt/mozilla/meta/webgl/conformance-1.0.3/conformance/glsl/misc/shader-with-non-reserved-words.html.ini b/tests/wpt/mozilla/meta/webgl/conformance-1.0.3/conformance/context/context-creation.html.ini similarity index 60% rename from tests/wpt/mozilla/meta/webgl/conformance-1.0.3/conformance/glsl/misc/shader-with-non-reserved-words.html.ini rename to tests/wpt/mozilla/meta/webgl/conformance-1.0.3/conformance/context/context-creation.html.ini index fb8852c9e7a..393e42df192 100644 --- a/tests/wpt/mozilla/meta/webgl/conformance-1.0.3/conformance/glsl/misc/shader-with-non-reserved-words.html.ini +++ b/tests/wpt/mozilla/meta/webgl/conformance-1.0.3/conformance/context/context-creation.html.ini @@ -1,4 +1,4 @@ -[shader-with-non-reserved-words.html] +[context-creation.html] expected: TIMEOUT [Overall test] expected: NOTRUN diff --git a/tests/wpt/mozilla/meta/webgl/conformance-1.0.3/conformance/context/context-eviction-with-garbage-collection.html.ini b/tests/wpt/mozilla/meta/webgl/conformance-1.0.3/conformance/context/context-eviction-with-garbage-collection.html.ini new file mode 100644 index 00000000000..b2918fac56f --- /dev/null +++ b/tests/wpt/mozilla/meta/webgl/conformance-1.0.3/conformance/context/context-eviction-with-garbage-collection.html.ini @@ -0,0 +1,2 @@ +[context-eviction-with-garbage-collection.html] + expected: TIMEOUT diff --git a/tests/wpt/web-platform-tests/common/object-association.js b/tests/wpt/web-platform-tests/common/object-association.js index cd1453e4739..e1ab07e7108 100644 --- a/tests/wpt/web-platform-tests/common/object-association.js +++ b/tests/wpt/web-platform-tests/common/object-association.js @@ -14,7 +14,7 @@ window.testIsPerWindow = propertyName => { iframe.remove(); const after = frame[propertyName]; - assert_equals(after, before); + assert_equals(after, before, `window.${propertyName} should not change after iframe.remove()`); }, `Discarding the browsing context must not change window.${propertyName}`); async_test(t => { @@ -56,6 +56,8 @@ window.testIsPerWindow = propertyName => { const after = frame[propertyName]; assert_not_equals(after, before); + + frame.document.close(); }); iframe.src = "/common/blank.html"; diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-paint-clip-001.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-paint-clip-001.html index cda70052d1a..5b320e8ae41 100644 --- a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-paint-clip-001.html +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-paint-clip-001.html @@ -14,7 +14,7 @@ contain: paint; width: 100px; height: 100px; - background: green; + background: blue; margin: 25px; padding: 25px; } diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-paint-clip-002-ref.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-paint-clip-002-ref.html index 99e03547640..7b0ca5ec555 100644 --- a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-paint-clip-002-ref.html +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-paint-clip-002-ref.html @@ -3,6 +3,7 @@ CSS Reftest Reference + diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-paint-clip-002.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-paint-clip-002.html index b5c9e340bf2..eb7c8b32678 100644 --- a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-paint-clip-002.html +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-paint-clip-002.html @@ -2,7 +2,8 @@ - CSS Test: 'contain: paint' with overflowing text contents. + CSS Test: 'contain: paint' with overflowing text contents inside a rounded rectangle box. + @@ -16,7 +17,8 @@ height: 100px; background: green; margin: 25px; - padding: 25px; + padding: 10px; + border-radius: 4em; } diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-paint-clip-006-ref.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-paint-clip-006-ref.html new file mode 100644 index 00000000000..f3823949600 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-paint-clip-006-ref.html @@ -0,0 +1,35 @@ + + + + + CSS Reftest Reference + + + + + +
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA This text should + be clipped to the content box. Lorem ipsum dolor sit amet, consectetur adipiscing + elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. Sed + nisi. Nulla quis sem at nibh elementum imperdiet. Duis sagittis ipsum. + Praesent mauris. Fusce nec tellus sed augue semper porta. Mauris massa. + Vestibulum lacinia arcu eget nulla. Class aptent taciti sociosqu ad litora + torquent per conubia nostra, per inceptos himenaeos. Curabitur sodales + ligula in libero. +
+ + diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-paint-clip-006.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-paint-clip-006.html new file mode 100644 index 00000000000..f6ffdc3928e --- /dev/null +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-paint-clip-006.html @@ -0,0 +1,37 @@ + + + + + CSS Test: 'contain: paint' with overflowing text contents while "overflow-clip-box: content-box" enabled. + + + + + + + +
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA This text should + be clipped to the content box. Lorem ipsum dolor sit amet, consectetur adipiscing + elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. Sed + nisi. Nulla quis sem at nibh elementum imperdiet. Duis sagittis ipsum. + Praesent mauris. Fusce nec tellus sed augue semper porta. Mauris massa. + Vestibulum lacinia arcu eget nulla. Class aptent taciti sociosqu ad litora + torquent per conubia nostra, per inceptos himenaeos. Curabitur sodales + ligula in libero. +
+ + diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/contain/reftest.list b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/contain/reftest.list index 39dd1318e18..d503f7e5c66 100644 --- a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/contain/reftest.list +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/contain/reftest.list @@ -4,6 +4,7 @@ == contain-paint-clip-003.html contain-paint-clip-003-ref.html == contain-paint-clip-004.html contain-paint-clip-004-ref.html == contain-paint-clip-005.html contain-paint-clip-003-ref.html +== contain-paint-clip-006.html contain-paint-clip-006-ref.html == contain-paint-containing-block-absolute-001.html contain-paint-containing-block-absolute-001-ref.html == contain-paint-containing-block-fixed-001.html contain-paint-containing-block-fixed-001-ref.html == contain-paint-formatting-context-float-001.html contain-paint-formatting-context-float-001-ref.html diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-circle.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-circle.html new file mode 100644 index 00000000000..a079d71adbd --- /dev/null +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-circle.html @@ -0,0 +1,35 @@ + + +Retry inline floats until they fit -- circle + + + + + + + + +
+
+ +
diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-image.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-image.html new file mode 100644 index 00000000000..f94ce03133c --- /dev/null +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-image.html @@ -0,0 +1,34 @@ + + +Retry inline floats until they fit -- image + + + + + + + + +
+
+ +
diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-inset.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-inset.html new file mode 100644 index 00000000000..9410ebd3c6b --- /dev/null +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-inset.html @@ -0,0 +1,35 @@ + + +Retry inline floats until they fit -- inset + + + + + + + + +
+
+ +
diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-polygon.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-polygon.html new file mode 100644 index 00000000000..f7385f76cab --- /dev/null +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-polygon.html @@ -0,0 +1,34 @@ + + +Retry inline floats until they fit -- polygon + + + + + + + + +
+
+ +
diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-ref.html b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-ref.html new file mode 100644 index 00000000000..a1177fd0720 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/float-retry-push-ref.html @@ -0,0 +1,22 @@ + + +Test for retrying floats and pushing them partway down the float area + + + + +
+ +
diff --git a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/reftest.list b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/reftest.list index 33be87f02cb..14933dcd024 100644 --- a/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/reftest.list +++ b/tests/wpt/web-platform-tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/reftest.list @@ -103,3 +103,9 @@ == shape-outside-polygon-024.html shape-outside-polygon-024-ref.html == shape-outside-polygon-025.html shape-outside-polygon-025-ref.html == shape-outside-polygon-032.html shape-outside-polygon-032-ref.html + +# Tests of shape-outside layout behavior with too-wide inline elements +== float-retry-push-circle.html float-retry-push-ref.html +== float-retry-push-image.html float-retry-push-ref.html +== float-retry-push-inset.html float-retry-push-ref.html +== float-retry-push-polygon.html float-retry-push-ref.html diff --git a/tests/wpt/web-platform-tests/interfaces/webdriver.idl b/tests/wpt/web-platform-tests/interfaces/webdriver.idl new file mode 100644 index 00000000000..14087d8b8e5 --- /dev/null +++ b/tests/wpt/web-platform-tests/interfaces/webdriver.idl @@ -0,0 +1,9 @@ +// GENERATED CONTENT - DO NOT EDIT +// Content of this file was automatically extracted from the +// "WebDriver" spec. +// See: https://w3c.github.io/webdriver/webdriver-spec.html + +Navigator includes NavigatorAutomationInformation; +interface mixin NavigatorAutomationInformation { + readonly attribute boolean webdriver; +}; diff --git a/tests/wpt/web-platform-tests/keyboard-lock/idlharness.https.html b/tests/wpt/web-platform-tests/keyboard-lock/idlharness.https.html index 1c3ade02842..a63e387b18b 100644 --- a/tests/wpt/web-platform-tests/keyboard-lock/idlharness.https.html +++ b/tests/wpt/web-platform-tests/keyboard-lock/idlharness.https.html @@ -1,7 +1,7 @@ -Keyboard IDL tests +Keyboard Lock IDL tests diff --git a/tests/wpt/web-platform-tests/keyboard-lock/navigator-keyboard-lock.https.html b/tests/wpt/web-platform-tests/keyboard-lock/navigator-keyboard-lock.https.html index 7f8724c14a1..674c336459c 100644 --- a/tests/wpt/web-platform-tests/keyboard-lock/navigator-keyboard-lock.https.html +++ b/tests/wpt/web-platform-tests/keyboard-lock/navigator-keyboard-lock.https.html @@ -4,6 +4,22 @@ + + diff --git a/tests/wpt/web-platform-tests/keyboard-map/navigator-keyboard-map-blocked-from-cross-origin-iframe.https.html b/tests/wpt/web-platform-tests/keyboard-map/navigator-keyboard-map-blocked-from-cross-origin-iframe.https.html new file mode 100644 index 00000000000..a38d4197f0e --- /dev/null +++ b/tests/wpt/web-platform-tests/keyboard-map/navigator-keyboard-map-blocked-from-cross-origin-iframe.https.html @@ -0,0 +1,29 @@ + + + + + + diff --git a/tests/wpt/web-platform-tests/keyboard-map/navigator-keyboard-map-blocked-from-iframe.https.html b/tests/wpt/web-platform-tests/keyboard-map/navigator-keyboard-map-blocked-from-iframe.https.html new file mode 100644 index 00000000000..65e853412f3 --- /dev/null +++ b/tests/wpt/web-platform-tests/keyboard-map/navigator-keyboard-map-blocked-from-iframe.https.html @@ -0,0 +1,28 @@ + + + + + diff --git a/tests/wpt/web-platform-tests/keyboard-map/navigator-keyboard-map-two-parallel-requests.https.html b/tests/wpt/web-platform-tests/keyboard-map/navigator-keyboard-map-two-parallel-requests.https.html new file mode 100644 index 00000000000..875b9cc51ed --- /dev/null +++ b/tests/wpt/web-platform-tests/keyboard-map/navigator-keyboard-map-two-parallel-requests.https.html @@ -0,0 +1,15 @@ + + + + diff --git a/tests/wpt/web-platform-tests/keyboard-map/navigator-keyboard-map-two-sequential-requests.https.html b/tests/wpt/web-platform-tests/keyboard-map/navigator-keyboard-map-two-sequential-requests.https.html new file mode 100644 index 00000000000..c7f6b9d770f --- /dev/null +++ b/tests/wpt/web-platform-tests/keyboard-map/navigator-keyboard-map-two-sequential-requests.https.html @@ -0,0 +1,14 @@ + + + + diff --git a/tests/wpt/web-platform-tests/keyboard-map/keyboard-map-https.html b/tests/wpt/web-platform-tests/keyboard-map/navigator-keyboard-map.https.html similarity index 84% rename from tests/wpt/web-platform-tests/keyboard-map/keyboard-map-https.html rename to tests/wpt/web-platform-tests/keyboard-map/navigator-keyboard-map.https.html index 97a50dde887..9870c813c26 100644 --- a/tests/wpt/web-platform-tests/keyboard-map/keyboard-map-https.html +++ b/tests/wpt/web-platform-tests/keyboard-map/navigator-keyboard-map.https.html @@ -13,7 +13,11 @@ test(function() { assert_equals(navigator.keyboard, navigator.keyboard); }, "navigator.keyboard SameObject"); -promise_test(function() { +test(function() { + assert_true(navigator.keyboard.getLayoutMap instanceof Function); +}, "navigator.keyboard.getLayoutMap instanceof Function"); + +promise_test(() => { const p = navigator.keyboard.getLayoutMap(); assert_true(p instanceof Promise); return p.then(function(map) { diff --git a/tests/wpt/web-platform-tests/keyboard-map/resources/iframe-keyboard-map-helper.html b/tests/wpt/web-platform-tests/keyboard-map/resources/iframe-keyboard-map-helper.html new file mode 100644 index 00000000000..5a4beba7e45 --- /dev/null +++ b/tests/wpt/web-platform-tests/keyboard-map/resources/iframe-keyboard-map-helper.html @@ -0,0 +1,20 @@ + + diff --git a/tests/wpt/web-platform-tests/media-capabilities/idlharness.any.js b/tests/wpt/web-platform-tests/media-capabilities/idlharness.any.js new file mode 100644 index 00000000000..64c3fb5baa2 --- /dev/null +++ b/tests/wpt/web-platform-tests/media-capabilities/idlharness.any.js @@ -0,0 +1,23 @@ +// META: script=/resources/WebIDLParser.js +// META: script=/resources/idlharness.js + +// https://wicg.github.io/media-capabilities/ + +'use strict'; + +promise_test(async () => { + const idl = await fetch('/interfaces/media-capabilities.idl').then(r => r.text()); + const html = await fetch('/interfaces/html.idl').then(r => r.text()); + const cssomView = await fetch('/interfaces/cssom-view.idl').then(r => r.text()); + + var idl_array = new IdlArray(); + idl_array.add_idls(idl); + idl_array.add_dependency_idls(html); + idl_array.add_dependency_idls(cssomView); + + idl_array.add_objects({ + Navigator: ['navigator'] + }); + + idl_array.test(); +}, 'Test IDL implementation of Media Capabilities'); diff --git a/tests/wpt/web-platform-tests/media-capabilities/idlharness.html b/tests/wpt/web-platform-tests/media-capabilities/idlharness.html deleted file mode 100644 index 67a6294f49c..00000000000 --- a/tests/wpt/web-platform-tests/media-capabilities/idlharness.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - -Media Capabilities IDL tests - - - - - - - -

Media Session IDL tests

- -
- - diff --git a/tests/wpt/web-platform-tests/mediasession/idlharness.html b/tests/wpt/web-platform-tests/mediasession/idlharness.html index ead06dcdfed..d732c0333b7 100644 --- a/tests/wpt/web-platform-tests/mediasession/idlharness.html +++ b/tests/wpt/web-platform-tests/mediasession/idlharness.html @@ -12,27 +12,20 @@

Media Session IDL tests

diff --git a/tests/wpt/web-platform-tests/webdriver/tests/interface.html b/tests/wpt/web-platform-tests/webdriver/tests/interface.html index d54aaaf271d..d049d835f2f 100644 --- a/tests/wpt/web-platform-tests/webdriver/tests/interface.html +++ b/tests/wpt/web-platform-tests/webdriver/tests/interface.html @@ -1,49 +1,23 @@ - + - - - -