Firefox 94 for developers
This article provides information about the changes in Firefox 94 that will affect developers. Firefox 94 was released on November 2nd, 2021
Changes for web developers
HTML
No notable changes
CSS
No notable changes
JavaScript
No notable changes
APIs
- The
Window.structuredClone()
andWorkerGlobalScope.structuredClone()
function is now supported for copying complex JavaScript objects (Firefox bug 1722576).
DOM
- Developers can now provide a hint for the enter key label/icon used on virtual keyboards, using either
HTMLElement.enterkeyhint
or the global attributeenterkeyhint
(Firefox bug 1648332). - The
HTMLScriptElement.supports()
static method is now supported. This provides a simple and unified method for feature checking whether a browser supports particular types of scripts, such as JavaScript modules or classic scripts (Firefox bug 1729239). - The
ShadowRoot.delegatesFocus
property is now supported, allowing code to check whether thedelegatesFocus
property was set when the shadow DOM was attached (Firefox bug 1413836).
WebDriver conformance (Marionette)
WebDriver:GetWindowHandle
andWebDriver:GetWindowHandles
now return handles for browser windows instead of tabs, when chrome scope is enabled (Firefox bug 1729291)
HTTP
- The
cache
directive of theClear-Site-Data
response header has been disabled by default. It can be enabled using the preferenceprivacy.clearsitedata.cache.enabled
(Firefox bug 1729291).
Changes for add-on developers
- Support for
partitionKey
, the first-party URL of a cookie when it's in storage that is partitioned by top-level site, is added tocookies.get
,cookies.getAll
,cookies.set
,cookies.remove
, andcookies.cookie
. (Firefox bug 1669716) - When a context menu is activated,
menus.OnClickData.srcUrl
returns the raw value of thesrc
attribute of the clicked element, instead of the current URL (after redirects). (Firefox bug 1659155)
Older versions
- Firefox 93 for developers
- Firefox 92 for developers
- Firefox 91 for developers
- Firefox 90 for developers
- Firefox 89 for developers
- Firefox 88 for developers
- Firefox 87 for developers
- Firefox 86 for developers
- Firefox 85 for developers
- Firefox 84 for developers
- Firefox 83 for developers
- Firefox 82 for developers
- Firefox 81 for developers
- Firefox 80 for developers
- Firefox 79 for developers
- Firefox 78 for developers
- Firefox 77 for developers
- Firefox 76 for developers
- Firefox 75 for developers
- Firefox 74 for developers
- Firefox 73 for developers
- Firefox 72 for developers
- Firefox 71 for developers
- Firefox 70 for developers
- Firefox 69 for developers
- Firefox 68 for developers
- Firefox 67 for developers
- Firefox 66 for developers
- Firefox 65 for developers
- Firefox 64 for developers
- Firefox 63 for developers