Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
ion
/
bug825705.js
blob: ebd30c21c89f291d11f1adb73227a9b8d2f5c153 [
file
] [
log
] [
blame
]
// Test 1: When constructing x, we shouldn't take the prototype for this.
// it will crash if that happens
evalcx
(
"
\
var
x
=
newGlobal
().
Object
;
\
function
f
()
{
return
new
x
;
}
\
f
();
\
f
();
\
", newGlobal());