Closed Bug 1344980 Opened 7 years ago Closed 4 years ago

[webvr] VRDisplay.requestPresent succeeds with no VRLayers

Categories

(Core :: WebVR, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: kip, Assigned: kip)

Details

VRDisplay.requestPresent must return a promise the resolves failure when no VRLayers are passed.

Although this won't break sites in Firefox, it is not conformant to the WebVR 1.1 spec and may cause interoperability problems if developers test only against Firefox.

An existing test in dom/vr/test reports this and should be able to verify the fix.

WebVR will soon be deprecated in favor of WebXR (Landing in bug 1419190). We will put our efforts behind WebXR rather than correcting this.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.