mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 19:33:18 +00:00
Bug 1000305 - part 3: Add atob() and btoa() to server-side java Sandbox. r=waldo
This commit is contained in:
parent
9fba7969d0
commit
db641154ee
@ -2741,6 +2741,8 @@ ServerHandler.prototype =
|
||||
var sis = new ScriptableInputStream(fis);
|
||||
var s = Cu.Sandbox(gGlobalObject);
|
||||
s.importFunction(dump, "dump");
|
||||
s.importFunction(atob, "atob");
|
||||
s.importFunction(btoa, "btoa");
|
||||
|
||||
// Define a basic key-value state-preservation API across requests, with
|
||||
// keys initially corresponding to the empty string.
|
||||
|
Loading…
Reference in New Issue
Block a user