Closed
Bug 1486932
Opened 6 years ago
Closed 6 years ago
Remove nsIDOMStorage
Categories
(Core :: Storage: localStorage & sessionStorage, enhancement, P2)
Core
Storage: localStorage & sessionStorage
Tracking
()
RESOLVED
FIXED
mozilla63
Tracking | Status | |
---|---|---|
firefox63 | --- | fixed |
People
(Reporter: bzbarsky, Assigned: bzbarsky)
Details
Attachments
(2 files)
(deleted),
patch
|
mccr8
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
mccr8
:
review+
|
Details | Diff | Splinter Review |
We shouldn't need this anymore.
Assignee | ||
Comment 1•6 years ago
|
||
Attachment #9004748 -
Flags: review?(continuation)
Assignee | ||
Comment 2•6 years ago
|
||
Attachment #9004749 -
Flags: review?(continuation)
Updated•6 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P2
Comment 3•6 years ago
|
||
Comment on attachment 9004748 [details] [diff] [review]
part 1. Stop using nsIDOMStorage in xpidl APIs
Review of attachment 9004748 [details] [diff] [review]:
-----------------------------------------------------------------
Sorry for the delay. I was doing 7 on-site interviews this week.
::: dom/base/nsGlobalWindowInner.cpp
@@ +4793,4 @@
> return nullptr;
> }
>
> + RefPtr<Storage> storage;
Hmm. I guess we can rely on this function to not overwrite mSessionStorage unless it succeeds? Otherwise this would be a change in behavior. (Here and below.)
I think |storage| is unused, so you can remove the declaration.
Attachment #9004748 -
Flags: review?(continuation) → review+
Updated•6 years ago
|
Attachment #9004749 -
Flags: review?(continuation) → review+
Assignee | ||
Comment 4•6 years ago
|
||
> I guess we can rely on this function to not overwrite mSessionStorage unless it succeeds?
Hmm... Good point. We sort of can right now, but I would rather not. I will switch back to the old setup here.
Pushed by bzbarsky@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/007f50309f76
part 1. Stop using nsIDOMStorage in xpidl APIs. r=mccr8
https://hg.mozilla.org/integration/mozilla-inbound/rev/55c500a8c4b3
part 2. Remove nsIDOMStorage. r=mccr8
Comment 6•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/007f50309f76
https://hg.mozilla.org/mozilla-central/rev/55c500a8c4b3
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in
before you can comment on or make changes to this bug.
Description
•