Re: [css-houdini-drafts] [worklet] API of CSS.paintWorklet.addModule(url) produces network requests (#979)

I got your point. ```registerModule()``` looks simpler and better, too.

Just to clarify, I meant implementation **and spec changes** wouldn't be so easy. To add the feature, we might have to make the class copyable in the ECMAScript spec first, and I think it won't be available soon [*]. That's the reason why I suggested the workaround.

[*] One [promising proposal](https://github.com/domenic/proposal-blocks) was recently withdrawn.

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

Received on Monday, 3 February 2020 00:32:01 UTC