window.open() 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 window.open throws a DOMException "SyntaxError" instead.

Comments

WPT tests are part of the url/ directory which blink doesn't import UseCounter: https://www.chromestatus.com/metrics/feature/timeline/popularity/1909

Specification

Established standard

Status in Chromium

In development (launch bug)

Consensus & Standardization

  • Shipped
  • Shipped
  • Public support
  • No signals

Owner

Last updated on 2017-05-04