Range request header can be passed through a service worker if it's not modified. This enables service workers can work with requests made by media elements such as video and audio.

Motivation

This spec change means that range requests (such as those from media elements) are allowed to pass through a service worker as long as they aren't modified. This fixes a long standing issue where media elements behave oddly if intercepted by a service worker (as the range headers were lost).

Specification

Specification link


Specification being incubated in a Community Group

Status in Chromium

Blink>ServiceWorker


Enabled by default (tracking bug)

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

Owners

Last updated on 2021-10-24