Re: [w3c/ServiceWorker] Configure script's settings and realm for service workers (#1294)

@domenic, passing null to those algorithms breaks the current _create a classic script_ and _create a module script_ algorithm steps. I'm not sure if I still need to create an environment settings object and pass it although the script's settings will be replaced by the another settings object in Run Service Worker eventually.

As far as I can tell, script's settings and script's record.[[Realm]] are referenced when the script is evaluated. So, even if we don't set them in the fetching phase, it wouldn't make any side effects, right?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/pull/1294#issuecomment-376822756

Received on Wednesday, 28 March 2018 09:32:08 UTC