mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-29 10:48:39 +09:00
8 lines
330 B
JavaScript
8 lines
330 B
JavaScript
function run_test() {
|
|
var Cu = Components.utils;
|
|
sb = new Cu.Sandbox('http://www.example.com');
|
|
sb.do_check_eq = do_check_eq;
|
|
Cu.evalInSandbox('do_check_eq(typeof new Promise(function(resolve){resolve();}), "object");',
|
|
sb);
|
|
do_check_eq(typeof new Promise(function(resolve){resolve();}), "object");
|
|
}
|