mirror of
https://github.com/tc39/test262.git
synced 2025-07-23 22:15:24 +02:00
More work on https://bugs.ecmascript.org/show_bug.cgi?id=294.
This commit is contained in:
parent
7201416d53
commit
4cebb176cf
@ -12,7 +12,8 @@
|
|||||||
|
|
||||||
var o = {
|
var o = {
|
||||||
get gNonStrict() {
|
get gNonStrict() {
|
||||||
return Object.getOwnPropertyDescriptor(o, "gNonStrict").get.caller;
|
var tmp = Object.getOwnPropertyDescriptor(o, "gNonStrict").get;
|
||||||
|
return tmp.caller || tmp.caller.throwTypeError;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -20,6 +20,6 @@ f();
|
|||||||
|
|
||||||
|
|
||||||
function gNonStrictBindee() {
|
function gNonStrictBindee() {
|
||||||
return gNonStrictBindee.caller;
|
return gNonStrictBindee.caller || gNonStrictBindee.caller.throwTypeError;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user