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)

defect
Not set
normal

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)

Attached patch patch for 1.9.1 branch (obsolete) — 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)
Depends on: 511823
Attached patch universal patch (obsolete) — Splinter Review
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 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].
Attached patch fixed patch (obsolete) — Splinter Review
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)
Attached patch proper fix (obsolete) — Splinter Review
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)
Attachment #400686 - Flags: superreview?(neil)
Attachment #400686 - Flags: superreview+
Attachment #400686 - Flags: review?(neil)
Attachment #400686 - Flags: review+
Attachment #400686 - Flags: approval-seamonkey2.0?
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 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+
nit fixed, for checkin
Attachment #400733 - Attachment is obsolete: true
Attachment #400739 - Flags: superreview+
Attachment #400739 - Flags: review+
Attachment #400739 - Flags: approval-seamonkey2.0?
sorry, forgot to add carrying forward r+ and sr+ from Neil
Attachment #400739 - Flags: approval-seamonkey2.0? → approval-seamonkey2.0+
Keywords: checkin-needed
Attachment #400739 - Attachment description: for checkin → for checkin [Checkin: Comment 9]
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: