summaryrefslogtreecommitdiff
path: root/js/src/tests/js1_8_5/shell.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/js1_8_5/shell.js')
-rw-r--r--js/src/tests/js1_8_5/shell.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/js/src/tests/js1_8_5/shell.js b/js/src/tests/js1_8_5/shell.js
new file mode 100644
index 0000000..3eaba4f
--- /dev/null
+++ b/js/src/tests/js1_8_5/shell.js
@@ -0,0 +1,14 @@
+/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * Any copyright is dedicated to the Public Domain.
+ * http://creativecommons.org/licenses/publicdomain/
+ */
+
+
+// explicitly turn on js185
+// XXX: The browser currently only supports up to version 1.8
+if (typeof version != 'undefined')
+{
+ version(185);
+}
+