Quantcast
Viewing all articles
Browse latest Browse all 599

Deprecations and removals in Chrome 71

Image may be NSFW.
Clik here to view.

Deprecations and removals in Chrome 71

Chrome 71 also includes changes to cache.addAll() and importScripts(). Read about it in Tweaks to cache.addAll() and importScripts() coming in Chrome 71 by Jeff Posnick.

Remove SpeechSynthesis.speak() without user activation

The SpeechSynthesis interface is actively being abused on the web. There's anecdotal evidences that because other autoplay avenues are being closed, abuse is moving to the Web Speech API, which doesn't follow autoplay rules.

The speechSynthesis.speak() function now throws an error if the document has not received a user activation. This feature has been deprecated since Chrome 70.

Intent to Deprecate | Chromestatus Tracker | Chromium Bug

Remove prefixed versions of APIs

Chrome has removed non-standard aliases for two widely supported standard interfaces.

WebKitAnimationEvent

WebKitAnimationEvent has been fully replaced by AnimationEvent , the event interface used for events relating to CSS Animations. The prefixed form is only supported in Safari. Firefox and Edge only support the un-prefixed AnimationEvent.

Intent to Remove | Chromestatus Tracker | Chromium Bug

WebKitTransitionEvent

WebKitTransitionEvent has been fully replaced by TransitionEvent , the event interface used for events relating to CSS Transitions (for example, transitionstart). The prefixed form is only supported in Safari. Firefox and Edge only support the un-prefixed TransitionEvent.

Intent to Remove | Chromestatus Tracker | Chromium Bug

Remove URL.createObjectURL from MediaStream

The URL.createObjectURL() method has been removed from the MediaStream interface. This method has been deprecated in 2013 and superseded by assigning streams to HTMLMediaElement.srcObject. The old method was removed because it is less safe, requiring a call to URL.revokeOjbectURL() to end the stream. Other user agents have either deprecated (Firefox) or removed (Safari) this feature feature.

Intent to Remove | Chromestatus Tracker | Chromium Bug

Remove document.origin

The document.origin property has been removed. This property was only ever implemented in Chromium and WebKit. It is redundant with self.origin which can be used in both window and worker contexts and has wider support.

Intent to Remove | Chromestatus Tracker | Chromium Bug


Viewing all articles
Browse latest Browse all 599

Trending Articles