From 7e7ebe85f23265ab38ca92135e563c55e2794df6 Mon Sep 17 00:00:00 2001 From: David Fugate Date: Fri, 13 Jan 2012 13:31:45 -0800 Subject: https://bugs.ecmascript.org/show_bug.cgi?id=60 --- test/config/excludelist.xml | 14 +------------- .../ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A1_T1.js | 8 +++++++- .../ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A2_T1.js | 8 +++++++- 3 files changed, 15 insertions(+), 15 deletions(-) (limited to 'test') 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 @@ Used this Using this pointer Using this pointer, intented for Global object - - - + https://bugs.ecmascript.org/show_bug.cgi?id=61 https://bugs.ecmascript.org/show_bug.cgi?id=61 https://bugs.ecmascript.org/show_bug.cgi?id=61 @@ -81,7 +72,4 @@ https://bugs.ecmascript.org/show_bug.cgi?id=69 - https://bugs.ecmascript.org/show_bug.cgi?id=60 - https://bugs.ecmascript.org/show_bug.cgi?id=60 - 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 -- cgit v1.2.3