Limit registerProtocolHandler() url argument to http/https

Limits registerProtocolHandler() to only accept URLs with http or https schemas. Because the intent of the API is to allow and endpoint to handle something like an SMS message, for example, it doesn't make much sense for handlers to be data URLs, blob URLs, or whatever.

Documentation

Specification

De-facto standard

Status in Chromium

Blink>HTML>CustomHandlers


Enabled by default (tracking bug) in:

  • Chrome for desktop release 77

Consensus & Standardization

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

  • Shipped
  • No public signals
  • No public signals
  • No signals

Owner

Last updated on 2019-07-31