files/en-us/mozilla/firefox/releases/58/index.md
This article provides information about the changes in Firefox 58 that will affect developers. Firefox 58 was released on January 23, 2018.
No changes.
No changes.
hourCycle option and the hc language tag (Firefox bug 1386146).dom.enable_performance_navigation_timing, defaulting to true (Firefox bug 1403926).error property of {{domxref("FileReader")}}, {{domxref("IDBRequest")}}, and {{domxref("IDBTransaction")}}, and when requests made via certain methods of {{domxref("RTCPeerConnection")}} are unsuccessful — are now represented by {{domxref("DOMException")}} instances. {{domxref("DOMError")}} is now deprecated, having been removed from the DOM4 spec (Firefox bug 1120178).No changes.
srcObject instead of mozSrcObject (Firefox bug 1183495).getUserMedia() were being included in the recorded media (Firefox bug 1296531).media.webvtt.regions.enabled by setting its value to true.MOZ_WEBGL_compressed_texture_atc use WEBGL_compressed_texture_atc instead.MOZ_WEBGL_compressed_texture_pvrtc use {{domxref("WEBGL_compressed_texture_pvrtc")}} instead.MOZ_WEBGL_compressed_texture_s3tc use {{domxref("WEBGL_compressed_texture_s3tc")}} instead.MOZ_WEBGL_depth_texture use {{domxref("WEBGL_depth_texture")}} instead.MOZ_WEBGL_lose_context use {{domxref("WEBGL_lose_context")}} instead.frame-ancestors is no longer ignored in {{httpheader("Content-Security-Policy-Report-Only")}} (Firefox bug 1380755).network.http.tls-handshake-timeout pref in about:config (Firefox bug 1393691).worker-src CSP directive has been implemented (Firefox bug 1302667).No changes.
No changes.
WebAssembly.compileStreaming() and WebAssembly.instantiateStreaming() Firefox bug 1347644.The following proprietary Mozilla system metric pseudo-classes are no longer available to web content (Firefox bug 1396066):
:-moz-system-metric(images-in-menus):-moz-system-metric(mac-graphite-theme):-moz-system-metric(scrollbar-end-backward):-moz-system-metric(scrollbar-end-forward):-moz-system-metric(scrollbar-start-backward):-moz-system-metric(scrollbar-start-forward):-moz-system-metric(scrollbar-thumb-proportional):-moz-system-metric(touch-enabled):-moz-system-metric(windows-default-theme)The following proprietary Mozilla media features are no longer available to web content (Firefox bug 1396066):
-moz-color-picker-available-moz-is-glyph-moz-mac-graphite-theme-moz-mac-yosemite-theme-moz-os-version-moz-overlay-scrollbars-moz-physical-home-button-moz-scrollbar-end-backward-moz-scrollbar-end-forward-moz-scrollbar-start-backward-moz-scrollbar-start-forward-moz-scrollbar-thumb-proportional-moz-swipe-animation-enabled-moz-windows-accent-color-in-titlebar-moz-windows-classic-moz-windows-compositor-moz-windows-default-theme-moz-windows-glass-moz-windows-themeThe proprietary Mozilla :-moz-styleeditor-transitioning pseudo-class is no longer available to web content (Firefox bug 1396099).
Date.prototype.toLocaleFormat() method has been removed (Firefox bug 818634).Object.prototype.watch() and Object.prototype.unwatch() methods have been removed and will no longer work (Firefox bug 638054). Consider using setters and getters or proxies instead.StopIteration object, the legacy generator functions and the non-standard Function.prototype.isGenerator() method have been removed. Use the ES2015 iteration protocols and standards-compliant iterators and generators instead (Firefox bug 1083482, Firefox bug 1413867, Firefox bug 1119777).moz-blob and moz-chunked-text values of the {{domxref("XMLHttpRequest.responseType")}} property were removed completely in Firefox 58 (Firefox bug 1397145, Firefox bug 1397151, Firefox bug 1120171).dom.abortController.enabled and dom.abortController.fetch.enabled prefs that controlled exposure of the Abort API functionality have now been removed, since those features are now enabled by default (Firefox bug 1402317).mozSrcObject property was removed in Firefox 58 (Firefox bug 1183495). Use the standard {{domxref("HTMLMediaElement.srcObject")}} property instead.No changes.
pkcs11 API to manage security devices (Bug 1357391)
privacy
tabs
tabs.discard has been implemented (Bug 1322485)toggleReaderMode() method implemented (Bug 1381992)theme
getCurrent() method to obtain current theme properties (Bug 1349944)webRequest