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

Side by Side Diff: test/intl/toStringTag.js

Issue 2586763002: [intl] Create the Intl constructors to C++ (Closed)
Patch Set: Fix factory references Created 3 years, 12 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
« src/bootstrapper.cc ('K') | « src/js/i18n.js ('k') | no next file » | 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 let descriptor;
6
7 descriptor = Object.getOwnPropertyDescriptor(Intl.DateTimeFormat.prototype, Symb ol.toStringTag);
Yang 2016/12/21 13:43:39 80char limit
8
9 assertEquals("Object", descriptor.value);
10 assertFalse(descriptor.writable);
11 assertFalse(descriptor.enumerable);
12 assertTrue(descriptor.configurable);
13
14 descriptor = Object.getOwnPropertyDescriptor(Intl.NumberFormat.prototype, Symbol .toStringTag);
15
16 assertEquals("Object", descriptor.value);
17 assertFalse(descriptor.writable);
18 assertFalse(descriptor.enumerable);
19 assertTrue(descriptor.configurable);
20
21 descriptor = Object.getOwnPropertyDescriptor(Intl.Collator.prototype, Symbol.toS tringTag);
22
23 assertEquals("Object", descriptor.value);
24 assertFalse(descriptor.writable);
25 assertFalse(descriptor.enumerable);
26 assertTrue(descriptor.configurable);
OLDNEW
« src/bootstrapper.cc ('K') | « src/js/i18n.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698