Closed Bug 647954 Opened 14 years ago Closed 14 years ago

When extracting add-ons files should be written in binary mode

Categories

(Testing :: Talos, defect)

All
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ecfbugzilla, Assigned: ecfbugzilla)

References

Details

Attachments

(1 file)

I tried to reproduce Talos results for Adblock Plus and noticed that Adblock Plus was broken in the test profile created. Apparently, the file adblockplus.jar has been written in text mode which broke it on Windows (the ZIP file format doesn't like LF being randomly replaced by CR LF). The problem here is function zip_extractall in ffsetup.py.
Attached patch [checked in]Proposed patch (deleted) — Splinter Review
With this change I get more sane results, UI still being intact...
Assignee: nobody → trev.moz
Status: NEW → ASSIGNED
Attachment #524153 - Flags: review?(anodelman)
CC'ing Justin, as he seems he seems to be the contact person for authors in the "Slow performing Add-ons" campaign, and this bug would impact the test results.
Blocks: 599169
Comment on attachment 524153 [details] [diff] [review] [checked in]Proposed patch Easy fix, thanks for the patch.
Attachment #524153 - Flags: review?(anodelman) → review+
There's a bunch of talos changes post all-hands, I'll get this shepherded into the next available downtime.
Depends on: 649175
Comment on attachment 524153 [details] [diff] [review] [checked in]Proposed patch changeset: 229:f67bfd276db0
Attachment #524153 - Attachment description: Proposed patch → [checked in]Proposed patch
Rolled out in bug 649175.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: