[webvr] VRDisplay.requestPresent succeeds with no VRLayers

NEW
Assigned to

Status

()

Core
WebVR
a year ago
a year ago

People

(Reporter: kip, Assigned: kip)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

a year ago
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.
You need to log in before you can comment on or make changes to this bug.