blob: f4e07e67b5503f8c62cc0a0042a48a4bf3c19fbf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// |reftest| shell-option(--enable-shadow-realms) skip-if(!xulRuntime.shell)
var sr = new ShadowRealm();
var w = wrapWithProto(sr, null);
var r = ShadowRealm.prototype.evaluate.call(w, `"ok"`);
assertEq(r, "ok");
if (typeof reportCompare === 'function')
reportCompare(true, true);
|