summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/suite/intl402/ch06/6.4/6.4_c.js2
-rw-r--r--tools/packaging/templates/runner.intl402.html8
-rw-r--r--website/json/intl402.json2
-rw-r--r--website/json/suiteDescrip.json2
-rw-r--r--website/testcases_intl402.html8
5 files changed, 15 insertions, 7 deletions
diff --git a/test/suite/intl402/ch06/6.4/6.4_c.js b/test/suite/intl402/ch06/6.4/6.4_c.js
index 75bcdbd80..a9969b648 100644
--- a/test/suite/intl402/ch06/6.4/6.4_c.js
+++ b/test/suite/intl402/ch06/6.4/6.4_c.js
@@ -24,7 +24,7 @@ Object.getOwnPropertyNames(additionalTimeZoneNames).forEach(function (name) {
}
if (error === undefined) {
var actual = format.resolvedOptions().timeZone;
- var expected = additionalTimeZoneNames.name;
+ var expected = additionalTimeZoneNames[name];
if (actual !== expected) {
$ERROR("Time zone name " + name + " was accepted, but incorrectly canonicalized to " +
actual + "; expected " + expected + ".");
diff --git a/tools/packaging/templates/runner.intl402.html b/tools/packaging/templates/runner.intl402.html
index a4b1695bb..11f8321f0 100644
--- a/tools/packaging/templates/runner.intl402.html
+++ b/tools/packaging/templates/runner.intl402.html
@@ -68,8 +68,12 @@
<p class="headers">What is the ECMAScript Internationalization API?</p>
<p class="content">The ECMAScript Internationalization API is a complement to the ECMAScript Language Specification, 5.1 edition.
It enables internationalization of JavaScript applications by providing collation (string comparison), number formatting, and date and time formatting, and lets applications choose the language and tailor the functionality to their needs.
- The specification is currently under development and likely to become standard ECMA-402.
- Current drafts of the specification are available on the <a href='javascript:void(window.open("http://wiki.ecmascript.org/doku.php?id=globalization:specification_drafts"));'>ECMAScript web site</a>.</p>
+ The ECMAScript Internationalization API Specification 1.0 was approved as an official Ecma standard by the Ecma General Assembly in December 2012.
+ The ECMAScript Internationalization 1.0 standard is available in
+ <a href='javascript:void(window.open("http://www.ecma-international.org/ecma-402/1.0/ECMA-402.pdf"));'>PDF</a>,
+ <a href='javascript:void(window.open("http://www.ecma-international.org/ecma-402/1.0/"));'>HTML</a>, and
+ <a href='javascript:void(window.open("http://www.ecma-international.org/ecma-402/1.0/ECMA-402.epub"));'>EPUB</a>
+ versions from the Ecma International web site.</p>
<p class="headers">What is ECMAScript?</p>
<p class="content">"ECMAScript" is the name under which the language more commonly known as "JavaScript" is standardized. Development of the ECMAScript standard is the responsibility of <a href='javascript:void(window.open("http://www.ecma-international.org/memento/TC39.htm"));'>Technical Committee 39 (TC39)</a> of <a href='javascript:void(window.open("http://www.ecma-international.org/"));'>Ecma International</a>.
The ECMAScript Language Specification standard is officially known as ECMA-262.
diff --git a/website/json/intl402.json b/website/json/intl402.json
index c653e4d4d..f34c27505 100644
--- a/website/json/intl402.json
+++ b/website/json/intl402.json
@@ -68,7 +68,7 @@
},
{
"author":"Norbert Lindenberg",
-"code":"Ly8gQ29weXJpZ2h0IDIwMTIgTW96aWxsYSBDb3Jwb3JhdGlvbi4gQWxsIHJpZ2h0cyByZXNlcnZlZC4KLyoqCiAqIEBkZXNjcmlwdGlvbiBUZXN0cyB0aGF0IGFkZGl0aW9uYWwgdGltZSB6b25lIG5hbWVzLCBpZiBhY2NlcHRlZCwgYXJlIGhhbmRsZWQgY29ycmVjdGx5LgogKiBAYXV0aG9yIE5vcmJlcnQgTGluZGVuYmVyZwogKi8KCi8vIGNhbm9uaWNhbGl6YXRpb24gc3BlY2lmaWVkIGluIGNvbmZvcm1hbmNlIGNsYXVzZQp2YXIgYWRkaXRpb25hbFRpbWVab25lTmFtZXMgPSB7CiAgICAiRXRjL0dNVCI6ICJVVEMiLAogICAgIkdyZWVud2ljaCI6ICJVVEMiLAogICAgIlBSQyI6ICJBc2lhL1NoYW5naGFpIiwKICAgICJBbUVySWNBL0xvU19hTmdFbEVzIjogIkFtZXJpY2EvTG9zX0FuZ2VsZXMiLAogICAgImV0Yy9nbXQrNyI6ICJFdGMvR01UKzciCn07CgpPYmplY3QuZ2V0T3duUHJvcGVydHlOYW1lcyhhZGRpdGlvbmFsVGltZVp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ICAgfQogICAgfSBlbHNlIGlmIChlcnJvci5uYW1lICE9PSAiUmFuZ2VFcnJvciIpIHsKICAgICAgICAkRVJST1IoIlRpbWUgem9uZSBuYW1lICIgKyBuYW1lICsgIiB3YXMgcmVqZWN0ZWQgd2l0aCB3cm9uZyBlcnJvciAiICsgZXJyb3IubmFtZSArICIuIik7CiAgICB9Cn0pOwoK",
"commentary":"",
"description":"Tests that additional time zone names, if accepted, are handled correctly.",
"path":"TestCases/intl402/ch06/6.4/6.4_c.js"
diff --git a/website/json/suiteDescrip.json b/website/json/suiteDescrip.json
index f3c489a00..6e8df4c9c 100644
--- a/website/json/suiteDescrip.json
+++ b/website/json/suiteDescrip.json
@@ -1 +1 @@
-{"date":"2012-11-05","version":"ES5.1"} \ No newline at end of file
+{"date":"2012-12-17","version":"ES5.1"} \ No newline at end of file
diff --git a/website/testcases_intl402.html b/website/testcases_intl402.html
index 376f3a215..c2ffed526 100644
--- a/website/testcases_intl402.html
+++ b/website/testcases_intl402.html
@@ -68,8 +68,12 @@
<p class="headers">What is the ECMAScript Internationalization API?</p>
<p class="content">The ECMAScript Internationalization API is a complement to the ECMAScript Language Specification, 5.1 edition.
It enables internationalization of JavaScript applications by providing collation (string comparison), number formatting, and date and time formatting, and lets applications choose the language and tailor the functionality to their needs.
- The specification is currently under development and likely to become standard ECMA-402.
- Current drafts of the specification are available on the <a href='javascript:void(window.open("http://wiki.ecmascript.org/doku.php?id=globalization:specification_drafts"));'>ECMAScript web site</a>.</p>
+ The ECMAScript Internationalization API Specification 1.0 was approved as an official Ecma standard by the Ecma General Assembly in December 2012.
+ The ECMAScript Internationalization 1.0 standard is available in
+ <a href='javascript:void(window.open("http://www.ecma-international.org/ecma-402/1.0/ECMA-402.pdf"));'>PDF</a>,
+ <a href='javascript:void(window.open("http://www.ecma-international.org/ecma-402/1.0/"));'>HTML</a>, and
+ <a href='javascript:void(window.open("http://www.ecma-international.org/ecma-402/1.0/ECMA-402.epub"));'>EPUB</a>
+ versions from the Ecma International web site.</p>
<p class="headers">What is ECMAScript?</p>
<p class="content">"ECMAScript" is the name under which the language more commonly known as "JavaScript" is standardized. Development of the ECMAScript standard is the responsibility of <a href='javascript:void(window.open("http://www.ecma-international.org/memento/TC39.htm"));'>Technical Committee 39 (TC39)</a> of <a href='javascript:void(window.open("http://www.ecma-international.org/"));'>Ecma International</a>.
The ECMAScript Language Specification standard is officially known as ECMA-262.