mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
webxr: Update XRFrame to latest spec (#33102)
* Update IDL+naming, add predictedDisplayTime getter stub Signed-off-by: Daniel Adams <msub2official@gmail.com> * Surface predicted display time Signed-off-by: Daniel Adams <msub2official@gmail.com> * Update WPT expectations Signed-off-by: Daniel Adams <msub2official@gmail.com> * Update todo comment Signed-off-by: Daniel Adams <msub2official@gmail.com> --------- Signed-off-by: Daniel Adams <msub2official@gmail.com>
This commit is contained in:
parent
91adf39de7
commit
7e4979c852
4 changed files with 20 additions and 16 deletions
|
@ -6,10 +6,11 @@
|
|||
|
||||
[SecureContext, Exposed=Window, Pref="dom.webxr.enabled"]
|
||||
interface XRFrame {
|
||||
readonly attribute XRSession session;
|
||||
[SameObject] readonly attribute XRSession session;
|
||||
readonly attribute DOMHighResTimeStamp predictedDisplayTime;
|
||||
|
||||
[Throws] XRViewerPose? getViewerPose(XRReferenceSpace referenceSpace);
|
||||
[Throws] XRPose? getPose(XRSpace space, XRSpace relativeTo);
|
||||
[Throws] XRPose? getPose(XRSpace space, XRSpace baseSpace);
|
||||
|
||||
// WebXR Hand Input
|
||||
[Pref="dom.webxr.hands.enabled", Throws]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue