Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: bootstrap.js.tmpl

Issue 8432040: Provide access to the File object (Closed)
Patch Set: Created Sept. 26, 2012, 8:09 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bootstrap.js.tmpl
===================================================================
--- a/bootstrap.js.tmpl
+++ b/bootstrap.js.tmpl
@@ -9,7 +9,7 @@
const Cr = Components.results;
const Cu = Components.utils;
-let {Services, atob, btoa} = Cu.import("resource://gre/modules/Services.jsm", null);
+let {Services, atob, btoa, File} = Cu.import("resource://gre/modules/Services.jsm", null);
let addonData = null;
@@ -149,6 +149,7 @@
Cu: Cu,
atob: atob,
btoa: btoa,
+ File: File,
require: require,
{% if hasShutdownHandlers %}
onShutdown: onShutdown,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld