Re: [ServiceWorker] self.caches should spec what to do for "untrusted" origins (#687)

I recently changed gecko to reject the promise with SecurityError.

Our bindings code would actually make it hard to throw instead of reject the promise.  It automatically converts errors to a promise rejection for methods that return Promise<> in their webidl.

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

Received on Monday, 27 April 2015 14:39:16 UTC