aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Fugate <dfugate@microsoft.com>2012-01-13 13:31:45 -0800
committerDavid Fugate <dfugate@microsoft.com>2012-01-13 13:31:45 -0800
commit7e7ebe85f23265ab38ca92135e563c55e2794df6 (patch)
treeca04c1f5dedf12caadbb5e59d6353963732e8db4 /test
parente394b5036427394f0c64c770775c70dff92d7ce8 (diff)
https://bugs.ecmascript.org/show_bug.cgi?id=60
Diffstat (limited to 'test')
-rw-r--r--test/config/excludelist.xml14
-rw-r--r--test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A1_T1.js8
-rw-r--r--test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A2_T1.js8
3 files changed, 15 insertions, 15 deletions
diff --git a/test/config/excludelist.xml b/test/config/excludelist.xml
index ae4eebe43..c3b8a518c 100644
--- a/test/config/excludelist.xml
+++ b/test/config/excludelist.xml
@@ -62,16 +62,7 @@
<test id="S12.2_A9">Used this</test>
<test id="S15.5.1.1_A1_T9">Using this pointer</test>
<test id="S10.1.7_A1_T1">Using this pointer, intented for Global object</test>
-
- <!--
- <test id="S15.9.3.1_A5_T1">https://bugs.ecmascript.org/show_bug.cgi?id=11</test>
- <test id="S15.9.3.1_A5_T2">https://bugs.ecmascript.org/show_bug.cgi?id=11</test>
- <test id="S15.9.3.1_A5_T3">https://bugs.ecmascript.org/show_bug.cgi?id=11</test>
- <test id="S15.9.3.1_A5_T4">https://bugs.ecmascript.org/show_bug.cgi?id=11</test>
- <test id="S15.9.3.1_A5_T5">https://bugs.ecmascript.org/show_bug.cgi?id=11</test>
- <test id="S15.9.3.1_A5_T6">https://bugs.ecmascript.org/show_bug.cgi?id=11</test>
- -->
-
+
<test id="S15.5.4.14_A1_T6">https://bugs.ecmascript.org/show_bug.cgi?id=61</test>
<test id="S15.5.4.14_A1_T7">https://bugs.ecmascript.org/show_bug.cgi?id=61</test>
<test id="S15.5.4.14_A2_T7">https://bugs.ecmascript.org/show_bug.cgi?id=61</test>
@@ -81,7 +72,4 @@
<test id="15.4.4.4-5-c-i-1">https://bugs.ecmascript.org/show_bug.cgi?id=69</test>
- <test id="S15.10.2.12_A1_T1">https://bugs.ecmascript.org/show_bug.cgi?id=60</test>
- <test id="S15.10.2.12_A2_T1">https://bugs.ecmascript.org/show_bug.cgi?id=60</test>
-
</excludeList>
diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A1_T1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A1_T1.js
index 9ea59653d..482e089d5 100644
--- a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A1_T1.js
+++ b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A1_T1.js
@@ -514,10 +514,16 @@ if (i62.replace(/\s+/g, "") !== o62) {
}
var i63 = "";
-for (var j = 64512; j < 65536; j++)
+for (var j = 64512; j < 65536; j++) {
+ if (j===65279) { continue;} //Ignore BOM
i63 += String.fromCharCode(j);
+}
var o63 = i63;
if (i63.replace(/\s+/g, "") !== o63) {
$ERROR("#63: Error matching character class \s between character fc00 and ffff");
}
+var i64 = String.fromCharCode(65279);
+if (i64.replace(/\s/g, "") !== "") {
+ $ERROR("#64: Error matching character class \s for BOM (feff)");
+} \ No newline at end of file
diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A2_T1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A2_T1.js
index d688578e9..36a45391b 100644
--- a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A2_T1.js
+++ b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A2_T1.js
@@ -515,10 +515,16 @@ if (i62.replace(/\S+/g, "") !== o62) {
}
var i63 = "";
-for (var j = 64512; j < 65536; j++)
+for (var j = 64512; j < 65536; j++) {
+ if (j===65279) { continue;} //Ignore BOM
i63 += String.fromCharCode(j);
+}
var o63 = "";
if (i63.replace(/\S+/g, "") !== o63) {
$ERROR("#63: Error matching character class \S between character fc00 and ffff");
}
+var i64 = String.fromCharCode(65279);
+if (i64.replace(/\S/g, "") === "") {
+ $ERROR("#64: Error matching character class \S for BOM (feff)");
+} \ No newline at end of file