← Back to release summary

window.open() throws on an invalid URL parameter

Category
DOM
Type
New or changed feature
Status
Enabled by default (Chrome 60)
Intent stage
None

Summary

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.

Standards & signals

View on chromestatus.com