Firefox 102 for developers
This article provides information about the changes in Firefox 102 that will affect developers. Firefox 102 was released on June 28, 2022.
Changes for web developers
HTML
No notable changes.
CSS
The update
media feature that can be used to query the ability of the output device to modify the appearance of content after it is rendered is now available by default (bug 1422312).
JavaScript
No notable changes.
APIs
- The Non-standard interfaces IDBMutableFile, IDBFileHandle, IDBFileRequest, and the method IDBDatabase.createMutableFile() have been disabled by default in preparation for removal in a future release (bug 1764771).
-
Transform streams are now supported, allowing you to pipe from
ReadableStream
to aWritableStream
, executing a transformation on the chunks. The update includes the new interfacesTransformStream
andTransformStreamDefaultController
and the methodReadableStream.pipeThrough()
(bug 1767507). -
Readable byte streams are now supported, allowing efficient zero-byte transfer of data from an underlying byte source to a consumer (bypassing the stream's internal queues).
The new interfaces are
ReadableStreamBYOBReader
,ReadableByteStreamController
andReadableStreamBYOBRequest
(bug 1767342).
DOM
- The Firefox-only property
Window.sidebar
has been moved behind a preference and is planned for removal (bug 1768486).
WebDriver conformance
WebDriver BiDi
- There are some improvements to Webdriver BiDi's
browsingContext.navigate
- Fixed edge cases where the navigation could incorrectly timeout (bug 1766217).
- Added support for hash changes (bug 1763127).
- Added support navigation to error pages (bug 1763124).
Marionette
- Allow marionette to connect to a windowless instance of Firefox (bug 1726465).
- Fixed issue where
WebDriver:Navigate
with a PageLoadStrategy of "none" returns before navigation has started (bug 1754132). - Fixed a potential race condition in
WebDriver:SwitchToWindow
when switching to a different tab (bug 1749666).
Changes for add-on developers
- The
scripting
API, which provides features to execute script, insert and remove CSS, and manage the registration of content scripts is now available to Manifest V2 extensions (bug 1766615). - With the introduction of support for the 'wasm-unsafe-eval' CSP keyword in Firefox (bug 1740263), Manifest V3 extensions are now required to specify this keyword in the content_security_policy manifest key to use WebAssembly. For backwards-compatibility, Manifest V2 extensions can still use WebAssembly without the keyword (bug 1766027).
- The
nonPersistentCookies
option of theprivacy.websites
cookieConfig
property has been deprecated (bug 1754924).
Older versions
- Firefox 101 for developers
- Firefox 100 for developers
- Firefox 99 for developers
- Firefox 98 for developers
- Firefox 97 for developers
- Firefox 96 for developers
- Firefox 95 for developers
- Firefox 94 for developers
- 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