# Firefox 157 ships a redesign and hardware AV1 for WebRTC

URL: https://techaiwire.com/articles/firefox-157-visual-refresh-webrtc-av1/

_By Claire Whitmore - Sep 30, 2026_

Mozilla released Firefox 157 on September 29, 2026. Its release notes call it "Firefox's biggest visual refresh in years." For web developers, the more useful changes sit underneath. WebRTC video calls can now use hardware AV1 decoding, and CSS gains a way to test whether the browser supports a given at-rule.

The release notes also leave something out. In August, Tech AI Wire [reported Mozilla's plan to turn on JPEG XL images](/articles/firefox-ships-jpeg-xl-rust-decoder/) by default in Firefox 157. Neither of Mozilla's two release documents for this version mentions the format.

## A new look, new themes and a compact mode

[Mozilla's release notes](https://www.firefox.com/en-US/firefox/157.0/releasenotes/) describe a "modernized look" across the toolbars, sidebar, menus and individual features. It is built on Mozilla's updated design system. [LWN's post](https://lwn.net/Articles/1097495/) points to the rounded corners and the redesigned tab groups.

Two options come with the new look. Firefox now has built-in themes, each with a light and a dark version. A new compact mode shrinks the spacing around toolbars and tabs to leave more room for the page itself. Mozilla says that helps on small screens and in split-screen layouts.

## Hardware AV1 decoding for video calls

WebRTC is the browser technology that web apps use for live video and voice calls. AV1 is a modern video compression format. Until this release, Firefox always decoded AV1 video in software, on the computer's main processor.

Firefox 157 can hand that job to the device's video hardware instead. The release notes say this works "on devices that support it." On other machines, Firefox keeps decoding AV1 in software as before.

## What web developers get in Firefox 157

MDN, Mozilla's developer documentation site, lists the changes that are switched on for everyone. An at-rule is a CSS rule that starts with `@`, such as `@media` or `@scope`.

| Area | Change in Firefox 157 |
| --- | --- |
| CSS | `at-rule()` inside `@supports` tests whether the browser supports an at-rule, for example `@supports at-rule(@scope)` |
| CSS | `at-rule()` also works in the `supports()` condition of `@import` |
| CSS | `overscroll-behavior` gets a `chain` value: scrolling passes to the next scrollable area, with no bounce at the edge |
| WebGPU | Supports the `TRANSIENT_ATTACHMENT` texture usage type |
| Animation | `Animation.reverse()` now plays even when `playbackRate` is 0 |
| WebDriver BiDi | `browser.setDownloadBehavior` requires `destinationFolder` when the type is "allowed" |

WebGPU is the browser API for running graphics and compute work on the graphics card. WebDriver BiDi is the protocol that test tools use to drive a browser. The download change matters most to anyone running automated browser tests.

## Experimental features behind preferences

Some new features ship switched off. [MDN's Firefox 157 notes](https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/157) list each one with the preference that turns it on.

- **ML-KEM in Web Crypto** (`dom.webcrypto.encapsulation.enabled`). ML-KEM is a way for two parties to agree on a secret key that is designed to resist attacks by quantum computers. It adds methods such as `encapsulateKey()` and `decapsulateKey()` and supports ML-KEM-512, ML-KEM-768 and ML-KEM-1024. It is on by default in Nightly, Firefox's daily test build.
- **Sanitizing while parsing** (`dom.security.sanitizer.while-parsing`). `Element.setHTML()` now removes unwanted elements and attributes as it reads the markup. Before, it parsed everything first and cleaned up afterward.
- **A `navigate` option for notifications** (`dom.webnotifications.navigate.enabled`). A notification can carry a URL to open when clicked. When it does, the `click` and `notificationclick` events no longer fire.

## Other changes

Amazon is no longer a built-in search engine, though users can still add it by hand. The site information panel now warns when TLS key logging is on. That setting saves the keys for encrypted connections to a file, so anyone with the file can read the traffic.

Older systems move to a separate track. Windows 8.1 and earlier, and macOS 10.14 and earlier, now need Firefox ESR, the Extended Support Release, according to Mozilla.

## What about JPEG XL?

JPEG XL is an image format built to replace JPEG with smaller files. Tech AI Wire's August report, based on Mozilla's intent-to-ship post, named Firefox 157 as the release that would enable it. Neither Mozilla's release notes nor MDN's page for Firefox 157 mentions "JPEG XL", "JXL" or "image/jxl". The notes do not say whether the plan has changed.

## What this means for developers

If your web app makes video calls, test it on Firefox 157 with AV1 on hardware that can decode it. Compare processor load against Firefox 156. Keep other video formats available in the call setup, because Mozilla ties the new path to device support.

Use `at-rule()` to guard styles that depend on a newer at-rule. Write the fallback styles first, then add the at-rule version inside the `@supports` block. Browsers that do not understand the test simply skip the block.

Check your browser tests. Any call to `browser.setDownloadBehavior` that sets the type to "allowed" must now pass a `destinationFolder`. Fix those calls before a Firefox 157 runner starts failing downloads in your test suite.

Do not assume JPEG XL works. Test a `.jxl` file in Firefox 157 yourself before you serve one. Until the format shows up in the release notes, keep AVIF, WebP or JPEG as the fallback inside a `picture` element.

Treat ML-KEM as a preview. Try it in Nightly or behind its preference if your app handles long-lived secrets. Do not ship production code that depends on it until Mozilla turns it on for everyone.

## Sources

- [Firefox 157.0, See All New Features, Updates and Fixes](https://www.firefox.com/en-US/firefox/157.0/releasenotes/) - Mozilla
- [Firefox 157 release notes for developers (Stable)](https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/157) - MDN Web Docs
- [Firefox 157.0 released](https://lwn.net/Articles/1097495/) - LWN.net
