Closed Bug 337558 Opened 19 years ago Closed 18 years ago

nsXULAppRunner needs updating after bug 214672: remove nsIZipEntry

Categories

(Toolkit Graveyard :: XULRunner, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
mozilla1.9alpha1

People

(Reporter: alfredkayser, Assigned: alfredkayser)

References

Details

Attachments

(1 file)

nsXULAppRunner needs updating after bug 214672: findEntries now returns a UTF8StringEnumerator so that GetNext no longer returns a nsIZipEntry but a entry name string. Also replace "*" with null (no pattern match). Patch following real soon!
Robert, this code needs a little update after bug 214672. Can you review this? Thanks in advance!
Attachment #221673 - Flags: review?(robert.bugzilla)
Component: Networking: File → XULRunner
Flags: review?(robert.bugzilla)
Product: Core → Toolkit
Comment on attachment 221673 [details] [diff] [review] Patch to update XULAppRunnerSetup after bug 214672 Requesting review (somehow the previous request got cancelled...)
Attachment #221673 - Flags: first-review?(robert.bugzilla)
Comment on attachment 221673 [details] [diff] [review] Patch to update XULAppRunnerSetup after bug 214672 Looks good
Attachment #221673 - Flags: first-review?(robert.bugzilla) → first-review+
Comment on attachment 221673 [details] [diff] [review] Patch to update XULAppRunnerSetup after bug 214672 Darin, a small followup to bug 214672. Can you do the SR and checkin? Thanks in advance.
Attachment #221673 - Flags: second-review?(darin)
Attachment #221673 - Flags: second-review?(darin) → second-review+
*** Bug 342488 has been marked as a duplicate of this bug. ***
Blocks: 214672
Alfred, do you need someone to check this in?
Assignee: nobody → alfredkayser
I went ahead and landed this because of bug 342488 comment 3. mozilla/xulrunner/setup/nsXULAppInstall.js 1.5
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9alpha1
Thanks!
Comment on attachment 221673 [details] [diff] [review] Patch to update XULAppRunnerSetup after bug 214672 > _installZipEntry : function ze_installZipEntry(aZipReader, aZipEntry, > aDestination) { > var file = aDestination.clone(); > >- var path = aZipEntry.name; >- var dirs = path.split(/\//); >+ var dirs = aZipEntry.split(/\//); > var isDirectory = path.match(/\/$/) != null; ^^^^ oops
Depends on: 362686
Status: RESOLVED → VERIFIED
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: