diff options
Diffstat (limited to 'js/src/tests/test262/intl402/ch12/12.2/12.2.2_b.js')
-rw-r--r-- | js/src/tests/test262/intl402/ch12/12.2/12.2.2_b.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/js/src/tests/test262/intl402/ch12/12.2/12.2.2_b.js b/js/src/tests/test262/intl402/ch12/12.2/12.2.2_b.js new file mode 100644 index 000000000..06bc8027e --- /dev/null +++ b/js/src/tests/test262/intl402/ch12/12.2/12.2.2_b.js @@ -0,0 +1,13 @@ +// Copyright 2013 Mozilla Corporation. All rights reserved. +// This code is governed by the license found in the LICENSE file. + +/** + * @description Tests that Intl.DateTimeFormat.supportedLocalesOf + * doesn't access arguments that it's not given. + * @author Norbert Lindenberg + */ + +$INCLUDE("testIntl.js"); + +taintDataProperty(Object.prototype, "1"); +new Intl.DateTimeFormat("und"); |