Closed Bug 955999 Opened 10 years ago Closed 9 years ago

Running webapp-zip.js on node.js

Categories

(Firefox OS Graveyard :: Gaia, defect, P1)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: yurenju, Assigned: rickychien)

References

Details

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #955988 +++
Blocks: 955988
No longer depends on: 955988
Assignee: nobody → ricky060709
Status: NEW → ASSIGNED
Blocks: 1138773
No longer blocks: 1138773
Attached file Gaia PR
George, PR has submitted for zip functionality. Unfortunately, I ran into a strange bug when passing too long args into nsIProcess. It throws exception only in zipping settings and system app. Thus, a workaround fix is follow with this patch. I've commented on NodeHelper() function for further information.

Please review patiently, also unzip application.zip to verify.
Attachment #8573978 - Flags: review?(gduan)
I saw there is an incorrect permission in unzip folder. However, I found it has been addressed by JSZip in newer commit [1] and it works for me locally. Filed an issue [2] to notify JSZip and waiting for newer version coming.

[1] https://github.com/Stuk/jszip/commit/bb4984daaf55ee32f5c3317075f2f034acc98bec
[2] https://github.com/Stuk/jszip/issues/204
Comment on attachment 8573978 [details] [review]
Gaia PR

I don't see problem in your commit and the result of file diff looks good. r=gduan.
Attachment #8573978 - Flags: review?(gduan) → review+
Landed in master:

https://github.com/mozilla-b2g/gaia/commit/d705c4a9dbdaa63f37f2c440cc3d40f2810a027b
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Blocks: 1141414
Priority: -- → P1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: