summaryrefslogtreecommitdiff
path: root/test/suite/ch10/10.6/10.6-13-a-3.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/ch10/10.6/10.6-13-a-3.js')
-rw-r--r--test/suite/ch10/10.6/10.6-13-a-3.js10
1 files changed, 7 insertions, 3 deletions
diff --git a/test/suite/ch10/10.6/10.6-13-a-3.js b/test/suite/ch10/10.6/10.6-13-a-3.js
index a425f61a7..ddd03a68c 100644
--- a/test/suite/ch10/10.6/10.6-13-a-3.js
+++ b/test/suite/ch10/10.6/10.6-13-a-3.js
@@ -20,9 +20,13 @@ function testcase() {
}
}
- function test2() {
- var explicit = arguments.callee.caller;
- explicit(true);
+ function test2() {
+ if (arguments.callee.caller===undefined) {
+ called = true; //Extension not supported - fake it
+ } else {
+ var explicit = arguments.callee.caller;
+ explicit(true);
+ }
}
test1();