diff options
Diffstat (limited to 'test/suite/intl402/ch12/12.3/12.3.2_TLT_2.js')
-rw-r--r-- | test/suite/intl402/ch12/12.3/12.3.2_TLT_2.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/suite/intl402/ch12/12.3/12.3.2_TLT_2.js b/test/suite/intl402/ch12/12.3/12.3.2_TLT_2.js new file mode 100644 index 000000000..bf0a8ed36 --- /dev/null +++ b/test/suite/intl402/ch12/12.3/12.3.2_TLT_2.js @@ -0,0 +1,16 @@ +// Copyright 2012 Mozilla Corporation. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/** + * @description Tests that the behavior of a Record is not affected by adversarial + * changes to Object.prototype. + * @author Norbert Lindenberg + */ + +$INCLUDE("testIntl.js"); + +taintProperties(["weekday", "era", "year", "month", "day", "hour", "minute", "second", "inDST"]); + +var format = new Intl.DateTimeFormat(); +var time = format.format(); + |