Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
debug
/
Environment-Function-prototype.js
blob: 9ba64a26cfb457d57eccc2da46ba4d127ca98cbd [
file
] [
log
] [
blame
]
// Don't crash when getting the Debugger.Environment of a frame inside
// Function.prototype.
var
g
=
newGlobal
();
var
dbg
=
new
Debugger
(
g
);
dbg
.
onEnterFrame
=
function
(
frame
)
{
frame
.
environment
;
};
g
.
Function
.
prototype
();