Sign in
cobalt
/
cobalt
/
e77c070364e97b7a7deea396227c08805cb9e66d
/
.
/
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());