- From: Jungkee Song <notifications@github.com>
- Date: Fri, 20 Oct 2017 06:48:19 +0000 (UTC)
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 20 October 2017 06:48:44 UTC
[Update](https://w3c.github.io/ServiceWorker/#update-algorithm) algorithm step 8 compares the updating script's source text against the installed script's source text. This check is to return early when the two scripts are byte identical. I noticed HTML removed the definition of the source text from the classic script struct and added a record (Script Record) to the script struct instead. I wonder if comparing the record.[[ECMAScriptCode]] of the two scripts would make sense or we should add the source text to the script struct again. From https://github.com/w3c/ServiceWorker/pull/1023#discussion_r92696321, the latter seems to be more appropriate I suppose. /cc @domenic -- 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/1212
Received on Friday, 20 October 2017 06:48:44 UTC