Closed
Bug 629859
Opened 13 years ago
Closed 3 years ago
Drop support for localStorage[int]
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
WORKSFORME
Tracking | Status | |
---|---|---|
blocking2.0 | --- | - |
People
(Reporter: Ms2ger, Assigned: maciej.malecki)
References
()
Details
Attachments
(3 files)
1.46 KB,
patch
|
sicking
:
review+
|
Details | Diff | Splinter Review |
1.51 KB,
patch
|
sicking
:
review-
|
Details | Diff | Splinter Review |
4.12 KB,
patch
|
sicking
:
review-
|
Details | Diff | Splinter Review |
No description provided.
Updated•13 years ago
|
Assignee: nobody → honzab.moz
blocking2.0: --- → ?
Comment 1•13 years ago
|
||
Why should this block 2.0?
Comment 2•13 years ago
|
||
This should go out ASAP, if the patch is simple. But if there are voices again, then probably just release after Fx4.
No, we should not do this for FF4. The risk of breaking existing sites is too big (there's always gecko-specific code paths). Would be great to do asap after FF4 though.
blocking2.0: ? → -
Comment 4•13 years ago
|
||
My apologies again for this, by the way.
Assignee | ||
Comment 6•13 years ago
|
||
This patch duplicates behavior of nsStorage2SH::SetProperty, which "casts" each key to string.
Assignee | ||
Updated•13 years ago
|
Attachment #540332 -
Flags: review?(jonas)
Updated•13 years ago
|
Assignee: honzab.moz → maciej.malecki
Status: NEW → ASSIGNED
Comment on attachment 540332 [details] [diff] [review] Patch to drop support for localStorage[int] Don't we also need to remove the nsIDOMStorage::Key function implementation?
Attachment #540332 -
Flags: review?(jonas) → review+
Assignee | ||
Comment 8•13 years ago
|
||
This patch removes definition of nsIDOMStorage::key (dom/interfaces/storage/nsIDOMStorage.idl) and it's implementation in nsDOMStorage2::Key (dom/src/storage/nsDOMStorage.cpp).
Attachment #546353 -
Flags: review?(jonas)
Assignee | ||
Comment 9•13 years ago
|
||
I'm not sure if should we test to verify if this method is not working anymore or is just removing these tests enough?
Attachment #546355 -
Flags: review?(jonas)
Comment 10•13 years ago
|
||
Comment on attachment 546355 [details] [diff] [review] Remove relevant tests There are more test you have to remove this API checks from: dom\tests\mochitest\localstorage\frameOrder.html dom\tests\mochitest\localstorage\test_localStorageBase.html dom\tests\mochitest\localstorage\test_localStorageBasePrivateBrowsing.html dom\tests\mochitest\localstorage\test_localStorageBaseSessionOnly.html dom\tests\mochitest\localstorage\test_localStorageKeyOrder.html dom\tests\mochitest\sessionstorage\test_sessionStorageBase.html
Attachment #546353 -
Flags: review?(jonas) → review+
Attachment #546355 -
Flags: review?(jonas) → review+
Comment on attachment 546353 [details] [diff] [review] Removes nsIDOMStorage::Key implementation (in nsDOMStorage2) and definition Wait! the key function is still in the spec? Appears my previous suggestion to remove it was wrong. I didn't realize that it was a publicly exposed function required by spec.
Attachment #546353 -
Flags: review+ → review-
Attachment #546355 -
Flags: review+ → review-
Comment 12•13 years ago
|
||
Did the approved patch land?
Updated•3 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•