summaryrefslogtreecommitdiff
path: root/test/suite/ch10/10.6/10.6-13-a-2.js
diff options
context:
space:
mode:
authorDavid Fugate <dfugate@microsoft.com>2012-03-27 09:27:57 -0700
committerDavid Fugate <dfugate@microsoft.com>2012-03-27 09:27:57 -0700
commit343b639798a233dbfe19dc2fe37471bc70b4accc (patch)
tree582c7c872cf491fce523ea4de86f2f0123ee7bd4 /test/suite/ch10/10.6/10.6-13-a-2.js
parent3c96d5835061bd7c572689060dcde68f1e0641f7 (diff)
downloadtest262-343b639798a233dbfe19dc2fe37471bc70b4accc.tar.gz
Fixed https://bugs.ecmascript.org/show_bug.cgi?id=288.
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.js8
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();