Closed Bug 980379 Opened 11 years ago Closed 11 years ago

AppsUtils.loadJSONAsync() should allow passing options to OS.File calls

Categories

(Core Graveyard :: DOM: Apps, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: gfritzsche, Assigned: gfritzsche)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

AppsUtils.loadJSONAsync() should allow passing options to OS.File calls so e.g. compression can be used.
fabrice, "hg log" suggests you as a reviewer. This allows me to use |loadJSONAsync(path, {compression: "lz4"})|.
Assignee: nobody → georg.fritzsche
Status: NEW → ASSIGNED
Attachment #8386863 - Flags: review?(fabrice)
Attachment #8386863 - Flags: review?(fabrice) → review+
We'll stop using OS.File for now because of some problems with b2g (see bug 961317 for details).
Thanks for the heads-up. As it seems this is just B2G-test-specific for now i might just roll my own version if i land before bug 961317 is fixed.
Depends on: 961317
Blocks: 981563
Blocks: 981603
(In reply to Georg Fritzsche [:gfritzsche] from comment #3) > Thanks for the heads-up. As it seems this is just B2G-test-specific for now > i might just roll my own version if i land before bug 961317 is fixed. I think in bug 981085 we're going to remove this function altogether.
Alright, then let's not spend time on this.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
No longer blocks: 973999
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: