This article provides information about the changes in Firefox 65 that will affect developers. Firefox 65 was released on January 29, 2019.
- The Flexbox inspector is now enabled by default.
- Right-click on an item in the accessibility tree from the Accessibility viewer to print it as JSON to the JSON viewer.
- The color contrast display of the Accessibility Picker has been updated so that if a text's background is complex (e.g. a gradient or complex image), it shows a range of color contrast values.
- The Headers tab of the Network Monitor now displays the Referrer Policy for the selected request (Firefox bug 1496742).
F9on Windows/Linux or
Ron macOS, then type a search term, followed by
Sto toggle through results).
$0shortcut (references the currently inspected element on the page) now has autocomplete available, so for example you could type
$0.teto get autocomplete suggestions for properties like
- The edits you make in the Rules view of the Inspector are now listed in the Changes panel (Firefox bug 1503920).
- Events are now dispatched on disabled HTML elements, i.e.
disabledattributes set on them (Firefox bug 329509).
- Removing the
srcattribute of an
<iframe>element now causes
about:blankto be loaded into it, giving it parity with Chrome and Safari (Firefox bug 1507842). Previously removing
srchad no effect on the
- We have added support for the
<script>elements (Firefox bug 1460920).
crisp-edgesvalue has now been unprefixed (Firefox bug 1496617).
autonow resolves to
auto, rather than two colors (Firefox bug 1501418).
break-*properties have been implemented, and the legacy
page-break-*properties have been aliased to them (Firefox bug 775618):
anywherevalue has been implemented (Firefox bug 1505786).
- The new step position keywords
jump-both— usable inside the
steps()timing function — have been implemented (Firefox bug 1496619). This also coincides with the removal of the
frames()timing function, which was the previous way of implementing such functionality, now deprecated.
- Some new
-webkit-appearancevalues have been added, for compatibility with other browsers. In particular:
meter, which is now used as the default value for
<meter>elements in UA stylesheets. The existing value
meterbaris now an alias for
meter(Firefox bug 1501483).
progress-bar, which is now used as the default value for
<progress>elements in UA stylesheets. The existing value
progressbaris now an alias for
progress-bar(Firefox bug 1501506).
textarea, which is now used as the default value for
<textarea>elements in UA stylesheets. The existing value
textfield-multilineis now an alias for
textarea(Firefox bug 1507905).
- The behavior of
user-selecthas been changed to make it align more with other browsers (Firefox bug 1506547). Specifically:
user-select: allset on an element no longer overrides other values of
user-selectset on children of that element. So for example in the following snippet:The
<div style="-webkit-user-select: all"> All <div style="-webkit-user-select: none">None</div> </div>
noneset on it is now non-selectable. Previously this value would have been overridden by the
allvalue set on the parent element.
contenteditableelements nested inside
contenteditableelements are now selectable.
user-selectnow behaves consistently inside and outside shadow DOM.
- The proprietary
-moz-textvalue has been removed.
- CSS environment variables (the
env()function) have been implemented (Firefox bug 1462233).
layout.css.shape-outside.enabledpref has been removed;
shape-image-thresholdcan no longer be disabled in
about:config(Firefox bug 1504387).
- Several Firefox-only values of the
user-selectproperty have been removed —
toggle. See Firefox bug 1492958 and Firefox bug 1506547.
- As mentioned above, the
frames()timing function has been removed (Firefox bug 1496619).
- Readable Streams have been enabled by default (Firefox bug 1505122).
- The Storage Access API has been enabled by default (Firefox bug 1513021).
Performance.toJSON()has been exposed to Web Workers (Firefox bug 1504958).
XMLHttpRequestrequests will now throw a
NetworkErrorif the requested content type is a
Blob, and the request method is not
GET(Firefox bug 1502599).
createImageBitmap()now supports SVG images (
SVGImageElement) as an image source (Firefox bug 1500768).
- Going forward, only one
Window.open()call is allowed per event (Firefox bug 675574).
keydownevents are now fired during IME composition, to improve cross-browser compatibility for CJKT users (Firefox bug 354358.
SharedWorkerGlobalScope.connect's event object is a
MessageEventinstance — its
dataproperty is now an empty string value rather than
null(Firefox bug 1508824).
Fetch and Service workers
Response.redirect()method now correctly throws a
TypeErrorif a non-valid URL is specified as the first parameter (Firefox bug 1503276).
FetchEvent.resultingClientIdproperties are now supported (Firefox bug 1264177).
ServiceWorkerContainer.onmessageerrorhandler properties have been implemented (Firefox bug 1399446).
Originheader is no longer set on Fetch requests with a method of
GET(Firefox bug 1508661).
Media, Web Audio, and WebRTC
- The WebRTC
RTCIceCandidateStatsdictionary has been updated according to the latest spec changes (Firefox bug 1324788, Firefox bug 1489040; RTCIceCandidateStats has been updated to the latest spec for more details on exactly what has changed).
resumeevents (and their corresponding event handler properties were not previously implemented, even though compatibility tables claimed they had been. They have now been implemented (Firefox bug 1458538, Firefox bug 1514016).
Canvas and WebGL
- The WebGL
EXT_texture_compression_rgtctexture compression extensions have been exposed to WebGL1 and WebGL2 contexts (Firefox bug 1507263).
- Mutation events have been disabled in shadow trees (Firefox bug 1489858).
- The non-standard
currentTimehas been removed (Firefox bug 1502927).
dom.webcomponents.customelements.enabledprefs have been removed — Shadow DOM and Custom Elements can no longer be disabled in
about:config(Firefox bug 1503019).
- The non-standard DOM
textevent — fired to notify the browser editor UI of IME composition string data and selection range — has been removed (Firefox bug 1288640).
keypressevent is no longer fired for non-printable keys (Firefox bug 968056), except for the
Enterkey, and the
Enterkey combinations (these were kept for cross-browser compatibility purposes).
- Additional CORS restrictions are now being enforced on allowable request headers (Firefox bug 1483815, see also whatwg fetch issue 382: CORS-safelisted request headers should be restricted according to RFC 7231 for more details).
<input type=file>more relaxed for interactability checks, and allows those elements to be hidden without raising a
not interactableerror anymore. If a strict interactability check is wanted the capability
strictFileInteractabilitycan be used (Firefox bug 1502864).
- The window manipulation commands
WebDriver:SetWindowRecthave been made more stable (Firefox bug 1492499). It means that under special conditions they don't cause an infinite hang anymore, but instead timeout after 5s if the requested window state cannot be reached (Firefox bug 1521527).
WebDriver:ElementClicknow correctly calculates the center point of the element to click, which allows interactions with dimensions of 1x1 pixels (Firefox bug 1499360).
unexpected alert openerrors more informative messages are provided (Firefox bug 1502268).
- Support for WebP images has been added (Firefox bug 1294490).
- The AV1 codec is now supported by default on Windows (Firefox bug 1452146).
- The tabs API has been enhanced to support tab successors — a tab can have a successor assigned to it, which is the ID of the tab that will be active once it is closed (Firefox bug 1500479, also see this blog post for more information). In particular:
tabs.Tabtype now has a
successorIdproperty, which can be used to store/retrieve the ID of the tab's successor.
tabs.onActivatedevent listener's callback has a new parameter available,
previousTabId, which contains the ID of the previous activated tab, if it is still open.
updatePropertiesobject has a new optional property available on it,
successorTabId, so can be used to update it.
successorTabIdis also returned by functions like
- The new function
tabs.moveInSuccession()allows manipulation of tab successors in bulk.
- Hacks release post: Firefox 65: WebP support, Flexbox Inspector, new tooling & platform updates
- Firefox 64 for developers
- Firefox 63 for developers
- Firefox 62 for developers
- Firefox 61 for developers
- Firefox 60 for developers
- Firefox 59 for developers
- Firefox 58 for developers
- Firefox 57 for developers
- Firefox 56 for developers
- Firefox 55 for developers
- Firefox 54 for developers
- Firefox 53 for developers
- Firefox 52 for developers
- Firefox 51 for developers
- Firefox 50 for developers
- Firefox 49 for developers
- Firefox 48 for developers
- Firefox 47 for developers
- Firefox 46 for developers
- Firefox 45 for developers
- Firefox 44 for developers
- Firefox 43 for developers
- Firefox 42 for developers
- Firefox 41 for developers
- Firefox 40 for developers
- Firefox 39 for developers
- Firefox 38 for developers
- Firefox 37 for developers
- Firefox 36 for developers
- Firefox 35 for developers
- Firefox 34 for developers