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

FWIW, in Chrome we still expose the globals, but `self.caches` throws a `SecurityError` on access with details about why the access was denied. This is consistent with what we do for  `window.sessionStorage`, `window.localStorage`.

For Indexed DB we instead throw on access to the `open()`/`deleteDatabase()` methods hanging off the `indexedDB` global.


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

Received on Friday, 24 April 2015 20:28:46 UTC