summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/realms/bug1479430.js
blob: a7bd9cc075bb9df1c943d08acc5c92ae777a6994 (plain)
1
2
3
4
5
6
function f(a) {
    return a.toString();
}
var g = newGlobal({sameCompartmentAs: this});
g.evaluate("function Obj() {}");
f(f(new g.Obj()));