aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls
diff options
context:
space:
mode:
authorTaym Haddadi <haddadi.taym@gmail.com>2024-10-16 17:12:37 +0100
committerGitHub <noreply@github.com>2024-10-16 16:12:37 +0000
commit21152673282b7ac03cee5d97d46fe368b379a297 (patch)
tree5072cfdf06455ec98a457608e9ddba6145145f67 /components/script/dom/webidls
parentcde6931f4bcb6832d3fbd37c3930b63e759cc279 (diff)
downloadservo-21152673282b7ac03cee5d97d46fe368b379a297.tar.gz
servo-21152673282b7ac03cee5d97d46fe368b379a297.zip
Add missing XRWebGLBinding constructor spec steps (#33731)
* Add missing XRWebGLBinding constructor spec steps Signed-off-by: Taym <haddadi.taym@gmail.com> * Update test expectation Signed-off-by: Taym <haddadi.taym@gmail.com> --------- Signed-off-by: Taym <haddadi.taym@gmail.com>
Diffstat (limited to 'components/script/dom/webidls')
-rw-r--r--components/script/dom/webidls/XRWebGLBinding.webidl2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/webidls/XRWebGLBinding.webidl b/components/script/dom/webidls/XRWebGLBinding.webidl
index 5823423ef86..f4ee859eeaf 100644
--- a/components/script/dom/webidls/XRWebGLBinding.webidl
+++ b/components/script/dom/webidls/XRWebGLBinding.webidl
@@ -5,7 +5,7 @@
// https://immersive-web.github.io/layers/#XRWebGLBindingtype
[SecureContext, Exposed=Window, Pref="dom.webxr.layers.enabled"]
interface XRWebGLBinding {
- constructor(XRSession session, XRWebGLRenderingContext context);
+ [Throws] constructor(XRSession session, XRWebGLRenderingContext context);
// readonly attribute double nativeProjectionScaleFactor;