-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1628931 [wpt PR 22836] - Add interfaces/hit-test.idl and test, a=…
…testonly Automatic update from web-platform-tests Add interfaces/hit-test.idl and test (#22836) Due to the difficulty in testing webxr until test-only APIs are supported in WPT (see web-platform-tests/wpt#16455 (comment)), the added test only tests the XRSession interface additions for now. Closes web-platform-tests/wpt#22155 -- wpt-commits: 8a9e492c5bbfafeeb074902ab39910348a20776a wpt-pr: 22836 UltraBlame original commit: 98cd0a5fb4a5952175d709aee6a2593c33f35ab9
- Loading branch information
Showing
2 changed files
with
512 additions
and
0 deletions.
There are no files selected for viewing
220 changes: 220 additions & 0 deletions
220
testing/web-platform/tests/hit-test/idlharness.https.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,220 @@ | ||
< | ||
! | ||
doctype | ||
html | ||
> | ||
< | ||
title | ||
> | ||
WebXR | ||
hit | ||
- | ||
test | ||
IDL | ||
tests | ||
< | ||
/ | ||
title | ||
> | ||
< | ||
link | ||
rel | ||
= | ||
" | ||
help | ||
" | ||
href | ||
= | ||
" | ||
https | ||
: | ||
/ | ||
/ | ||
immersive | ||
- | ||
web | ||
. | ||
github | ||
. | ||
io | ||
/ | ||
hit | ||
- | ||
test | ||
/ | ||
" | ||
> | ||
< | ||
script | ||
src | ||
= | ||
" | ||
/ | ||
resources | ||
/ | ||
testharness | ||
. | ||
js | ||
" | ||
> | ||
< | ||
/ | ||
script | ||
> | ||
< | ||
script | ||
src | ||
= | ||
" | ||
/ | ||
resources | ||
/ | ||
testharnessreport | ||
. | ||
js | ||
" | ||
> | ||
< | ||
/ | ||
script | ||
> | ||
< | ||
script | ||
src | ||
= | ||
" | ||
/ | ||
resources | ||
/ | ||
WebIDLParser | ||
. | ||
js | ||
" | ||
> | ||
< | ||
/ | ||
script | ||
> | ||
< | ||
script | ||
src | ||
= | ||
" | ||
/ | ||
resources | ||
/ | ||
idlharness | ||
. | ||
js | ||
" | ||
> | ||
< | ||
/ | ||
script | ||
> | ||
< | ||
script | ||
> | ||
' | ||
use | ||
strict | ||
' | ||
; | ||
idl_test | ||
( | ||
[ | ||
' | ||
hit | ||
- | ||
test | ||
' | ||
] | ||
[ | ||
' | ||
webxr | ||
' | ||
' | ||
geometry | ||
' | ||
' | ||
dom | ||
' | ||
] | ||
async | ||
idl_array | ||
= | ||
> | ||
{ | ||
idl_array | ||
. | ||
add_objects | ||
( | ||
{ | ||
/ | ||
/ | ||
TODO | ||
: | ||
XRHitTestSource | ||
/ | ||
/ | ||
TODO | ||
: | ||
XRTransientInputHitTestSource | ||
/ | ||
/ | ||
TODO | ||
: | ||
XRHitTestResult | ||
/ | ||
/ | ||
TODO | ||
: | ||
XRTransientInputHitTestResult | ||
XRSession | ||
: | ||
[ | ||
' | ||
xrSession | ||
' | ||
] | ||
/ | ||
/ | ||
TODO | ||
: | ||
XRFrame | ||
XRRay | ||
: | ||
[ | ||
' | ||
new | ||
XRRay | ||
( | ||
) | ||
' | ||
] | ||
} | ||
) | ||
; | ||
self | ||
. | ||
xrSession | ||
= | ||
await | ||
navigator | ||
. | ||
xr | ||
. | ||
requestSession | ||
( | ||
" | ||
inline | ||
" | ||
) | ||
; | ||
} | ||
) | ||
; | ||
< | ||
/ | ||
script | ||
> |
Oops, something went wrong.