Re: [css-houdini-drafts] Ban data URL worklets (#985)

> Blocking data URL will disable this type of applications and developers will have to set up a backend to generate the code on the fly.

I've seen those apps use the following pattern:

```js
const blob = new Blob([processorSourceCode], {type: "application/javascript"});
audioContext.addModule(URL.createObjectURL(blob))
```

where `processorSourceCode` is the source code of the processor. My understanding is that this would continue working.

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

Received on Tuesday, 28 April 2020 15:33:42 UTC