Web Development

Firefox 160 changes WebTransport: exportKeyingMaterial() now requires context and outputLength arguments

Firefox 160 was released on 10 November 2026 with key changes to WebTransport. One of them could break existing code that calls exportKeyingMaterial().

By Oemah Solution Editorial 3 min read

This article was prepared with AI assistance from the official sources listed below, and checked automatically before publication.

A Framework 12 laptop in tablet mode on a marble table, showing Firefox, htop, and the on-screen keyboard
Photo: Framework Laptop 12 running Sway, Firefox, wvkbd, and htop by Junaruga · CC0 · Wikimedia Commons

Mozilla released Firefox 160 on 10 November 2026. According to the developer release notes on MDN Web Docs, the changes relevant to web developers are mostly in the WebTransport API, and one of them can break existing code. There is also one CSS addition for compatibility. The HTML and JavaScript sections list no significant changes.

Key changes to WebTransport

MDN records several WebTransport updates in Firefox 160:

  • headers option in the constructor. The WebTransport() constructor now accepts a headers option for adding custom HTTP headers to the extended CONNECT request that opens the session. Headers that the server sends in its response can be read through the WebTransport.responseHeaders property once the session is established.
  • exportKeyingMaterial() updated. This method has been aligned with the current specification. The context argument is now mandatory, and there is a new outputLength argument that sets the number of bytes of keying material derived. Previously, the method always returned 32 bytes.
  • New datagram properties. incomingMaxBufferedDatagrams and outgoingMaxBufferedDatagrams on WebTransportDatagramDuplexStream are now supported. Both replace the non-standard incomingHighWaterMark and outgoingHighWaterMark properties, which have been removed. The new properties specify the maximum number of incoming datagrams that can be queued while waiting to be read, and the maximum number of outgoing datagrams that can be queued before backpressure is applied.

Changes in CSS

The ::-webkit-input-placeholder pseudo-element is now supported as an alias of ::placeholder. The aim is to maintain compatibility with sites that use it to style placeholder text on <input> and <textarea> elements.

Why it matters for organisations in Indonesia

Teams building real-time applications, such as live dashboards, trading services, streaming, or other online services based on WebTransport, need to verify how their applications behave in Firefox 160. The release notes point to two risks:

  • Code that calls exportKeyingMaterial() without context or without outputLength must be updated.
  • Code that still uses incomingHighWaterMark or outgoingHighWaterMark needs to be moved to the new properties, because the old ones have been removed.

For legacy sites, including government agency portals whose placeholder styling still uses the -webkit- prefix, this CSS alias can reduce visual differences between browsers. Even so, the actual impact still needs to be checked on each site.

Practical steps

  • Search the codebase for all calls to exportKeyingMaterial() and add the arguments that are now required.
  • Look for uses of the datagram highWaterMark properties, then replace them with incomingMaxBufferedDatagrams and outgoingMaxBufferedDatagrams.
  • Run WebTransport feature tests in Firefox 160, including flows that depend on custom headers, if any.
  • Check placeholder styling on legacy forms and make sure it looks consistent across browsers.
  • Monitor the MDN release notes for upcoming Firefox versions so that similar changes are not missed.

The change to exportKeyingMaterial() is a reminder that APIs that are still evolving can change as the specification does. Regular cross-browser testing helps teams find problems before users experience them.

#firefox#webtransport#web development#css#browser compatibility

Sources & references

This article is a summary and interpretation by the Oemah Solution team of the sources below. Refer to the original sources for full details and context.

  1. Firefox 160 release notes for developers (Stable) - Mozilla | MDN MDN Web Docs (Mozilla) · developer.mozilla.org