File read functionality should support binary files

RESOLVED FIXED in 1.0b5

Status

Add-on SDK
General
RESOLVED FIXED
7 years ago
7 years ago

People

(Reporter: /\/\arcio Galli, Assigned: /\/\arcio Galli)

Tracking

unspecified
1.0b5

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

7 years ago
This is an enhancement request to the require("file") API: 

packages/api-utils/lib/file.js

The use case is when the developer wants to read a file that is provided in binary form and not the textual form. Currently the read only supports text mode.
OS: Mac OS X → All
Hardware: x86 → All

Comment 2

7 years ago
Thanks for the patch.  I made some comments on the pull request.  r+ with those addressed.
Assignee: nobody → mgalli
Status: NEW → ASSIGNED
You need to log in before you can comment on or make changes to this bug.