summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/statements/function/S13.2_A6_T2-strict.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/language/statements/function/S13.2_A6_T2-strict.js')
-rw-r--r--js/src/tests/test262/language/statements/function/S13.2_A6_T2-strict.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/js/src/tests/test262/language/statements/function/S13.2_A6_T2-strict.js b/js/src/tests/test262/language/statements/function/S13.2_A6_T2-strict.js
new file mode 100644
index 0000000000..b4fa421bf7
--- /dev/null
+++ b/js/src/tests/test262/language/statements/function/S13.2_A6_T2-strict.js
@@ -0,0 +1,15 @@
+'use strict';
+// Copyright 2011 Google Inc. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+es5id: 13.2_A6_T2
+description: >
+ check if "arguments" poisoning poisons getOwnPropertyDescriptor
+ too
+flags: [onlyStrict]
+---*/
+
+Object.getOwnPropertyDescriptor(function(){}, 'arguments');
+
+reportCompare(0, 0);