[w3c/ServiceWorker] Sort out settings object for service worker module scripts (#1013)

SW has different script execution model from other workers. SW's script fetching and running execute in separate places with a different lifecycle.

Fetch a module worker script graph requires a settings object in the fetching phase to pare the scripts. (Fetch a classic worker script also requires this argument as well but seems not using for parsing in the fetching phase.)

We need to fix it such that module scripts parsed during the fetching phase can be used in subsequent Run Service Worker script executions.

Issue reported in https://github.com/w3c/ServiceWorker/pull/1012#pullrequestreview-9860300.

-- 
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/issues/1013

Received on Thursday, 24 November 2016 06:31:34 UTC