Closed
Bug 1158319
Opened 9 years ago
Closed 9 years ago
Cache API should throw NS_ERROR_DOM_SECURITY_ERR if principal is incorrect
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla40
Tracking | Status | |
---|---|---|
firefox40 | --- | fixed |
People
(Reporter: bkelly, Assigned: bkelly)
Details
Attachments
(1 file, 1 obsolete file)
2.44 KB,
patch
|
ehsan.akhgari
:
review+
|
Details | Diff | Splinter Review |
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 | ||
Comment 1•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Attachment #8597425 -
Attachment is obsolete: true
Attachment #8597425 -
Flags: review?(ehsan)
Assignee | ||
Comment 2•9 years ago
|
||
Try again without a bunch of unrelated changes.
Attachment #8597427 -
Flags: review?(ehsan)
Assignee | ||
Comment 3•9 years ago
|
||
Raised a spec issue: https://github.com/slightlyoff/ServiceWorker/issues/687 We are matching what blink does for now.
Updated•9 years ago
|
Attachment #8597427 -
Flags: review?(ehsan) → review+
Assignee | ||
Comment 4•9 years ago
|
||
remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/3e548b8fed23
Comment 5•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/3e548b8fed23
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox40:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•