summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/intl402/ch08/8.0/8.0.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/intl402/ch08/8.0/8.0.js')
-rw-r--r--js/src/tests/test262/intl402/ch08/8.0/8.0.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/js/src/tests/test262/intl402/ch08/8.0/8.0.js b/js/src/tests/test262/intl402/ch08/8.0/8.0.js
new file mode 100644
index 000000000..dedda973b
--- /dev/null
+++ b/js/src/tests/test262/intl402/ch08/8.0/8.0.js
@@ -0,0 +1,12 @@
+// Copyright 2013 Mozilla Corporation. All rights reserved.
+// This code is governed by the license found in the LICENSE file.
+
+/**
+ * @description Tests that Intl has Object.prototype as its prototype.
+ * @author Norbert Lindenberg
+ */
+
+if (Object.getPrototypeOf(Intl) !== Object.prototype) {
+ $ERROR("Intl doesn't have Object.prototype as its prototype.");
+}
+