Firefox 62 for developers
This article provides information about the changes in Firefox 62 that will affect developers. Firefox 62 is the current Beta version of Firefox, and will ship on September 5, 2018.
Changes for web developers
Developer tools
- You now have four options for the location of the Developer Tools. In addition to the default location on the bottom of the window, you can choose to locate the tools on either the left or right sides of the main window or in a separate window.
 - You can now split the Rules view out into its own pane, separate from the other tabs on the CSS pane. See Page inspector 3-pane mode (en-US) for more details.
 - The Grid inspector has updated features, and all new documentation — see CSS Grid Inspector: Examine grid layouts (en-US).
 - The Accessibility inspector has had a couple of minor updates:
    
- It no longer exposes the 
helpproperty, which isn't properly implemented in Gecko (Firefox bug 1467643). - The 
keyboardShortcutproperty now correctly exposes any keyboard shortcut available to activate the currently inspected node (Firefox bug 1467381). 
 - It no longer exposes the 
 
HTML
没有变化。
CSS
:-moz-selectionhas been unprefixed (Firefox bug 509958).xis now supported as a unit for the<resolution>type (Firefox bug 1460655).shape-margin,shape-outside, andshape-image-thresholdare now enabled by default (Firefox bug 1457297).
SVG
No changes.
JavaScript
- The 
Array.prototype.flat()andArray.prototype.flatMap()methods are now enabled by default (Firefox bug 1435813). - The 
import.metaproperty has been implemented to expose context-specific metadata to a JavaScript module (Firefox bug 1427610). - JavaScript string literals may now directly contain U+2028 LINE SEPARATOR and U+2029 PARAGRAPH SEPARATOR. As a consequence, 
JSONsyntax is now a subset of JavaScript literal syntax (see Firefox bug 1435828 and the tc39 proposal json-superset). - For out-of-bounds typed array indexes, 
Reflect.defineProperty()andReflect.set()will now returnfalseinstead oftrue(Firefox bug 1308735). 
APIs
New APIs
- The Speech Synthesis API (Text-to-Speech) is now enabled by default on Firefox for Android (Firefox bug 1463496).
 
DOM
- The 
DOMPointReadOnly(en-US) interface now supports the static functionDOMPointReadOnly.fromPoint()(en-US), which creates a new point object from a dictionary that's compatible withDOMPointInit(en-US). This function is also available onDOMPoint(Firefox bug 1186265). - Related to the previous item, the 
DOMPointandDOMPointReadOnlyconstructors no longer support an input parameter of typeDOMPointInit; the values of the properties must be specified using thex,y,z, andwparameters (Firefox bug 1186265). - The 
URL.createObjectURL()method no longer supports creating object URLs to represent aMediaStream. This capability has been obsolete for some time now, since you can simply setHTMLMediaElement.srcObjectto theMediaStreamdirectly now (Firefox bug 1454889). - For compatibility purposes, the 
Event.srcElementproperty is now supported. It is an alias forEvent.target(Firefox bug 453968). Navigator.registerProtocolHandler()now must only be called from a secure context (Firefox bug 1460506).- The 
Navigator.registerContentHandler()method has been disabled by default in preparation for being removed entirely, as it's been obsolete for some time (Firefox bug 1460481). 
DOM events
No changes.
Service workers
No changes.
Media, Web Audio, and WebRTC
- The 
"media.autoplay.enabled"preference now controls automatic playback of both audio and video media, instead of just video media (Firefox bug 1413098). - The 
ChannelSplitterNode(en-US) has been fixed to correctly default to having 6 channels with thechannelInterpretationset to"discrete"and thechannelCountModeset to"explicit"per the specification (Firefox bug 1456265). 
Canvas and WebGL
No changes.
CSSOM
- Support for 
CSSStyleDeclaration.getPropertyCSSValue()has been removed (Firefox bug 1408301). - Support for 
CSSValue,CSSPrimitiveValue(en-US), andCSSValueListhas been removed (bug ). window.getComputedStyle()no longer returnsnullwhen called on aWindowwhich has no presentation (Firefox bug 1467722).
HTTP
- The deprecated CSP 
referrer(en-US) directive has been removed. Please use theReferrer-Policyheader instead (Firefox bug 1302449). 
Security
No changes.
Plugins
No changes.
Other
No changes.
Removals from the web platform
HTML
No changes.
CSS
No changes.
APIs
No changes.
SVG
No changes.
Other
No changes.
Changes for add-on and Mozilla developers
WebExtensions
API changes
webRequest.getSecurityInfo()API to examine details of TLS connections (Firefox bug 1322748).browserSettings.newTabPosition(en-US) to customize where new tabs open (Firefox bug 1344749).windowTypeshas been deprecated inwindows.get()(en-US),windows.getCurrent()(en-US) andwindows.getLastFocused()(en-US) (Firefox bug 1419132).- It's now possible to modify a browser action on a per-window basis (Firefox bug 1419893).
 
Manifest changes
- New 
open_at_installproperty of thesidebar_action(en-US) manifest key enables extensions to control whether their sidebars should open automatically on install or not (Firefox bug 1460910). - Changed to the 
browser_styleproperty of various manifest keys:- in 
page_action(en-US) andbrowser_actionit defaults to false - in 
sidebar_action(en-US) andoptions_ui(en-US) it defaults to true. 
 - in 
 
Theme changes
- New 
tab_background_separatorproperty of thetheme(en-US) manifest key enables extensions to change the color of the tab separator. 
Other changes
- Support for unpacked sideloaded extensions has been removed (Firefox bug 1385057).
 
See also
- Site compatibility for Firefox 62
 
Older versions
- Firefox 61 for developers (en-US)
 - Firefox 60 for developers (en-US)
 - Firefox 59 for developers
 - Firefox 58 for developers (en-US)
 - Firefox 57 for developers (en-US)
 - Firefox 56 for developers (en-US)
 - Firefox 55 for developers (en-US)
 - Firefox 54 for developers (en-US)
 - Firefox 53 for developers (en-US)
 - Firefox 52 for developers (en-US)
 - Firefox 51 for developers (en-US)
 - Firefox 50 for developers (en-US)
 - Firefox 49 for developers (en-US)
 - Firefox 48 for developers (en-US)
 - Firefox 47 for developers (en-US)
 - Firefox 46 for developers (en-US)
 - Firefox 45 for developers (en-US)
 - Firefox 44 for developers (en-US)
 - Firefox 43 for developers (en-US)
 - Firefox 42 for developers (en-US)
 - Firefox 41 for developers
 - Firefox 40 for developers (en-US)
 - Firefox 39 for developers (en-US)
 - Firefox 38 for developers (en-US)
 - Firefox 37 for developers (en-US)
 - Firefox 36 for developers (en-US)
 - Firefox 35 for developers (en-US)
 - Firefox 34 for developers (en-US)
 - Firefox 33 for developers
 - Firefox 32 for developers
 - Firefox 31 for developers