diff options
Diffstat (limited to 'test/suite/ch10/10.6/10.6-13-a-2.js')
-rw-r--r-- | test/suite/ch10/10.6/10.6-13-a-2.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/suite/ch10/10.6/10.6-13-a-2.js b/test/suite/ch10/10.6/10.6-13-a-2.js index 290aede89..b68171258 100644 --- a/test/suite/ch10/10.6/10.6-13-a-2.js +++ b/test/suite/ch10/10.6/10.6-13-a-2.js @@ -20,8 +20,12 @@ function testcase() { }
}
- function test2() {
- arguments.callee.caller(true);
+ function test2() {
+ if(arguments.callee.caller===undefined) {
+ called=true; // Extension not supported - fake it
+ } else {
+ arguments.callee.caller(true);
+ }
}
test1();
|