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

Unified Diff: src/js/i18n.js

Issue 2733843002: test262 roll (Closed)
Patch Set: in a comment, s/gn/gyp Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « DEPS ('k') | test/test262/detachArrayBuffer.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/js/i18n.js
diff --git a/src/js/i18n.js b/src/js/i18n.js
index feb017aae9e5d82cc232c0de8777d7a1e8dedd5d..ef35922a03d9fe812c3a5faaf477db004cbf24da 100644
--- a/src/js/i18n.js
+++ b/src/js/i18n.js
@@ -1751,8 +1751,8 @@ function FormatDateToParts(dateValue) {
%FunctionSetLength(FormatDateToParts, 0);
-// 0 because date is optional argument.
-AddBoundMethod(GlobalIntlDateTimeFormat, 'format', formatDate, 0, 'dateformat',
+// Length is 1 as specified in ECMA 402 v2+
+AddBoundMethod(GlobalIntlDateTimeFormat, 'format', formatDate, 1, 'dateformat',
true);
« no previous file with comments | « DEPS ('k') | test/test262/detachArrayBuffer.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698