From 49996c02d4a54ec79343ddbcbfd563306c34483c Mon Sep 17 00:00:00 2001 From: Chromium WPT Sync Date: Fri, 25 Nov 2022 04:57:14 +0000 Subject: [PATCH] Import wpt@4435c35d9085ed2be61e64d0093b8e1b0e7a877b Using wpt-import in Chromium 4995d83f96c6ff6d9594cf72ea0e810b79d98149. Note to sheriffs: This CL imports external tests and adds expectations for those tests; if this CL is large and causes a few new failures, please fix the failures by adding new lines to TestExpectations rather than reverting. See: https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md Directory owners for changes in this CL: arichiv@chromium.org, iclelland@chromium.org: external/wpt/feature-policy external/wpt/permissions-policy mcasas@chromium.org: external/wpt/geolocation-API NOAUTOREVERT=true R=rubber-stamper@appspot.gserviceaccount.com No-Export: true Cq-Include-Trybots: luci.chromium.try:linux-wpt-identity-fyi-rel,linux-wpt-input-fyi-rel,linux-blink-rel Change-Id: Id523da16362ddddf304b426aec2009085a031242 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4056495 Auto-Submit: WPT Autoroller Bot-Commit: Rubber Stamper Commit-Queue: Rubber Stamper Cr-Commit-Position: refs/heads/main@{#1075694} --- .../FlagExpectations/disable-layout-ng | 4 + .../disable-site-isolation-trials | 4 + third_party/blink/web_tests/TestExpectations | 4 + .../external/WPT_BASE_MANIFEST_8.json | 104 ++++++++---------- ...etPropertyValue-common-checks-expected.txt | 4 +- .../cssom-getPropertyValue-common-checks.html | 12 +- ...d-by-feature-policy.https.sub.html.headers | 1 - ...bled-by-permissions-policy.https.sub.html} | 12 +- ...-permissions-policy.https.sub.html.headers | 1 + ...d-by-feature-policy.https.sub.html.headers | 1 - ...attribute-redirect-on-load.https.sub.html} | 14 +-- ...ermission-policy-attribute.https.sub.html} | 10 +- ...bled-by-permissions-policy.https.sub.html} | 20 ++-- ...-permissions-policy.https.sub.html.headers | 1 + ...n-by-feature-policy.https.sub.html.headers | 1 - ...igin-by-permissions-policy.https.sub.html} | 24 ++-- ...-permissions-policy.https.sub.html.headers | 1 + ...urrentPosition_permission_allow.https.html | 5 +- .../permissions-policy-geolocation.html} | 6 +- ...t16StorageFormat.https.window-expected.txt | 6 + .../notimer-after-unload.https-expected.txt | 4 + .../timeout-clear-watch.https-expected.txt | 1 - .../timeout-negative.https-expected.txt | 1 - .../timeout-zero.https-expected.txt | 1 - .../timeout.https-expected.txt | 4 + ...t16StorageFormat.https.window-expected.txt | 6 + .../notimer-after-unload.https-expected.txt | 4 + .../timeout-clear-watch.https-expected.txt | 4 + .../timeout-negative.https-expected.txt | 4 + .../timeout-zero.https-expected.txt | 4 + .../timeout.https-expected.txt | 4 + ...t16StorageFormat.https.window-expected.txt | 4 - ...ing_gpu_dataUnavailable.https-expected.txt | 5 + ...sing_gpu_incorrectUsage.https-expected.txt | 5 + ...h_sensing_gpu_staleView.https-expected.txt | 5 + .../notimer-after-unload.https-expected.txt | 4 - .../timeout.https-expected.txt | 5 - 37 files changed, 167 insertions(+), 133 deletions(-) delete mode 100644 third_party/blink/web_tests/external/wpt/geolocation-API/disabled-by-feature-policy.https.sub.html.headers rename third_party/blink/web_tests/external/wpt/geolocation-API/{disabled-by-feature-policy.https.sub.html => disabled-by-permissions-policy.https.sub.html} (79%) create mode 100644 third_party/blink/web_tests/external/wpt/geolocation-API/disabled-by-permissions-policy.https.sub.html.headers delete mode 100644 third_party/blink/web_tests/external/wpt/geolocation-API/enabled-by-feature-policy.https.sub.html.headers rename third_party/blink/web_tests/external/wpt/geolocation-API/{enabled-by-feature-policy-attribute-redirect-on-load.https.sub.html => enabled-by-permission-policy-attribute-redirect-on-load.https.sub.html} (53%) rename third_party/blink/web_tests/external/wpt/geolocation-API/{enabled-by-feature-policy-attribute.https.sub.html => enabled-by-permission-policy-attribute.https.sub.html} (56%) rename third_party/blink/web_tests/external/wpt/geolocation-API/{enabled-by-feature-policy.https.sub.html => enabled-by-permissions-policy.https.sub.html} (63%) create mode 100644 third_party/blink/web_tests/external/wpt/geolocation-API/enabled-by-permissions-policy.https.sub.html.headers delete mode 100644 third_party/blink/web_tests/external/wpt/geolocation-API/enabled-on-self-origin-by-feature-policy.https.sub.html.headers rename third_party/blink/web_tests/external/wpt/geolocation-API/{enabled-on-self-origin-by-feature-policy.https.sub.html => enabled-on-self-origin-by-permissions-policy.https.sub.html} (51%) create mode 100644 third_party/blink/web_tests/external/wpt/geolocation-API/enabled-on-self-origin-by-permissions-policy.https.sub.html.headers rename third_party/blink/web_tests/external/wpt/{feature-policy/resources/feature-policy-geolocation.html => permissions-policy/resources/permissions-policy-geolocation.html} (72%) create mode 100644 third_party/blink/web_tests/flag-specific/disable-layout-ng/external/wpt/shape-detection/detection-ImageDataUint16StorageFormat.https.window-expected.txt create mode 100644 third_party/blink/web_tests/flag-specific/disable-layout-ng/wpt_internal/geolocation-api/notimer-after-unload.https-expected.txt rename third_party/blink/web_tests/{platform/linux => flag-specific/disable-layout-ng}/wpt_internal/geolocation-api/timeout-clear-watch.https-expected.txt (69%) rename third_party/blink/web_tests/{platform/linux => flag-specific/disable-layout-ng}/wpt_internal/geolocation-api/timeout-negative.https-expected.txt (64%) rename third_party/blink/web_tests/{platform/linux => flag-specific/disable-layout-ng}/wpt_internal/geolocation-api/timeout-zero.https-expected.txt (64%) create mode 100644 third_party/blink/web_tests/flag-specific/disable-layout-ng/wpt_internal/geolocation-api/timeout.https-expected.txt create mode 100644 third_party/blink/web_tests/flag-specific/disable-site-isolation-trials/external/wpt/shape-detection/detection-ImageDataUint16StorageFormat.https.window-expected.txt create mode 100644 third_party/blink/web_tests/flag-specific/disable-site-isolation-trials/wpt_internal/geolocation-api/notimer-after-unload.https-expected.txt create mode 100644 third_party/blink/web_tests/flag-specific/disable-site-isolation-trials/wpt_internal/geolocation-api/timeout-clear-watch.https-expected.txt create mode 100644 third_party/blink/web_tests/flag-specific/disable-site-isolation-trials/wpt_internal/geolocation-api/timeout-negative.https-expected.txt create mode 100644 third_party/blink/web_tests/flag-specific/disable-site-isolation-trials/wpt_internal/geolocation-api/timeout-zero.https-expected.txt create mode 100644 third_party/blink/web_tests/flag-specific/disable-site-isolation-trials/wpt_internal/geolocation-api/timeout.https-expected.txt delete mode 100644 third_party/blink/web_tests/platform/linux/external/wpt/shape-detection/detection-ImageDataUint16StorageFormat.https.window-expected.txt create mode 100644 third_party/blink/web_tests/platform/linux/external/wpt/webxr/depth-sensing/gpu/depth_sensing_gpu_dataUnavailable.https-expected.txt create mode 100644 third_party/blink/web_tests/platform/linux/external/wpt/webxr/depth-sensing/gpu/depth_sensing_gpu_incorrectUsage.https-expected.txt create mode 100644 third_party/blink/web_tests/platform/linux/external/wpt/webxr/depth-sensing/gpu/depth_sensing_gpu_staleView.https-expected.txt delete mode 100644 third_party/blink/web_tests/platform/linux/wpt_internal/geolocation-api/notimer-after-unload.https-expected.txt delete mode 100644 third_party/blink/web_tests/platform/linux/wpt_internal/geolocation-api/timeout.https-expected.txt diff --git a/third_party/blink/web_tests/FlagExpectations/disable-layout-ng b/third_party/blink/web_tests/FlagExpectations/disable-layout-ng index a799495b880f3..29799b2661c06 100644 --- a/third_party/blink/web_tests/FlagExpectations/disable-layout-ng +++ b/third_party/blink/web_tests/FlagExpectations/disable-layout-ng @@ -11,6 +11,10 @@ # Tests that fail in legacy but pass in NG # ====== New tests from wpt-importer added here ====== +crbug.com/626703 external/wpt/geolocation-API/enabled-by-permission-policy-attribute-redirect-on-load.https.sub.html [ Timeout ] +crbug.com/626703 external/wpt/geolocation-API/enabled-by-permission-policy-attribute.https.sub.html [ Timeout ] +crbug.com/626703 external/wpt/geolocation-API/enabled-by-permissions-policy.https.sub.html [ Timeout ] +crbug.com/626703 external/wpt/geolocation-API/enabled-on-self-origin-by-permissions-policy.https.sub.html [ Timeout ] crbug.com/626703 external/wpt/bluetooth/adapter/adapter-absent-getAvailability.https.window.html [ Crash ] crbug.com/626703 external/wpt/bluetooth/adapter/adapter-added-getAvailability.https.window.html [ Crash ] crbug.com/626703 external/wpt/bluetooth/adapter/adapter-powered-off-getAvailability.https.window.html [ Crash ] diff --git a/third_party/blink/web_tests/FlagExpectations/disable-site-isolation-trials b/third_party/blink/web_tests/FlagExpectations/disable-site-isolation-trials index 1e59701bd755b..0761869dab543 100644 --- a/third_party/blink/web_tests/FlagExpectations/disable-site-isolation-trials +++ b/third_party/blink/web_tests/FlagExpectations/disable-site-isolation-trials @@ -79,6 +79,10 @@ crbug.com/1209223 external/wpt/html/browsers/browsing-the-web/navigating-across- crbug.com/1209223 external/wpt/html/browsers/browsing-the-web/navigating-across-documents/javascript-url-security-check-same-origin-domain.sub.html [ Failure ] # ====== New tests from wpt-importer added here ====== +crbug.com/626703 external/wpt/geolocation-API/enabled-by-permission-policy-attribute-redirect-on-load.https.sub.html [ Timeout ] +crbug.com/626703 external/wpt/geolocation-API/enabled-by-permission-policy-attribute.https.sub.html [ Timeout ] +crbug.com/626703 external/wpt/geolocation-API/enabled-by-permissions-policy.https.sub.html [ Timeout ] +crbug.com/626703 external/wpt/geolocation-API/enabled-on-self-origin-by-permissions-policy.https.sub.html [ Timeout ] crbug.com/626703 external/wpt/dom/events/scrolling/scrollend-event-handler-content-attributes.html [ Timeout ] crbug.com/626703 external/wpt/screen-orientation/active-lock.html [ Timeout ] crbug.com/626703 external/wpt/css/selectors/media/media-loading-state.html [ Timeout ] diff --git a/third_party/blink/web_tests/TestExpectations b/third_party/blink/web_tests/TestExpectations index 6f619a426017a..fbc8273ae4aa1 100644 --- a/third_party/blink/web_tests/TestExpectations +++ b/third_party/blink/web_tests/TestExpectations @@ -3022,6 +3022,10 @@ crbug.com/626703 [ Win ] external/wpt/speculation-rules/prerender/storage-founda crbug.com/626703 [ Win ] virtual/partitioned-cookies/http/tests/inspector-protocol/network/disabled-cache-navigation.js [ Failure ] # ====== New tests from wpt-importer added here ====== +crbug.com/626703 external/wpt/geolocation-API/enabled-by-permission-policy-attribute-redirect-on-load.https.sub.html [ Timeout ] +crbug.com/626703 external/wpt/geolocation-API/enabled-by-permission-policy-attribute.https.sub.html [ Timeout ] +crbug.com/626703 external/wpt/geolocation-API/enabled-by-permissions-policy.https.sub.html [ Timeout ] +crbug.com/626703 external/wpt/geolocation-API/enabled-on-self-origin-by-permissions-policy.https.sub.html [ Timeout ] crbug.com/626703 [ Linux ] external/wpt/bluetooth/adapter/adapter-absent-getAvailability.https.window.html [ Crash ] crbug.com/626703 [ Linux ] external/wpt/bluetooth/adapter/adapter-added-getAvailability.https.window.html [ Crash ] crbug.com/626703 [ Linux ] external/wpt/bluetooth/adapter/adapter-powered-off-getAvailability.https.window.html [ Crash ] diff --git a/third_party/blink/web_tests/external/WPT_BASE_MANIFEST_8.json b/third_party/blink/web_tests/external/WPT_BASE_MANIFEST_8.json index a349bb84c2b9a..12c7beffb0dc8 100644 --- a/third_party/blink/web_tests/external/WPT_BASE_MANIFEST_8.json +++ b/third_party/blink/web_tests/external/WPT_BASE_MANIFEST_8.json @@ -264792,10 +264792,6 @@ "14fa5353a94d6e817867131b3d39e97aacdb670f", [] ], - "idlharness.window-expected.txt": [ - "a997488813c197db7ef450a03c2827554a6d5575", - [] - ], "idlharness.window.js.ini": [ "5db26da0f4df3f4b9cc528382ddeaf28d9f20fc6", [] @@ -274150,6 +274146,10 @@ "ff88b1e74a951b77458340de03b91d177302543e", [] ], + "position-fallback-tree-scoped-expected.txt": [ + "789f12eac0eae063422bcad9ab237705e0ebb214", + [] + ], "reference": { "anchor-scroll-fixedpos-ref.html": [ "e73354df72dac33f7a94eaef445e80ec61e3976a", @@ -320123,7 +320123,7 @@ [] ], "cssom-getPropertyValue-common-checks-expected.txt": [ - "7dc527c588063c123b96d477780303c91cd70d48", + "5e91a7e28c5626806fa4f72abcac33263fe3987d", [] ], "cssstyledeclaration-cssfontrule.tentative-expected.txt": [ @@ -323291,17 +323291,9 @@ "57ba808a2e4b1f787988967817391d9ecc397418", [] ], - "idlharness.any-expected.txt": [ - "3dbd47f9045602410f957505b875fe2d5f215ee2", - [] - ], "idlharness.any.js.ini": [ "0701fef0fd23cf00220cc3751538784cc2381f81", [] - ], - "idlharness.any.worker-expected.txt": [ - "3dbd47f9045602410f957505b875fe2d5f215ee2", - [] ] }, "device-memory": { @@ -328952,10 +328944,6 @@ "59652e2e7ae0056a6cc4be7f004b6d0151fb9d44", [] ], - "feature-policy-geolocation.html": [ - "81943845447e6c6b7962b3961996e45c12e04cd4", - [] - ], "feature-policy-nested-subframe-policy.https.sub.html": [ "30525d8a3cda45b5ca63777c582a74e677f27031", [] @@ -333353,14 +333341,14 @@ "5c49de21a3b53dfe928d30a36400469d8238bb1d", [] ], - "disabled-by-feature-policy.https.sub.html.headers": [ - "7e75481ea6d71080aaef8b43e774f5da9c9741e5", - [] - ], "disabled-by-feature-policy.https.sub.html.ini": [ "bb53fa465504b317f5f9cb499eb43f2f1162319f", [] ], + "disabled-by-permissions-policy.https.sub.html.headers": [ + "26bfbc2496488e113641a8d015b7b03494ac4c83", + [] + ], "enabled-by-feature-policy-attribute-redirect-on-load.https.sub.html.ini": [ "6c598aef3e06a70005fc8fa18f4c5f090b4ab8cb", [] @@ -333369,22 +333357,22 @@ "6fc81afb38d960d7d4bcaf373dd9050085f0b4b1", [] ], - "enabled-by-feature-policy.https.sub.html.headers": [ - "40e9bc16ff98867d0d048fe3a48237a8189ee317", - [] - ], "enabled-by-feature-policy.https.sub.html.ini": [ "3a3889b44d6b25670424cad8606570a732df1e0b", [] ], - "enabled-on-self-origin-by-feature-policy.https.sub.html.headers": [ - "b83264eee76491342a6328ca2ae82b7fb777cc37", + "enabled-by-permissions-policy.https.sub.html.headers": [ + "774f4819e9b6cd9c5d4847bef043791720844b3e", [] ], "enabled-on-self-origin-by-feature-policy.https.sub.html.ini": [ "f9f3d511c9e60e985005723ecb829b4261abe550", [] ], + "enabled-on-self-origin-by-permissions-policy.https.sub.html.headers": [ + "9fa0a4ac9a8a161aa01a9f9f70d70499f606a25a", + [] + ], "getCurrentPosition_IDL.https-expected.txt": [ "8781bccd59718f81b29112d2efbfe6407f697e52", [] @@ -355297,17 +355285,9 @@ "b738239a16f9110ac148b4d3c0bcfecb7eca25bd", [] ], - "idlharness.any-expected.txt": [ - "2d65b553a346f7dcddc870151210bcb7b90142cf", - [] - ], "idlharness.any.js.ini": [ "fc52caadf8afe7a699eac99eb7d50bc99ee367ea", [] - ], - "idlharness.any.worker-expected.txt": [ - "2d65b553a346f7dcddc870151210bcb7b90142cf", - [] ] }, "is-input-pending": { @@ -360720,7 +360700,7 @@ ] }, "idlharness.window-expected.txt": [ - "2f84795ce9dce1094959571183759ad9a2752a30", + "bb8b0850e28119512ed3d4cad69a5e35c3280f47", [] ], "idlharness.window.js.ini": [ @@ -361074,6 +361054,10 @@ "59652e2e7ae0056a6cc4be7f004b6d0151fb9d44", [] ], + "permissions-policy-geolocation.html": [ + "c9ae680ff2d2297781b386fbde2c71c6354cc180", + [] + ], "permissions-policy-idle-detection-worker.html": [ "5bcc3980390bbb4cc223998d0af5118d943a69f8", [] @@ -363917,18 +363901,10 @@ "7167d54d8388fc3aa5bd57ee598e4ab48f88b396", [] ], - "idlharness.any-expected.txt": [ - "55ab8a9bd30bc2473b9faa72c0baf27e7dfdf298", - [] - ], "idlharness.any.js.ini": [ "0f79ee948676eeea626580a5914953af3a6a3f23", [] ], - "idlharness.any.worker-expected.txt": [ - "55ab8a9bd30bc2473b9faa72c0baf27e7dfdf298", - [] - ], "idlharness.window-expected.txt": [ "2852fc5895a9b4e8fccf5c53619cdb79fb399587", [] @@ -419028,6 +419004,13 @@ null, {} ] + ], + "position-fallback-tree-scoped.html": [ + "5b5c25f1030113bc6a8aaf68d4e977170e0b899f", + [ + null, + {} + ] ] }, "css-animations": { @@ -446749,7 +446732,7 @@ ] ], "cssom-getPropertyValue-common-checks.html": [ - "29ca39a88a659bc5a60b3464617235dd30e9d42d", + "27d802cd3df622f80bce890d2422791c8b81fcd3", [ null, {} @@ -487511,8 +487494,8 @@ {} ] ], - "disabled-by-feature-policy.https.sub.html": [ - "26fa7218a6d32a36ee4f99439580bcd19ddd7639", + "disabled-by-permissions-policy.https.sub.html": [ + "9b603982b99ab9c070031f30cce5846eb8940292", [ null, { @@ -487520,22 +487503,22 @@ } ] ], - "enabled-by-feature-policy-attribute-redirect-on-load.https.sub.html": [ - "30de411cb7a342d105e2c6e0ae21c4d64c8f05dd", + "enabled-by-permission-policy-attribute-redirect-on-load.https.sub.html": [ + "864fb5e76139ed9e6158c08278dca0790f126c7b", [ null, {} ] ], - "enabled-by-feature-policy-attribute.https.sub.html": [ - "49a6d777d66fa09df8d9ec38543f1097b95b6ffc", + "enabled-by-permission-policy-attribute.https.sub.html": [ + "018409b82902672f66894b03a711bb708cad262c", [ null, {} ] ], - "enabled-by-feature-policy.https.sub.html": [ - "955ed10632e84f52f231a4a0beeedb1ae5a7fc35", + "enabled-by-permissions-policy.https.sub.html": [ + "007f79ab9c4256fbebae51f54d34144843020982", [ null, { @@ -487543,8 +487526,8 @@ } ] ], - "enabled-on-self-origin-by-feature-policy.https.sub.html": [ - "12ff86fa4e554dc02524877ffb534e4c9cc11c5c", + "enabled-on-self-origin-by-permissions-policy.https.sub.html": [ + "d879c1c5432bb884af89f0f9fc24e328f8a3eae5", [ null, { @@ -487560,7 +487543,7 @@ ] ], "getCurrentPosition_permission_allow.https.html": [ - "102b8b4d11ea6d609de4e6f5e7be4b6ae370a425", + "c7fa970e086fe0efdd545f0c3cd7da5218b7bed8", [ null, { @@ -555294,7 +555277,7 @@ ] ], "fcp-document-opacity-image.html": [ - "7f211324761b4f63995ee00f40c0af0a7dc27488", + "e407f687086b9c8d9fecf96d6234e57c66d6183c", [ null, {} @@ -556411,6 +556394,13 @@ {} ] ], + "cross-origin-non-tao-image.sub.html": [ + "210f4e1fa3e8afdf4ac6a97671829bf52d223df1", + [ + null, + {} + ] + ], "droppedentriescount.any.js": [ "4de816bdc42bd8f73defcb07cb694a5fddfe058b", [ diff --git a/third_party/blink/web_tests/external/wpt/css/cssom/cssom-getPropertyValue-common-checks-expected.txt b/third_party/blink/web_tests/external/wpt/css/cssom/cssom-getPropertyValue-common-checks-expected.txt index 7dc527c588063..5e91a7e28c562 100644 --- a/third_party/blink/web_tests/external/wpt/css/cssom/cssom-getPropertyValue-common-checks-expected.txt +++ b/third_party/blink/web_tests/external/wpt/css/cssom/cssom-getPropertyValue-common-checks-expected.txt @@ -1,9 +1,9 @@ This is a testharness.js-based test. PASS All properties can serialize 'initial' -FAIL All properties (except 'all') can serialize their initial value (computed) assert_array_equals: lengths differ, expected array ["all"] length 1, got ["all", ["background-repeat-x", ""], ["background-repeat-y", ""], ["grid", "none / none / none / row / auto / auto"], ["grid-template", "none / none / none"], ["page-orientation", ""], ["size", ""], ["view-timeline", ""]] length 8 +FAIL All properties (except 'all') can serialize their initial value (computed) assert_array_equals: lengths differ, expected array [] length 0, got [["background-repeat-x", ""], ["background-repeat-y", ""], ["grid", "none / none / none / row / auto / auto"], ["grid-template", "none / none / none"], ["page-orientation", ""], ["size", ""], ["view-timeline", ""]] length 7 FAIL All properties (except 'all') can serialize their initial value (specified) assert_array_equals: lengths differ, expected array [] length 0, got [["grid-column-gap", "normal", ""], ["grid-gap", "normal normal", ""], ["grid-row-gap", "normal", ""]] length 3 PASS All shorthands can serialize their longhands set to 'initial' -FAIL All shorthands can serialize their longhands set to their initial value assert_array_equals: lengths differ, expected array [] length 0, got [["border", ""], ["grid-gap", ""]] length 2 +FAIL All shorthands (except 'all') can serialize their longhands set to their initial value assert_array_equals: lengths differ, expected array [] length 0, got [["border", ""], ["grid-gap", ""]] length 2 PASS All aliases can serialize target property set to 'initial' FAIL All aliases can serialize target property set to its initial value assert_array_equals: lengths differ, expected array [] length 0, got [["grid-column-gap", ""], ["grid-row-gap", ""]] length 2 PASS Can't serialize shorthand when longhands are set to different css-wide keywords diff --git a/third_party/blink/web_tests/external/wpt/css/cssom/cssom-getPropertyValue-common-checks.html b/third_party/blink/web_tests/external/wpt/css/cssom/cssom-getPropertyValue-common-checks.html index 29ca39a88a659..27d802cd3df62 100644 --- a/third_party/blink/web_tests/external/wpt/css/cssom/cssom-getPropertyValue-common-checks.html +++ b/third_party/blink/web_tests/external/wpt/css/cssom/cssom-getPropertyValue-common-checks.html @@ -72,13 +72,11 @@ const result = computedStyle.getPropertyValue(property); if (CSS.supports(property, result)) { initialValues.set(property, result); - } else if (property === "all") { - bad.push("all"); - } else { + } else if (property !== "all") { bad.push([property, result]); } } - assert_array_equals(bad, ["all"]); + assert_array_equals(bad, []); }, "All properties (except 'all') can serialize their initial value (computed)"); test(function() { @@ -87,7 +85,7 @@ style.cssText = ""; style.setProperty(property, value); const result = style.getPropertyValue(property); - if (!CSS.supports(property, result)) { + if (!CSS.supports(property, result) && property !== "all") { bad.push([property, value, result]); } } @@ -121,12 +119,12 @@ style.setProperty(longhand, initialValues.get(longhand)); } const result = style.getPropertyValue(shorthand); - if (!CSS.supports(shorthand, result)) { + if (!CSS.supports(shorthand, result) && shorthand !== "all") { bad.push([shorthand, result]); } } assert_array_equals(bad, []); -}, "All shorthands can serialize their longhands set to their initial value"); +}, "All shorthands (except 'all') can serialize their longhands set to their initial value"); test(function() { const bad = []; diff --git a/third_party/blink/web_tests/external/wpt/geolocation-API/disabled-by-feature-policy.https.sub.html.headers b/third_party/blink/web_tests/external/wpt/geolocation-API/disabled-by-feature-policy.https.sub.html.headers deleted file mode 100644 index 7e75481ea6d71..0000000000000 --- a/third_party/blink/web_tests/external/wpt/geolocation-API/disabled-by-feature-policy.https.sub.html.headers +++ /dev/null @@ -1 +0,0 @@ -Feature-Policy: geolocation 'none' diff --git a/third_party/blink/web_tests/external/wpt/geolocation-API/disabled-by-feature-policy.https.sub.html b/third_party/blink/web_tests/external/wpt/geolocation-API/disabled-by-permissions-policy.https.sub.html similarity index 79% rename from third_party/blink/web_tests/external/wpt/geolocation-API/disabled-by-feature-policy.https.sub.html rename to third_party/blink/web_tests/external/wpt/geolocation-API/disabled-by-permissions-policy.https.sub.html index 26fa7218a6d32..9b603982b99ab 100644 --- a/third_party/blink/web_tests/external/wpt/geolocation-API/disabled-by-feature-policy.https.sub.html +++ b/third_party/blink/web_tests/external/wpt/geolocation-API/disabled-by-permissions-policy.https.sub.html @@ -5,14 +5,14 @@ - + diff --git a/third_party/blink/web_tests/external/wpt/geolocation-API/disabled-by-permissions-policy.https.sub.html.headers b/third_party/blink/web_tests/external/wpt/geolocation-API/disabled-by-permissions-policy.https.sub.html.headers new file mode 100644 index 0000000000000..26bfbc2496488 --- /dev/null +++ b/third_party/blink/web_tests/external/wpt/geolocation-API/disabled-by-permissions-policy.https.sub.html.headers @@ -0,0 +1 @@ +Permissions-Policy: geolocation=() diff --git a/third_party/blink/web_tests/external/wpt/geolocation-API/enabled-by-feature-policy.https.sub.html.headers b/third_party/blink/web_tests/external/wpt/geolocation-API/enabled-by-feature-policy.https.sub.html.headers deleted file mode 100644 index 40e9bc16ff988..0000000000000 --- a/third_party/blink/web_tests/external/wpt/geolocation-API/enabled-by-feature-policy.https.sub.html.headers +++ /dev/null @@ -1 +0,0 @@ -Feature-Policy: geolocation * diff --git a/third_party/blink/web_tests/external/wpt/geolocation-API/enabled-by-feature-policy-attribute-redirect-on-load.https.sub.html b/third_party/blink/web_tests/external/wpt/geolocation-API/enabled-by-permission-policy-attribute-redirect-on-load.https.sub.html similarity index 53% rename from third_party/blink/web_tests/external/wpt/geolocation-API/enabled-by-feature-policy-attribute-redirect-on-load.https.sub.html rename to third_party/blink/web_tests/external/wpt/geolocation-API/enabled-by-permission-policy-attribute-redirect-on-load.https.sub.html index 30de411cb7a34..864fb5e76139e 100644 --- a/third_party/blink/web_tests/external/wpt/geolocation-API/enabled-by-feature-policy-attribute-redirect-on-load.https.sub.html +++ b/third_party/blink/web_tests/external/wpt/geolocation-API/enabled-by-permission-policy-attribute-redirect-on-load.https.sub.html @@ -2,15 +2,15 @@ - + diff --git a/third_party/blink/web_tests/external/wpt/geolocation-API/enabled-by-feature-policy-attribute.https.sub.html b/third_party/blink/web_tests/external/wpt/geolocation-API/enabled-by-permission-policy-attribute.https.sub.html similarity index 56% rename from third_party/blink/web_tests/external/wpt/geolocation-API/enabled-by-feature-policy-attribute.https.sub.html rename to third_party/blink/web_tests/external/wpt/geolocation-API/enabled-by-permission-policy-attribute.https.sub.html index 49a6d777d66fa..018409b829026 100644 --- a/third_party/blink/web_tests/external/wpt/geolocation-API/enabled-by-feature-policy-attribute.https.sub.html +++ b/third_party/blink/web_tests/external/wpt/geolocation-API/enabled-by-permission-policy-attribute.https.sub.html @@ -2,14 +2,14 @@ - + diff --git a/third_party/blink/web_tests/external/wpt/geolocation-API/enabled-by-feature-policy.https.sub.html b/third_party/blink/web_tests/external/wpt/geolocation-API/enabled-by-permissions-policy.https.sub.html similarity index 63% rename from third_party/blink/web_tests/external/wpt/geolocation-API/enabled-by-feature-policy.https.sub.html rename to third_party/blink/web_tests/external/wpt/geolocation-API/enabled-by-permissions-policy.https.sub.html index 955ed10632e84..007f79ab9c425 100644 --- a/third_party/blink/web_tests/external/wpt/geolocation-API/enabled-by-feature-policy.https.sub.html +++ b/third_party/blink/web_tests/external/wpt/geolocation-API/enabled-by-permissions-policy.https.sub.html @@ -5,21 +5,15 @@ - + diff --git a/third_party/blink/web_tests/external/wpt/geolocation-API/enabled-by-permissions-policy.https.sub.html.headers b/third_party/blink/web_tests/external/wpt/geolocation-API/enabled-by-permissions-policy.https.sub.html.headers new file mode 100644 index 0000000000000..774f4819e9b6c --- /dev/null +++ b/third_party/blink/web_tests/external/wpt/geolocation-API/enabled-by-permissions-policy.https.sub.html.headers @@ -0,0 +1 @@ +Permissions-Policy: geolocation=* diff --git a/third_party/blink/web_tests/external/wpt/geolocation-API/enabled-on-self-origin-by-feature-policy.https.sub.html.headers b/third_party/blink/web_tests/external/wpt/geolocation-API/enabled-on-self-origin-by-feature-policy.https.sub.html.headers deleted file mode 100644 index b83264eee7649..0000000000000 --- a/third_party/blink/web_tests/external/wpt/geolocation-API/enabled-on-self-origin-by-feature-policy.https.sub.html.headers +++ /dev/null @@ -1 +0,0 @@ -Feature-Policy: geolocation 'self' diff --git a/third_party/blink/web_tests/external/wpt/geolocation-API/enabled-on-self-origin-by-feature-policy.https.sub.html b/third_party/blink/web_tests/external/wpt/geolocation-API/enabled-on-self-origin-by-permissions-policy.https.sub.html similarity index 51% rename from third_party/blink/web_tests/external/wpt/geolocation-API/enabled-on-self-origin-by-feature-policy.https.sub.html rename to third_party/blink/web_tests/external/wpt/geolocation-API/enabled-on-self-origin-by-permissions-policy.https.sub.html index 12ff86fa4e554..d879c1c5432bb 100644 --- a/third_party/blink/web_tests/external/wpt/geolocation-API/enabled-on-self-origin-by-feature-policy.https.sub.html +++ b/third_party/blink/web_tests/external/wpt/geolocation-API/enabled-on-self-origin-by-permissions-policy.https.sub.html @@ -4,26 +4,22 @@ - + diff --git a/third_party/blink/web_tests/external/wpt/geolocation-API/enabled-on-self-origin-by-permissions-policy.https.sub.html.headers b/third_party/blink/web_tests/external/wpt/geolocation-API/enabled-on-self-origin-by-permissions-policy.https.sub.html.headers new file mode 100644 index 0000000000000..9fa0a4ac9a8a1 --- /dev/null +++ b/third_party/blink/web_tests/external/wpt/geolocation-API/enabled-on-self-origin-by-permissions-policy.https.sub.html.headers @@ -0,0 +1 @@ +Permissions-Policy: geolocation=(self) diff --git a/third_party/blink/web_tests/external/wpt/geolocation-API/getCurrentPosition_permission_allow.https.html b/third_party/blink/web_tests/external/wpt/geolocation-API/getCurrentPosition_permission_allow.https.html index 102b8b4d11ea6..c7fa970e086fe 100644 --- a/third_party/blink/web_tests/external/wpt/geolocation-API/getCurrentPosition_permission_allow.https.html +++ b/third_party/blink/web_tests/external/wpt/geolocation-API/getCurrentPosition_permission_allow.https.html @@ -19,7 +19,10 @@ let calledAsync = false; navigator.geolocation.getCurrentPosition( t.step_func((position) => { - assert_true(calledAsync, "Expected callback to be called asynchronously") + assert_true( + calledAsync, + "Expected callback to be called asynchronously" + ); resolve(position); }), reject diff --git a/third_party/blink/web_tests/external/wpt/feature-policy/resources/feature-policy-geolocation.html b/third_party/blink/web_tests/external/wpt/permissions-policy/resources/permissions-policy-geolocation.html similarity index 72% rename from third_party/blink/web_tests/external/wpt/feature-policy/resources/feature-policy-geolocation.html rename to third_party/blink/web_tests/external/wpt/permissions-policy/resources/permissions-policy-geolocation.html index 81943845447e6..c9ae680ff2d22 100644 --- a/third_party/blink/web_tests/external/wpt/feature-policy/resources/feature-policy-geolocation.html +++ b/third_party/blink/web_tests/external/wpt/permissions-policy/resources/permissions-policy-geolocation.html @@ -4,18 +4,20 @@ "use strict"; Promise.resolve().then(async () => { + test_driver.set_test_context(window.parent); await test_driver.set_permission( { name: "geolocation" }, "granted", false ); + let enabled = true; try { await new Promise((resolve, reject) => { navigator.geolocation.getCurrentPosition(resolve, reject); }); - window.parent.postMessage({ enabled: true }, "*"); } catch (e) { - window.parent.postMessage({ enabled: false }, "*"); + enabled = false; } + window.parent.postMessage({ type: "availability-result", enabled }, "*"); }); diff --git a/third_party/blink/web_tests/flag-specific/disable-layout-ng/external/wpt/shape-detection/detection-ImageDataUint16StorageFormat.https.window-expected.txt b/third_party/blink/web_tests/flag-specific/disable-layout-ng/external/wpt/shape-detection/detection-ImageDataUint16StorageFormat.https.window-expected.txt new file mode 100644 index 0000000000000..c06afed775c73 --- /dev/null +++ b/third_party/blink/web_tests/flag-specific/disable-layout-ng/external/wpt/shape-detection/detection-ImageDataUint16StorageFormat.https.window-expected.txt @@ -0,0 +1,6 @@ +This is a testharness.js-based test. +PASS FaceDetector.detect() can process uint16 storage format ImageData +PASS BarcodeDetector.detect() can process uint16 storage format ImageData +PASS TextDetector.detect() can process uint16 storage format ImageData +Harness: the test ran to completion. + diff --git a/third_party/blink/web_tests/flag-specific/disable-layout-ng/wpt_internal/geolocation-api/notimer-after-unload.https-expected.txt b/third_party/blink/web_tests/flag-specific/disable-layout-ng/wpt_internal/geolocation-api/notimer-after-unload.https-expected.txt new file mode 100644 index 0000000000000..492e3bd335866 --- /dev/null +++ b/third_party/blink/web_tests/flag-specific/disable-layout-ng/wpt_internal/geolocation-api/notimer-after-unload.https-expected.txt @@ -0,0 +1,4 @@ +This is a testharness.js-based test. +PASS geolocation callbacks are not invoked after page unload +Harness: the test ran to completion. + diff --git a/third_party/blink/web_tests/platform/linux/wpt_internal/geolocation-api/timeout-clear-watch.https-expected.txt b/third_party/blink/web_tests/flag-specific/disable-layout-ng/wpt_internal/geolocation-api/timeout-clear-watch.https-expected.txt similarity index 69% rename from third_party/blink/web_tests/platform/linux/wpt_internal/geolocation-api/timeout-clear-watch.https-expected.txt rename to third_party/blink/web_tests/flag-specific/disable-layout-ng/wpt_internal/geolocation-api/timeout-clear-watch.https-expected.txt index 3fce3f3cb04dd..bfad7c443786f 100644 --- a/third_party/blink/web_tests/platform/linux/wpt_internal/geolocation-api/timeout-clear-watch.https-expected.txt +++ b/third_party/blink/web_tests/flag-specific/disable-layout-ng/wpt_internal/geolocation-api/timeout-clear-watch.https-expected.txt @@ -1,5 +1,4 @@ This is a testharness.js-based test. -Harness Error. harness_status.status = 1 , harness_status.message = Uncaught Error: Received unknown message PASS Tests that when a watch times out and is cleared from the error callback, there is no crash. This a regression test for https://bugs.webkit.org/show_bug.cgi?id=32111. Harness: the test ran to completion. diff --git a/third_party/blink/web_tests/platform/linux/wpt_internal/geolocation-api/timeout-negative.https-expected.txt b/third_party/blink/web_tests/flag-specific/disable-layout-ng/wpt_internal/geolocation-api/timeout-negative.https-expected.txt similarity index 64% rename from third_party/blink/web_tests/platform/linux/wpt_internal/geolocation-api/timeout-negative.https-expected.txt rename to third_party/blink/web_tests/flag-specific/disable-layout-ng/wpt_internal/geolocation-api/timeout-negative.https-expected.txt index bb7bda227e211..ec1f1b4071407 100644 --- a/third_party/blink/web_tests/platform/linux/wpt_internal/geolocation-api/timeout-negative.https-expected.txt +++ b/third_party/blink/web_tests/flag-specific/disable-layout-ng/wpt_internal/geolocation-api/timeout-negative.https-expected.txt @@ -1,5 +1,4 @@ This is a testharness.js-based test. -Harness Error. harness_status.status = 1 , harness_status.message = Uncaught Error: Received unknown message PASS Tests that when timeout is negative (and maximumAge is too), the error callback is called immediately with code TIMEOUT. Harness: the test ran to completion. diff --git a/third_party/blink/web_tests/platform/linux/wpt_internal/geolocation-api/timeout-zero.https-expected.txt b/third_party/blink/web_tests/flag-specific/disable-layout-ng/wpt_internal/geolocation-api/timeout-zero.https-expected.txt similarity index 64% rename from third_party/blink/web_tests/platform/linux/wpt_internal/geolocation-api/timeout-zero.https-expected.txt rename to third_party/blink/web_tests/flag-specific/disable-layout-ng/wpt_internal/geolocation-api/timeout-zero.https-expected.txt index ca5e2e80db26d..4f97b9d3dffc0 100644 --- a/third_party/blink/web_tests/platform/linux/wpt_internal/geolocation-api/timeout-zero.https-expected.txt +++ b/third_party/blink/web_tests/flag-specific/disable-layout-ng/wpt_internal/geolocation-api/timeout-zero.https-expected.txt @@ -1,5 +1,4 @@ This is a testharness.js-based test. -Harness Error. harness_status.status = 1 , harness_status.message = Uncaught Error: Received unknown message PASS Tests that when timeout is zero (and maximumAge is too), the error callback is called immediately with code TIMEOUT. Harness: the test ran to completion. diff --git a/third_party/blink/web_tests/flag-specific/disable-layout-ng/wpt_internal/geolocation-api/timeout.https-expected.txt b/third_party/blink/web_tests/flag-specific/disable-layout-ng/wpt_internal/geolocation-api/timeout.https-expected.txt new file mode 100644 index 0000000000000..e11f09486c1b1 --- /dev/null +++ b/third_party/blink/web_tests/flag-specific/disable-layout-ng/wpt_internal/geolocation-api/timeout.https-expected.txt @@ -0,0 +1,4 @@ +This is a testharness.js-based test. +PASS Tests that when timeout is non-zero, the success callback is called as expected. +Harness: the test ran to completion. + diff --git a/third_party/blink/web_tests/flag-specific/disable-site-isolation-trials/external/wpt/shape-detection/detection-ImageDataUint16StorageFormat.https.window-expected.txt b/third_party/blink/web_tests/flag-specific/disable-site-isolation-trials/external/wpt/shape-detection/detection-ImageDataUint16StorageFormat.https.window-expected.txt new file mode 100644 index 0000000000000..c06afed775c73 --- /dev/null +++ b/third_party/blink/web_tests/flag-specific/disable-site-isolation-trials/external/wpt/shape-detection/detection-ImageDataUint16StorageFormat.https.window-expected.txt @@ -0,0 +1,6 @@ +This is a testharness.js-based test. +PASS FaceDetector.detect() can process uint16 storage format ImageData +PASS BarcodeDetector.detect() can process uint16 storage format ImageData +PASS TextDetector.detect() can process uint16 storage format ImageData +Harness: the test ran to completion. + diff --git a/third_party/blink/web_tests/flag-specific/disable-site-isolation-trials/wpt_internal/geolocation-api/notimer-after-unload.https-expected.txt b/third_party/blink/web_tests/flag-specific/disable-site-isolation-trials/wpt_internal/geolocation-api/notimer-after-unload.https-expected.txt new file mode 100644 index 0000000000000..492e3bd335866 --- /dev/null +++ b/third_party/blink/web_tests/flag-specific/disable-site-isolation-trials/wpt_internal/geolocation-api/notimer-after-unload.https-expected.txt @@ -0,0 +1,4 @@ +This is a testharness.js-based test. +PASS geolocation callbacks are not invoked after page unload +Harness: the test ran to completion. + diff --git a/third_party/blink/web_tests/flag-specific/disable-site-isolation-trials/wpt_internal/geolocation-api/timeout-clear-watch.https-expected.txt b/third_party/blink/web_tests/flag-specific/disable-site-isolation-trials/wpt_internal/geolocation-api/timeout-clear-watch.https-expected.txt new file mode 100644 index 0000000000000..bfad7c443786f --- /dev/null +++ b/third_party/blink/web_tests/flag-specific/disable-site-isolation-trials/wpt_internal/geolocation-api/timeout-clear-watch.https-expected.txt @@ -0,0 +1,4 @@ +This is a testharness.js-based test. +PASS Tests that when a watch times out and is cleared from the error callback, there is no crash. This a regression test for https://bugs.webkit.org/show_bug.cgi?id=32111. +Harness: the test ran to completion. + diff --git a/third_party/blink/web_tests/flag-specific/disable-site-isolation-trials/wpt_internal/geolocation-api/timeout-negative.https-expected.txt b/third_party/blink/web_tests/flag-specific/disable-site-isolation-trials/wpt_internal/geolocation-api/timeout-negative.https-expected.txt new file mode 100644 index 0000000000000..ec1f1b4071407 --- /dev/null +++ b/third_party/blink/web_tests/flag-specific/disable-site-isolation-trials/wpt_internal/geolocation-api/timeout-negative.https-expected.txt @@ -0,0 +1,4 @@ +This is a testharness.js-based test. +PASS Tests that when timeout is negative (and maximumAge is too), the error callback is called immediately with code TIMEOUT. +Harness: the test ran to completion. + diff --git a/third_party/blink/web_tests/flag-specific/disable-site-isolation-trials/wpt_internal/geolocation-api/timeout-zero.https-expected.txt b/third_party/blink/web_tests/flag-specific/disable-site-isolation-trials/wpt_internal/geolocation-api/timeout-zero.https-expected.txt new file mode 100644 index 0000000000000..4f97b9d3dffc0 --- /dev/null +++ b/third_party/blink/web_tests/flag-specific/disable-site-isolation-trials/wpt_internal/geolocation-api/timeout-zero.https-expected.txt @@ -0,0 +1,4 @@ +This is a testharness.js-based test. +PASS Tests that when timeout is zero (and maximumAge is too), the error callback is called immediately with code TIMEOUT. +Harness: the test ran to completion. + diff --git a/third_party/blink/web_tests/flag-specific/disable-site-isolation-trials/wpt_internal/geolocation-api/timeout.https-expected.txt b/third_party/blink/web_tests/flag-specific/disable-site-isolation-trials/wpt_internal/geolocation-api/timeout.https-expected.txt new file mode 100644 index 0000000000000..e11f09486c1b1 --- /dev/null +++ b/third_party/blink/web_tests/flag-specific/disable-site-isolation-trials/wpt_internal/geolocation-api/timeout.https-expected.txt @@ -0,0 +1,4 @@ +This is a testharness.js-based test. +PASS Tests that when timeout is non-zero, the success callback is called as expected. +Harness: the test ran to completion. + diff --git a/third_party/blink/web_tests/platform/linux/external/wpt/shape-detection/detection-ImageDataUint16StorageFormat.https.window-expected.txt b/third_party/blink/web_tests/platform/linux/external/wpt/shape-detection/detection-ImageDataUint16StorageFormat.https.window-expected.txt deleted file mode 100644 index 84b943ac44b54..0000000000000 --- a/third_party/blink/web_tests/platform/linux/external/wpt/shape-detection/detection-ImageDataUint16StorageFormat.https.window-expected.txt +++ /dev/null @@ -1,4 +0,0 @@ -This is a testharness.js-based test. -Harness Error. harness_status.status = 1 , harness_status.message = Uncaught Error: Received unknown message -Harness: the test ran to completion. - diff --git a/third_party/blink/web_tests/platform/linux/external/wpt/webxr/depth-sensing/gpu/depth_sensing_gpu_dataUnavailable.https-expected.txt b/third_party/blink/web_tests/platform/linux/external/wpt/webxr/depth-sensing/gpu/depth_sensing_gpu_dataUnavailable.https-expected.txt new file mode 100644 index 0000000000000..4dff610219fc8 --- /dev/null +++ b/third_party/blink/web_tests/platform/linux/external/wpt/webxr/depth-sensing/gpu/depth_sensing_gpu_dataUnavailable.https-expected.txt @@ -0,0 +1,5 @@ +This is a testharness.js-based test. +FAIL Ensures depth data is not available when cleared in the controller, `gpu-optimized` - webgl promise_test: Unhandled rejection with value: "Session with params \"immersive-ar\" was rejected on device {\"supportedModes\":[\"immersive-ar\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\",\"anchors\",\"depth-sensing\",\"secondary-views\",\"camera-access\"],\"depthSensingData\":{\"depthData\":{\"0\":1,\"1\":0,\"2\":1,\"3\":0,\"4\":1,\"5\":0,\"6\":1,\"7\":0,\"8\":1,\"9\":0,\"10\":1,\"11\":0,\"12\":1,\"13\":0,\"14\":1,\"15\":0,\"16\":2,\"17\":0,\"18\":3,\"19\":0,\"20\":4,\"21\":0,\"22\":5,\"23\":0,\"24\":6,\"25\":0,\"26\":7,\"27\":0,\"28\":1,\"29\":0,\"30\":4,\"31\":0,\"32\":9,\"33\":0,\"34\":16,\"35\":0,\"36\":25,\"37\":0,\"38\":36,\"39\":0,\"40\":49,\"41\":0,\"42\":1,\"43\":0,\"44\":8,\"45\":0,\"46\":27,\"47\":0,\"48\":64,\"49\":0,\"50\":125,\"51\":0,\"52\":216,\"53\":0,\"54\":87,\"55\":1,\"56\":1,\"57\":0,\"58\":16,\"59\":0,\"60\":81,\"61\":0,\"62\":0,\"63\":1,\"64\":113,\"65\":2,\"66\":16,\"67\":5,\"68\":97,\"69\":9},\"width\":7,\"height\":5,\"normDepthBufferFromNormView\":{\"position\":[1,1,0],\"orientation\":[0,0,1,0]},\"rawValueToMeters\":0.01}} with error: NotSupportedError: The specified session configuration is not supported." +FAIL Ensures depth data is not available when cleared in the controller, `gpu-optimized` - webgl2 promise_test: Unhandled rejection with value: "Session with params \"immersive-ar\" was rejected on device {\"supportedModes\":[\"immersive-ar\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\",\"anchors\",\"depth-sensing\",\"secondary-views\",\"camera-access\"],\"depthSensingData\":{\"depthData\":{\"0\":1,\"1\":0,\"2\":1,\"3\":0,\"4\":1,\"5\":0,\"6\":1,\"7\":0,\"8\":1,\"9\":0,\"10\":1,\"11\":0,\"12\":1,\"13\":0,\"14\":1,\"15\":0,\"16\":2,\"17\":0,\"18\":3,\"19\":0,\"20\":4,\"21\":0,\"22\":5,\"23\":0,\"24\":6,\"25\":0,\"26\":7,\"27\":0,\"28\":1,\"29\":0,\"30\":4,\"31\":0,\"32\":9,\"33\":0,\"34\":16,\"35\":0,\"36\":25,\"37\":0,\"38\":36,\"39\":0,\"40\":49,\"41\":0,\"42\":1,\"43\":0,\"44\":8,\"45\":0,\"46\":27,\"47\":0,\"48\":64,\"49\":0,\"50\":125,\"51\":0,\"52\":216,\"53\":0,\"54\":87,\"55\":1,\"56\":1,\"57\":0,\"58\":16,\"59\":0,\"60\":81,\"61\":0,\"62\":0,\"63\":1,\"64\":113,\"65\":2,\"66\":16,\"67\":5,\"68\":97,\"69\":9},\"width\":7,\"height\":5,\"normDepthBufferFromNormView\":{\"position\":[1,1,0],\"orientation\":[0,0,1,0]},\"rawValueToMeters\":0.01}} with error: NotSupportedError: The specified session configuration is not supported." +Harness: the test ran to completion. + diff --git a/third_party/blink/web_tests/platform/linux/external/wpt/webxr/depth-sensing/gpu/depth_sensing_gpu_incorrectUsage.https-expected.txt b/third_party/blink/web_tests/platform/linux/external/wpt/webxr/depth-sensing/gpu/depth_sensing_gpu_incorrectUsage.https-expected.txt new file mode 100644 index 0000000000000..8f04f566bfef4 --- /dev/null +++ b/third_party/blink/web_tests/platform/linux/external/wpt/webxr/depth-sensing/gpu/depth_sensing_gpu_incorrectUsage.https-expected.txt @@ -0,0 +1,5 @@ +This is a testharness.js-based test. +FAIL Ensures XRCPUDepthInformation is not obtainable in `gpu-optimized` usage mode - webgl promise_test: Unhandled rejection with value: "Session with params \"immersive-ar\" was rejected on device {\"supportedModes\":[\"immersive-ar\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\",\"anchors\",\"depth-sensing\",\"secondary-views\",\"camera-access\"]} with error: NotSupportedError: The specified session configuration is not supported." +FAIL Ensures XRCPUDepthInformation is not obtainable in `gpu-optimized` usage mode - webgl2 promise_test: Unhandled rejection with value: "Session with params \"immersive-ar\" was rejected on device {\"supportedModes\":[\"immersive-ar\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\",\"anchors\",\"depth-sensing\",\"secondary-views\",\"camera-access\"]} with error: NotSupportedError: The specified session configuration is not supported." +Harness: the test ran to completion. + diff --git a/third_party/blink/web_tests/platform/linux/external/wpt/webxr/depth-sensing/gpu/depth_sensing_gpu_staleView.https-expected.txt b/third_party/blink/web_tests/platform/linux/external/wpt/webxr/depth-sensing/gpu/depth_sensing_gpu_staleView.https-expected.txt new file mode 100644 index 0000000000000..108fa086f4eca --- /dev/null +++ b/third_party/blink/web_tests/platform/linux/external/wpt/webxr/depth-sensing/gpu/depth_sensing_gpu_staleView.https-expected.txt @@ -0,0 +1,5 @@ +This is a testharness.js-based test. +FAIL Ensures getDepthInformation() throws when not run with stale XRView, `gpu-optimized` - webgl promise_test: Unhandled rejection with value: "Session with params \"immersive-ar\" was rejected on device {\"supportedModes\":[\"immersive-ar\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\",\"anchors\",\"depth-sensing\",\"secondary-views\",\"camera-access\"]} with error: NotSupportedError: The specified session configuration is not supported." +FAIL Ensures getDepthInformation() throws when not run with stale XRView, `gpu-optimized` - webgl2 promise_test: Unhandled rejection with value: "Session with params \"immersive-ar\" was rejected on device {\"supportedModes\":[\"immersive-ar\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\",\"anchors\",\"depth-sensing\",\"secondary-views\",\"camera-access\"]} with error: NotSupportedError: The specified session configuration is not supported." +Harness: the test ran to completion. + diff --git a/third_party/blink/web_tests/platform/linux/wpt_internal/geolocation-api/notimer-after-unload.https-expected.txt b/third_party/blink/web_tests/platform/linux/wpt_internal/geolocation-api/notimer-after-unload.https-expected.txt deleted file mode 100644 index da5e58d36f5aa..0000000000000 --- a/third_party/blink/web_tests/platform/linux/wpt_internal/geolocation-api/notimer-after-unload.https-expected.txt +++ /dev/null @@ -1,4 +0,0 @@ -This is a testharness.js-based test. -FAIL geolocation callbacks are not invoked after page unload promise_test: Unhandled rejection with value: "Geolocation callback invoked after page unload" -Harness: the test ran to completion. - diff --git a/third_party/blink/web_tests/platform/linux/wpt_internal/geolocation-api/timeout.https-expected.txt b/third_party/blink/web_tests/platform/linux/wpt_internal/geolocation-api/timeout.https-expected.txt deleted file mode 100644 index 92ff9d719078b..0000000000000 --- a/third_party/blink/web_tests/platform/linux/wpt_internal/geolocation-api/timeout.https-expected.txt +++ /dev/null @@ -1,5 +0,0 @@ -This is a testharness.js-based test. -Harness Error. harness_status.status = 1 , harness_status.message = Uncaught Error: Received unknown message -FAIL Tests that when timeout is non-zero, the success callback is called as expected. promise_test: Unhandled rejection with value: "Error callback invoked unexpectedly" -Harness: the test ran to completion. -