Closed Bug 459041 Opened 16 years ago Closed 16 years ago

jar: URLs break sss_serializeSessionStorage (and thus SessionStore)

Categories

(Firefox :: Session Restore, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 3.1b2

People

(Reporter: zeniko, Assigned: zeniko)

References

Details

(Keywords: regression)

Attachments

(1 file, 1 obsolete file)

      No description provided.
Attached patch fix (obsolete) — Splinter Review
So instead of clearing out the path (which can throw even for nsIURLs), let's use the prePath instead (which is what we want, anyway), resp. the full URI when the prePath would be trivial/host-less.
Assignee: nobody → zeniko
Attachment #342242 - Flags: review?(dietrich)
Comment on attachment 342242 [details] [diff] [review]
fix

r=me, thanks. is this covered by the existing storage test?
Attachment #342242 - Flags: review?(dietrich) → review+
(In reply to comment #2)
> is this covered by the existing storage test?

Minimally; the test isn't very extensive in itself, I'd rather wait for bug 455070 until extending it to include several domains and edge cases (including failures).
Keywords: checkin-needed
This patch has bitrotted, we need a new patch here.
Keywords: checkin-needed
Whiteboard: [needs new patch]
Attached patch for check-inSplinter Review
Besides unbitrotting, this harmonizes the try-catch-block from bug 458954 with the one added here and drops one |continue| to slightly clear up the code flow.
Attachment #342242 - Attachment is obsolete: true
Keywords: checkin-needed
Whiteboard: [needs new patch]
Pushed to mozilla-central: <http://hg.mozilla.org/mozilla-central/rev/ef4464dc1bd7>
Status: NEW → RESOLVED
Closed: 16 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.1b2
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: