summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/self-hosting/define-value-property.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/self-hosting/define-value-property.js')
-rw-r--r--js/src/jit-test/tests/self-hosting/define-value-property.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/self-hosting/define-value-property.js b/js/src/jit-test/tests/self-hosting/define-value-property.js
new file mode 100644
index 000000000..b5ffebde2
--- /dev/null
+++ b/js/src/jit-test/tests/self-hosting/define-value-property.js
@@ -0,0 +1,8 @@
+// These tests just mustn't trigger asserts.
+if (!this.hasOwnProperty('Intl'))
+ quit();
+
+Object.prototype.get = 5;
+new Intl.Collator().resolvedOptions();
+
+Intl.DateTimeFormat.supportedLocalesOf('en');