Re: [ServiceWorker] Can we replace event.default() with something less magic? (#607)

So I tried adding this, but we need to scope the mutability of the internal slot (or when the setter functions, either way). The most logical point seems to be when you pass a `Response` object to `respondWith()` or when the promise you pass to `respondWith()` has its IDL-registered set of callbacks run. Should that operation set some kind of internal flag on the `Response` object or do we expect the `Response` object to be cloned at that point in a JavaScript-only world? @heycam @bzbarsky @domenic any idea how to best explain that specification-wise?

---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/607#issuecomment-71176152

Received on Friday, 23 January 2015 10:43:14 UTC