From 720b0c8a4e407ba7f3b7fe706edefe8f7c3497d9 Mon Sep 17 00:00:00 2001 From: "rogerl%netscape.com" Date: Wed, 1 Mar 2000 23:28:14 +0000 Subject: [PATCH] Need to pass expressions containing unicode identifiers as split strings since the string processing will convert the unicode sequences into regular characters before the identifier is recognized. The fact that Monkey was cool with this is a separate bug. git-svn-id: svn://10.0.0.236/trunk@61998 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/js/tests/ecma_3/Unicode/uc-003.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/js/tests/ecma_3/Unicode/uc-003.js b/mozilla/js/tests/ecma_3/Unicode/uc-003.js index 3acedc78f38..fbc8627f030 100644 --- a/mozilla/js/tests/ecma_3/Unicode/uc-003.js +++ b/mozilla/js/tests/ecma_3/Unicode/uc-003.js @@ -43,9 +43,9 @@ function test() "Escaped non-ASCII Identifier test"); reportCompare (16, eval("++A\u03B2"), "Escaped non-ASCII Identifier test"); - reportCompare (25, eval("c\u0061se"), + reportCompare (25, eval("c\\u00" + "61se"), "Escaped keyword Identifier test"); - reportCompare (26, eval("++c\u0061se"), + reportCompare (26, eval("++c\\u00" + "61se"), "Escaped keyword Identifier test"); exitFunc ("test");