RangerMauve / webrun

Run Web-first ESM modules outside of the browser
https://webrun-presentation.hashbase.io/
MIT License
77 stars 8 forks source link

Expose useful globals from `WorkerGlobalScope` #13

Open Gozala opened 5 years ago

Gozala commented 5 years ago

It would be very useful to have set of common globals in the global scope, I would suggest list from WorkerGlobalScope

RangerMauve commented 5 years ago

What would it be set to? The initially loaded script? The pwd?

Gozala commented 5 years ago

What would it be set to? The initially loaded script? The pwd?

I'd say file URL to pwd