Closed Bug 1158319 Opened 7 years ago Closed 7 years ago
Cache API should throw NS
_ERROR _DOM _SECURITY _ERR if principal is incorrect
Right now CacheStorage is throwing NS_ERROR_FAILURE which is gecko specific. We can be slightly better here and throw NS_ERROR_DOM_SECURITY_ERR. Neither is really spec'd as far as I can tell. The SecurityError seems better for now, though.
Assignee: nobody → bkelly
Status: NEW → ASSIGNED
Attachment #8597425 - Flags: review?(ehsan)
Try again without a bunch of unrelated changes.
Attachment #8597427 - Flags: review?(ehsan)
Raised a spec issue: https://github.com/slightlyoff/ServiceWorker/issues/687 We are matching what blink does for now.
You need to log in before you can comment on or make changes to this bug.