throws on an invalid URL parameter

Currently, we only log a message to the console. For consistency with other APIs, the WhatWG spec now requires that throws a DOMException "SyntaxError" instead.


WPT tests are part of the url/ directory which blink doesn't import UseCounter:


Established standard

Status in Chromium

In development (launch bug)

Consensus & Standardization

  • Shipped
  • Shipped
  • Public support
  • No signals


Last updated on 2017-05-04