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

Editor's draft

Status in Chromium

Blink>ServiceWorker


Enabled by default (tracking bug) in:

  • Chrome for desktop release 87
  • Chrome for Android release 87
  • Android WebView release 87

Consensus & Standardization

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

  • Positive
  • Shipped/Shipping
  • Shipped/Shipping
  • Positive

Owners

Last updated on 2020-11-28