Closed
Bug 1158319
Opened 11 years ago
Closed 11 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•11 years ago
|
||
| Assignee | ||
Updated•11 years ago
|
Attachment #8597425 -
Attachment is obsolete: true
Attachment #8597425 -
Flags: review?(ehsan)
| Assignee | ||
Comment 2•11 years ago
|
||
Try again without a bunch of unrelated changes.
Attachment #8597427 -
Flags: review?(ehsan)
| Assignee | ||
Comment 3•11 years ago
|
||
Raised a spec issue:
https://github.com/slightlyoff/ServiceWorker/issues/687
We are matching what blink does for now.
Updated•11 years ago
|
Attachment #8597427 -
Flags: review?(ehsan) → review+
| Assignee | ||
Comment 4•11 years ago
|
||
Comment 5•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
status-firefox40:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•