Closed
Bug 511635
Opened 15 years ago
Closed 15 years ago
Port Bug 455070 [Make sessionStorage object conform the WHATWG spec] to SeaMonkey
Categories
(SeaMonkey :: Session Restore, defect)
SeaMonkey
Session Restore
Tracking
(Not tracked)
RESOLVED
FIXED
seamonkey2.0
People
(Reporter: misak.bugzilla, Assigned: misak.bugzilla)
References
Details
(Keywords: fixed-seamonkey2.0)
Attachments
(1 file, 5 obsolete files)
3.09 KB,
patch
|
misak.bugzilla
:
review+
misak.bugzilla
:
superreview+
kairo
:
approval-seamonkey2.0+
|
Details | Diff | Splinter Review |
From parent bug:
that is:
- change the getItem method to return DOMString (use nsIDOMStorage2 interface
for the storage)
- change mapping of session storage by an origin and not by a domain as it is
now
- compare principals instead of just string origins on some places
Attached patch for 1.9.1 branch, my bugzilla knowledge don't allow me to set proper flags to indicate that additional patch will be needed when we change to another branch.
Attachment #395584 -
Flags: superreview?(neil)
Attachment #395584 -
Flags: review?(neil)
Assignee | ||
Comment 1•15 years ago
|
||
OK, this one uses #ifdef MOZILLA_1_9_1_BRANCH, and it's universal.
Attachment #395584 -
Attachment is obsolete: true
Attachment #400483 -
Flags: superreview?(neil)
Attachment #400483 -
Flags: review?(neil)
Attachment #395584 -
Flags: superreview?(neil)
Attachment #395584 -
Flags: review?(neil)
Comment 2•15 years ago
|
||
Comment on attachment 400483 [details] [diff] [review]
universal patch
>+#ifdef MOZILLA_1_9_1_BRANCH
>+ let docShell_191 = aDocShell.QueryInterface(Components.interfaces.nsIDocShell_MOZILLA_1_9_1_SessionStorage);
>+ storage = docShell_191.getSessionStorageForURI(uri);
>+#else
> storage = aDocShell.getSessionStorageForURI(uri);
>+#endif
Just use aDocShell.QueryInterface(Components.interfaces.nsIDocShell_MOZILLA_1_9_1_SessionStorage);
Compare attachment 379532 [details] [diff] [review].
Assignee | ||
Comment 3•15 years ago
|
||
Attachment #400483 -
Attachment is obsolete: true
Attachment #400526 -
Flags: superreview?(neil)
Attachment #400526 -
Flags: review?(neil)
Attachment #400483 -
Flags: superreview?(neil)
Attachment #400483 -
Flags: review?(neil)
Assignee | ||
Comment 4•15 years ago
|
||
Sorry, now i understand what you mean.
Attachment #400526 -
Attachment is obsolete: true
Attachment #400686 -
Flags: superreview?(neil)
Attachment #400686 -
Flags: review?(neil)
Attachment #400526 -
Flags: superreview?(neil)
Attachment #400526 -
Flags: review?(neil)
Updated•15 years ago
|
Attachment #400686 -
Flags: superreview?(neil)
Attachment #400686 -
Flags: superreview+
Attachment #400686 -
Flags: review?(neil)
Attachment #400686 -
Flags: review+
Assignee | ||
Updated•15 years ago
|
Attachment #400686 -
Flags: approval-seamonkey2.0?
Assignee | ||
Comment 5•15 years ago
|
||
As Neil suggested, uploading combined patch with fix for bug 511823.
Attachment #400686 -
Attachment is obsolete: true
Attachment #400733 -
Flags: superreview?(neil)
Attachment #400733 -
Flags: review?(neil)
Attachment #400686 -
Flags: approval-seamonkey2.0?
Comment 6•15 years ago
|
||
Comment on attachment 400733 [details] [diff] [review]
combined patch with fix for bug 511823
> let ioService = Components.classes["@mozilla.org/network/io-service;1"].getService(Components.interfaces.nsIIOService);
>+#ifdef MOZILLA_1_9_1_BRANCH
>+ aDocShell.QueryInterface(Components.interfaces.nsIDocShell_MOZILLA_1_9_1_SessionStorage);
>+#endif
> for (let url in aStorageData) {
Nit: indentation of aDocShell.QueryInterface is wrong.
Attachment #400733 -
Flags: superreview?(neil)
Attachment #400733 -
Flags: superreview+
Attachment #400733 -
Flags: review?(neil)
Attachment #400733 -
Flags: review+
Assignee | ||
Comment 7•15 years ago
|
||
nit fixed, for checkin
Attachment #400733 -
Attachment is obsolete: true
Attachment #400739 -
Flags: superreview+
Attachment #400739 -
Flags: review+
Attachment #400739 -
Flags: approval-seamonkey2.0?
Assignee | ||
Comment 8•15 years ago
|
||
sorry, forgot to add carrying forward r+ and sr+ from Neil
Updated•15 years ago
|
Attachment #400739 -
Flags: approval-seamonkey2.0? → approval-seamonkey2.0+
Assignee | ||
Updated•15 years ago
|
Keywords: checkin-needed
Comment 9•15 years ago
|
||
Comment on attachment 400739 [details] [diff] [review]
for checkin
[Checkin: Comment 9]
http://hg.mozilla.org/comm-central/rev/3eb3ed8481ed
Attachment #400739 -
Attachment description: for checkin → for checkin
[Checkin: Comment 9]
Updated•15 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Keywords: checkin-needed → fixed-seamonkey2.0
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.0
You need to log in
before you can comment on or make changes to this bug.
Description
•