Bug 1915045 Ensure decode tasks are scheduled on BufferingState::Enter() r=media...
[gecko.git] / js / xpconnect / tests / unit / test_storage.js
blob1ef6b653b5c55b44840da027feed60ff337f3aa2
1 /* Any copyright is dedicated to the Public Domain.
2  * http://creativecommons.org/publicdomain/zero/1.0/ */
4 function run_test() {
5   var sb = new Cu.Sandbox('http://www.example.com',
6                           { wantGlobalProperties: ["storage"] });
7   sb.ok = ok;
8   Cu.evalInSandbox('ok(storage instanceof StorageManager);',
9                    sb);
10   Cu.importGlobalProperties(["storage"]);
11   Assert.ok(storage instanceof StorageManager);