ampproject / worker-dom

The same DOM API and Frameworks you know, but in a Web Worker.
Apache License 2.0
3.21k stars 152 forks source link

Blob Support #1143

Open fradniev opened 2 years ago

fradniev commented 2 years ago

Currently I'm trying to use OpenLayers with AMP instead of google maps but besides having a problem with "publicPath", I'm also having a problem with Blob not being defined.

[amp-script] Uncaught ReferenceError: Blob is not defined

I get this error after finding a version of OpenLayers with 'publicPath: "" '.

I did a simple js with the only code being

var blob = new Blob(); console.log(blob);

And again I get the error that Blob is not defined