- From: Hiroki Nakagawa via GitHub <sysbot+gh@w3.org>
- Date: Tue, 07 Nov 2017 02:08:13 +0000
- To: public-houdini-archive@w3.org
nhiroki has just created a new issue for https://github.com/w3c/css-houdini-drafts: == [worklets] addModule() should reject a promise with a more specific exception == The current spec defines that ```addModule()``` rejects a promise with "AbortError" DOMException in any case: > 2. Reject promise with an "AbortError" DOMException. > (see https://drafts.css-houdini.org/worklets/#fetch-and-invoke-a-worklet-script) This obfuscates the reason why ```addModule()``` failed and makes it hard to debug. It would be nice to reject it with a more specific exception like "NetworkError" and "SyntaxError". Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/509 using your GitHub account
Received on Tuesday, 7 November 2017 02:08:15 UTC