Closed
Bug 1306420
Opened 9 years ago
Closed 9 years ago
[webvr] Deprecate some WebVR 1.0 functions and interfaces in VRDisplay.webidl
Categories
(Core :: Graphics, defect)
Core
Graphics
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: kip, Assigned: kip)
References
()
Details
(Whiteboard: [webvr])
Attachments
(1 file)
58 bytes,
text/x-review-board-request
|
Details |
WebVR 1.1 introduces some new functions to enable use of a wider range of VR and AR hardware. These functions replace some functions defined with WebVR 1.0.
We will support both the WebVR 1.0 and WebVR 1.1 equivalent functions until they are no longer widely in use.
To ensure users choose the WebVR 1.1 versions in new code, we will mark the deprecated functions and interfaces in the webidl:
interface VRFieldOfView
attribute VREyeParameters.fieldOfView
function VRDisplay.GetPose
Assignee | ||
Comment 1•9 years ago
|
||
The procedure for deprecating WebIDL bindings:
https://developer.mozilla.org/en-US/docs/Mozilla/WebIDL_bindings#Deprecatedtag
Comment hidden (mozreview-request) |
Assignee | ||
Comment 3•9 years ago
|
||
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Updated•9 years ago
|
Whiteboard: [webvr]
Assignee | ||
Comment 6•9 years ago
|
||
There will be little benefit to dumping deprecation warnings to the console for these deprecated methods, as recently the decision has been made that the WebVR 2.0 API will intentionally break backwards compatibility with other functions, including the ones that the deprecation warnings would advise be used.
We will continue to support the deprecated methods for WebVR 1.1 until WebVR 2.0 is ready to ship. The plan is to use a system add-on to provide a polyfill for the WebVR 1.1 API on top of the WebVR 2.0 API. Other browser vendors have expressed interest in sharing this polyfill to ease the transition. This polyfill would produce deprecation warnings when active.
I'll mark this bug as resolved.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•