mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-22 04:13:06 +09:00
10 lines
354 B
JavaScript
10 lines
354 B
JavaScript
const Cu = Components.utils;
|
|
function run_test() {
|
|
var sb = new Cu.Sandbox('http://www.example.com');
|
|
sb.obj = {};
|
|
sb.arr = [];
|
|
sb.fun = function() {};
|
|
do_check_true(sb.eval('Object.getPrototypeOf(obj) == null'));
|
|
do_check_true(sb.eval('Object.getPrototypeOf(arr) == null'));
|
|
do_check_true(sb.eval('Object.getPrototypeOf(fun) == null'));
|
|
}
|