diff options
-rw-r--r-- | test/suite/ch15/15.3/15.3.5/15.3.5.4/15.3.5.4_2-96gs.js | 3 | ||||
-rw-r--r-- | test/suite/ch15/15.3/15.3.5/15.3.5.4/15.3.5.4_2-97gs.js | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/test/suite/ch15/15.3/15.3.5/15.3.5.4/15.3.5.4_2-96gs.js b/test/suite/ch15/15.3/15.3.5/15.3.5.4/15.3.5.4_2-96gs.js index f15fe3ae4..27562fada 100644 --- a/test/suite/ch15/15.3/15.3.5/15.3.5.4/15.3.5.4_2-96gs.js +++ b/test/suite/ch15/15.3/15.3.5/15.3.5.4/15.3.5.4_2-96gs.js @@ -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;
}
};
diff --git a/test/suite/ch15/15.3/15.3.5/15.3.5.4/15.3.5.4_2-97gs.js b/test/suite/ch15/15.3/15.3.5/15.3.5.4/15.3.5.4_2-97gs.js index 940156955..30b57a589 100644 --- a/test/suite/ch15/15.3/15.3.5/15.3.5.4/15.3.5.4_2-97gs.js +++ b/test/suite/ch15/15.3/15.3.5/15.3.5.4/15.3.5.4_2-97gs.js @@ -20,6 +20,6 @@ f(); function gNonStrictBindee() {
- return gNonStrictBindee.caller;
+ return gNonStrictBindee.caller || gNonStrictBindee.caller.throwTypeError;
}
|