This commit is contained in:
David Fugate 2012-03-14 15:42:02 -07:00
parent 7201416d53
commit 4cebb176cf
2 changed files with 3 additions and 2 deletions

View File

@ -12,7 +12,8 @@
var o = {
get gNonStrict() {
return Object.getOwnPropertyDescriptor(o, "gNonStrict").get.caller;
var tmp = Object.getOwnPropertyDescriptor(o, "gNonStrict").get;
return tmp.caller || tmp.caller.throwTypeError;
}
};

View File

@ -20,6 +20,6 @@ f();
function gNonStrictBindee() {
return gNonStrictBindee.caller;
return gNonStrictBindee.caller || gNonStrictBindee.caller.throwTypeError;
}