tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit ab6247cf19aadad0d8a771ae6057ba357a1d9b31
parent 52cff68fa547e48c0366dbc22ac0b26db3540535
Author: Alexander Cooper <alcooper@chromium.org>
Date:   Tue, 16 Dec 2025 08:46:51 +0000

Bug 2005625 [wpt PR 56689] - Add missing blink-side features to plane-detection API, a=testonly

Automatic update from web-platform-tests
Add missing blink-side features to plane-detection API

Two features have been added to the plane-detection spec since we last
did work on it. Namely these are the `semanticLabel` attribute and the
`initiateRoomCapture` method. This adds the implementation for both of
those, with `semanticLabel` returning an empty string as allowed by the
spec for an "unknown" label, and with `initiateRoomCapture` doing the
appropriate checks before resulting in a successful no-op, as none of
our runtimes have the ability to request room capture explicitly, again
as allowed by spec.

Bug: 394636076
Change-Id: I77f02a4d19b629786a3d01870af0b1a541c3b65c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7248998
Commit-Queue: Alexander Cooper <alcooper@chromium.org>
Auto-Submit: Alexander Cooper <alcooper@chromium.org>
Reviewed-by: Brandon Jones <bajones@chromium.org>
Commit-Queue: Brandon Jones <bajones@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1557631}

--

wpt-commits: 4cfb01f028e9629a00d39f9b31de4282953205df
wpt-pr: 56689

Diffstat:
Atesting/web-platform/tests/webxr/plane-detection/META.yml | 1+
Atesting/web-platform/tests/webxr/plane-detection/WEB_FEATURES.yml | 3+++
Atesting/web-platform/tests/webxr/plane-detection/idlharness.https.window.js | 15+++++++++++++++
3 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/testing/web-platform/tests/webxr/plane-detection/META.yml b/testing/web-platform/tests/webxr/plane-detection/META.yml @@ -0,0 +1 @@ +spec: https://immersive-web.github.io/plane-detection/ diff --git a/testing/web-platform/tests/webxr/plane-detection/WEB_FEATURES.yml b/testing/web-platform/tests/webxr/plane-detection/WEB_FEATURES.yml @@ -0,0 +1,3 @@ +features: +- name: plane-detection + files: '**' diff --git a/testing/web-platform/tests/webxr/plane-detection/idlharness.https.window.js b/testing/web-platform/tests/webxr/plane-detection/idlharness.https.window.js @@ -0,0 +1,15 @@ +// META: script=/resources/WebIDLParser.js +// META: script=/resources/idlharness.js + +'use strict'; + +idl_test( + ['webxr-plane-detection'], + ['webxr', 'dom'], + async idl_array => { + idl_array.add_objects({ + // TODO: Add object instances + }); + }, + 'WebXR Plane Detection Module IDL Test' +);