Firefox for Web Developers

@firefoxwebdevs
4.3K Followers
3 Following
367 Posts
Official Firefox account for people who build on the web. Learn about the things we're working on to grow and improve the web platform.
JavaScript Iterator․zip landed in Firefox 148, making it simple to loop over multiple things at the same time. Here's how it works:
CSS shape() landed in Firefox 148. It's similar to path(), but allows the full expressiveness of CSS…
You can throw away innerHTML and replace it with the new setHTML(), which has a built-in sanitizer. Here's how it works:

HTML might be getting a new type of tag, which… hasn't happened this millennium. Here's the new syntax, and how it works.

And here's the explainer on HTML patching https://github.com/WICG/declarative-partial-updates/blob/main/patching-explainer.md

Here's a quick rundown of what we delivered as part of Interop 2025, and what's planned for Interop 2026!

More details on the features and focus areas: https://hacks.mozilla.org/2026/02/launching-interop-2026/

AI Controls (formerly 'kill switch') are landing in today's Firefox Nightly, and will land with Firefox 148 later this month.

For the full details, see the Firefox blog https://blog.mozilla.org/en/firefox/ai-controls/

CSS module scripts landed in Firefox 147, so you can import CSS directly into JavaScript.

Docs:

Import attributes https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import/with
CSSStyleSheet https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleSheet

In Firefox 147, you no longer need heavy libraries to (de)compress brotli with JS - you can just use CompressionStream and DecompressionStream!

Full documentation on MDN: https://developer.mozilla.org/en-US/docs/Web/API/Compression_Streams_API

View Transition Types are newly baseline! These make it easier to build transitions that are specific to particular situations.

https://developer.mozilla.org/en-US/docs/Web/API/View_Transition_API/Using_types

Also, we have some new View Transition DevTools in Firefox 147…

The Navigation API is newly baseline! The web now has sensible, low-level routing for navigations.

https://developer.mozilla.org/en-US/docs/Web/API/Navigation_API