Back to Content

Firefox 130 release notes for developers

files/en-us/mozilla/firefox/releases/130/index.md

latest6.9 KB
Original Source

This article provides information about the changes in Firefox 130 that affect developers. Firefox 130 was released on September 3, 2024.

Changes for web developers

HTML

CSS

  • The hyphens CSS property is now properly supported for Czech and Slovak languages. Among other things, this ensures that words will no longer split on syllables (Firefox bug 1908931).

APIs

Removals

WebAssembly

General

  • System add-ons are now completely disabled by default (Firefox bug 1904310).
  • Fixed an issue with the internal prompt listener to correctly select the appropriate user prompt on Android (Firefox bug 1902264).

WebDriver BiDi

  • Added support for the browsingContext.navigationFailed event, which is triggered when a navigation attempt fails to complete (Firefox bug 1846601).
  • The network.setCacheBehavior command now allows defining the network cache behavior both globally and for individual navigables simultaneously (Firefox bug 1905307).
  • The network.responseCompleted and network.fetchError events are now emitted when the actual request stops, eliminating a race condition where browsingContext.domContentLoaded and browsingContext.load events were emitted before the network.responseCompleted event (Firefox bug 1882803).
  • Data URLs (e.g., for background images or fetch requests) are now fully supported across all network events (Firefox bug 1904343).
  • Fixed an issue where the network.authRequired event was sent out multiple times with each call to the network.continueWithAuth command (Firefox bug 1899711).

Marionette

  • Fixed an issue in WebDriver:ElementSendKeys so that it only scrolls the element into view if it is not already visible (Firefox bug 1906095).

Changes for add-on developers

  • The options parameter of {{WebExtAPIRef("webRequest.getSecurityInfo")}} is now optional (Firefox bug 1909474).
  • {{WebExtAPIRef("runtime.getURL")}} (and the deprecated {{WebExtAPIRef("extension.getURL")}}) now always prepended the extension origin to the path, without further normalization. Previously, when an absolute URL was provided, instead of a relatively URL, the absolute URL was returned. (Firefox bug 1795082).

Experimental web features

These features are newly shipped in Firefox 130 but are disabled by default. To experiment with them, search for the appropriate preference on the about:config page and set it to true. You can find more such features on the Experimental features page.

  • Request video frame callback: media.rvfc.enabled.

    The {{domxref('HTMLVideoElement/requestVideoFrameCallback','requestVideoFrameCallback()')}} method of the {{domxref('HTMLVideoElement')}} interface registers a callback function that runs when a new video frame is sent to the compositor. This enables developers to perform efficient operations on each video frame, such as video analysis, painting to a canvas, synchronization with external audio sources, and so on. The method returns a callback handle that can be passed to {{domxref('HTMLVideoElement.cancelVideoFrameCallback()')}} in order to cancel the outstanding callback request. Both methods are enabled by default on the nightly build. (Firefox bug 1800882).

  • CSP violation reports using the Reporting API: dom.reporting.enabled.

    The Reporting API can be used for reporting Content Security Policy (CSP) violations. This includes support for {{domxref('Report')}} objects that have a type property with the value "csp-violation" and body property that is an instance of the {{domxref('CSPViolationReportBody')}} interface, the {{CSP("report-to")}} directive of the {{httpheader('Content-Security-Policy')}} HTTP response header, and the {{httpheader('Reporting-Endpoints')}} and {{httpheader('Report-To')}} HTTP response headers. This feature is disabled by default. (Firefox bug 1391243).