Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(40)

Side by Side Diff: test/intl/extra-flag.js

Issue 1968893002: Remove certain non-standard properties from Intl (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix nit Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « test/intl/date-format/parse-mdy.js ('k') | test/intl/no-extra-flag.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Flags: --intl-extra
6
7 // Turning on the creates the non-standard properties
8
9 var dtf = new Intl.DateTimeFormat(['en']);
10 assertTrue('v8Parse' in dtf);
11 assertTrue('resolved' in dtf);
12 assertTrue(!!dtf.resolved && 'pattern' in dtf.resolved);
13
14 var nf = new Intl.NumberFormat(['en']);
15 assertTrue('v8Parse' in nf);
16 assertTrue('resolved' in nf);
17 assertTrue(!!nf.resolved && 'pattern' in nf.resolved);
18
19 var col = new Intl.Collator(['en']);
20 assertTrue('resolved' in col);
21
22 var br = new Intl.v8BreakIterator(['en']);
23 assertTrue('resolved' in br);
OLDNEW
« no previous file with comments | « test/intl/date-format/parse-mdy.js ('k') | test/intl/no-extra-flag.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698