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