Re: [css-houdini-drafts] Passing a non-existent path as URL to addModule() should throw a meaningful (e.g. 404, net) error, not a DOMException [worklets-1] (#871)

This should be closed. "SyntaxError" DOMException is used for many URL parsing failures on the web platform, e.g.:

- https://html.spec.whatwg.org/#the-location-interface:syntaxerror
- https://html.spec.whatwg.org/#custom-handlers:syntaxerror-4
- https://html.spec.whatwg.org/#the-eventsource-interface:syntaxerror
- https://html.spec.whatwg.org/#the-websocket-interface:syntaxerror-2

just looking at HTML.

-- 
GitHub Notification of comment by domenic
Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/871#issuecomment-710285733 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 16 October 2020 17:36:38 UTC