summaryrefslogtreecommitdiffstats
path: root/js/src/tests/js1_8_5/extensions/regress-558541.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/js1_8_5/extensions/regress-558541.js')
-rw-r--r--js/src/tests/js1_8_5/extensions/regress-558541.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/js/src/tests/js1_8_5/extensions/regress-558541.js b/js/src/tests/js1_8_5/extensions/regress-558541.js
new file mode 100644
index 000000000..a6a40037a
--- /dev/null
+++ b/js/src/tests/js1_8_5/extensions/regress-558541.js
@@ -0,0 +1,12 @@
+/* -*- indent-tabs-mode: nil; js-indent-level: 4 -*- */
+/*
+ * Any copyright is dedicated to the Public Domain.
+ * http://creativecommons.org/licenses/publicdomain/
+ * Contributor: Jeff Walden <jwalden+code@mit.edu>
+ */
+
+options("strict");
+for (var i = 0; i < 5; i++)
+ Boolean.prototype = 42;
+
+reportCompare(true, true);