Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
mohamedkhallouq
GitHub Repository: mohamedkhallouq/content
Path: blob/main/files/en-us/mozilla/firefox/releases/104/index.md
6581 views
---
title: Firefox 104 for developers slug: Mozilla/Firefox/Releases/104
---

{{FirefoxSidebar}}

This article provides information about the changes in Firefox 104 that will affect developers. Firefox 104 was released on August 23, 2022.

Changes for web developers

HTML

No notable changes.

CSS

No notable changes.

JavaScript

  • The methods {{jsxref("Array.prototype.findLast()")}}, {{jsxref("Array.prototype.findLastIndex()")}}, {{jsxref("TypedArray.prototype.findLast()")}}, and {{jsxref("TypedArray.prototype.findLastIndex()")}} are now supported. These are used to find the value and index (respectively) of the last element in an {{jsxref("Array")}} or {{jsxref("TypedArray")}} that matches a supplied test function. (See Firefox bug 1775026 for more details.)

  • Serialization of native Error types additionally includes the stack property when used with window.postMessage() and structuredClone() (on error types that include stack). The stack is not yet serialized when errors are sent using other APIs, such as Worker.postMessage() (See Firefox bug 1774866 for more details.)

HTTP

No notable changes.

Security

No notable changes.

APIs

DOM

  • HTMLElement.focus() now supports the parameter option.focusVisible, which can be used force a browser to display visual indication after the element is focused. Note that browsers may automatically provide visual indication on focused elements if the implementation determines that it will improve accessibility. (See Firefox bug 1765083 for more details.)

Canvas

SVG

Removals

  • The options argument to the IDBFactory.open() method has been removed. This option provided a non-standard, and Firefox-only way to make the indicated database persistent. The option was previously deprecated, and users that need this functionality should already have migrated to {{domxref("StorageManager.persist()")}}. (See Firefox bug 1354500 for more details.)

WebAssembly

No notable changes.

WebDriver conformance (WebDriver BiDi, Marionette)

WebDriver BiDi

  • Added support for source to the log.entryAdded event (Firefox bug 1770792).

  • Updated the url sent for browsingContext.contextCreated events to be about:blank for newly opened browsing contexts (Firefox bug 1775141).

Marionette

Changes for add-on developers

No notable changes.

Older versions

{{Firefox_for_developers(103)}}