Deprecations and Removals in Chrome 59
In nearly every version of Chrome, we see a significant number of updates and improvements to the product, its performance, and also capabilities of the Web Platform. This article describes the deprecations and removals in Chrome 59, which is in beta as of April 27. This list is subject to change at any time.
Remove features from WebVR that are not in the revised spec
The current implementation of WebVR, originally implemented in Chrome 52, contained several methods and properties that will not be in the final spec. Deprecation messages were added for these features for the Origin Trial that started in Chrome 56. These features and are now being removed. They include:
VRDisplay.getPose()
VRDisplay.resetPose()
VRDisplay.isConnected
VRDisplayCapabilities.hasOrientation
VREyeParameters.fieldOfView
Intent to Experiment | Chromestatus Tracker | Chromium Bug | Origin Trial Results so Far
Remove FileReaderSync from service workers
The Service Worker spec has always had the (non-normative) note that "any type
of synchronous requests must not be initiated inside of a service worker", to
avoid blocking the service worker (as blocking the service worker would block
all network requests from controlled pages). However synchronous APIs such as
FileReaderSync
were still available in service workers. FileReaderSync
was
deprecated in Chrome 57. It is removed in Chrome 59.
Intent to Deprecate | Chromestatus Tracker | Chromium Bug
Remove non-standard DeviceOrientation Event initialization functions
For some time now there's been a general trend in browser APIs away from
initialization functions and toward object constructors. The most recent version
of the DeviceOrientation Event Specification
follows this trend by requiring constructors for both
DeviceOrientationEvent
and DeviceMotionEvent
.
Since Chrome is
enabling these constructors by default
in Chrome 59 the legacy initialization fuctions, initDeviceMotionEvent()
and
initDeviceOrientationEvent()
are also removed. Edge has deprecated the
initialization functions and Firefox has already shipped the constructors.
Intent to Remove | Chromium Bug
Remove "on-demand" value for hover/any-hover media queries
The “on-demand” value for hover/any-hover media queries was removed from the spec about a year ago. Consequently, these media queries are removed in Chrome 59.
Intent to Remove | Chromestatus Tracker | Chromium Bug
Remove remote and readonly members of MediaStreamTrack
In Chrome 48 the MediaStreamTrack.remote
and MediaStreamTrack.readonly
properties were added in support of the
Media Capture and Streams API
with the goal of allowing JavaScript to know whether a WebRTC MediaStreamTrack
is from a remote source or a local one.
Since that time, these properties have been removed from the spec. As of Chrome 59, they are no longer supported.
Remove support for ProgressEvent
Earlier versions of the DOM spec required implementation of
document.createEvent("ProgressEvent")
. However usage was always low and
support has already been removed from
Gecko and
Webkit. The event itself was
removed from the spec in March
of this year.
To conform with the platform and most recent spec, ProgressEvent
is now removed from Chrome.
Remove SVGTests.required Features
In the first version of the SVG spec, an application could call
DOMImplementation.hasFeature
to verify that a particuilar SVG interface is
supported. Many SVG elements contained a requiredFeatures
attribute that
returned the same information.
In SVG2 DOMImplementation.hasFeature
property always returns true.
Consequently requiredFeatures
no longer does anything useful. Because it was
removed from the spec
it was deprecated in Chrome 54 and has now been removed.
Intent to Remove | Chromestatus Tracker | Chromium Bug
<<../../_deprecation-policy.md>>