Permalink
Browse files

Bug 712519 - Update test file encodings; r=rwalden

Since we switched to using JS_CompileUTF8File in the shell, all of our tests
that include comments with non-UTF-8 encoded characters fail.  This patch
replaces these characters with their UTF-8 equivalents.

--HG--
extra : rebase_source : 4090e824320a329e989cffb61b3eb3c421a1bbd7
  • Loading branch information...
1 parent 3db91c7 commit 7e84c536a8a7a7821759b4c1bc1381bcea9369e1 Terrence Cole committed Dec 22, 2011
@@ -42,7 +42,7 @@
* SUMMARY: Applying Function.prototype.call to the Function object itself
*
*
- * ECMA-262 15.3.4.4 Function.prototype.call (thisArg [,arg1 [,arg2,…] ] )
+ * ECMA-262 15.3.4.4 Function.prototype.call (thisArg [,arg1 [,arg2,…] ] )
*
* When applied to the Function object itself, thisArg should be ignored.
* As explained by Waldemar (waldemar@netscape.com):
@@ -47,7 +47,7 @@
* js> function f\u02B1 () {}
*
* js> f\u02B1.toSource();
- * function f¦() {}
+ * function f¦() {}
*
* js> f\u02B1.toSource().toSource();
* (new String("function f\xB1() {}"))
@@ -58,7 +58,7 @@
*
* js> f\u02B1.toString();
*
- * function f¦() {
+ * function f¦() {
* }
*
* js> f\u02B1.toString().toSource();
@@ -649,10 +649,10 @@ function productList(catID,famID) {
case 9 : // Storage Devices
switch(parseInt(famID)) {
- case 259 : // DVD±RW Drive
- try { addBoxItem(document.Support_Form.Product_ID, 'DVD±RW Dual 8X', '9599'); } catch(e) {addBoxItem(document.Support_Form.Product_ID, '1', '2'); } //
+ case 259 : // DVD±RW Drive
+ try { addBoxItem(document.Support_Form.Product_ID, 'DVD±RW Dual 8X', '9599'); } catch(e) {addBoxItem(document.Support_Form.Product_ID, '1', '2'); } //
- try { addBoxItem(document.Support_Form.Product_ID, 'DVD±RW Dual 8x8', '10305'); } catch(e) {addBoxItem(document.Support_Form.Product_ID, '1', '2'); } //
+ try { addBoxItem(document.Support_Form.Product_ID, 'DVD±RW Dual 8x8', '10305'); } catch(e) {addBoxItem(document.Support_Form.Product_ID, '1', '2'); } //
try { addBoxItem(document.Support_Form.Product_ID, 'DVD+RW Dual External 8x8', '10583'); } catch(e) {addBoxItem(document.Support_Form.Product_ID, '1', '2'); } //
@@ -19,7 +19,7 @@
* Portions created by the Initial Developer are Copyright (C) 2008
* the Initial Developer. All Rights Reserved.
*
- * Contributor(s): László Jánszky
+ * Contributor(s): László Jánszky
* Andrei Saprykin
*
* Alternatively, the contents of this file may be used under the terms of
@@ -47,7 +47,7 @@
* js> function f\u02B1 () {}
*
* js> f\u02B1.toSource();
- * function f¦() {}
+ * function f¦() {}
*
* js> f\u02B1.toSource().toSource();
* (new String("function f\xB1() {}"))
@@ -58,7 +58,7 @@
*
* js> f\u02B1.toString();
*
- * function f¦() {
+ * function f¦() {
* }
*
* js> f\u02B1.toString().toSource();
@@ -55,12 +55,12 @@ writeHeaderToLog('Executing script: control_characters.js');
writeHeaderToLog( SECTION + " "+ TITLE);
-// 'àOÐ ê:i¢Ø'.match(new RegExp('.+'))
-new TestCase ( SECTION, "'àOÐ ê:i¢Ø'.match(new RegExp('.+'))",
- String(['àOÐ ê:i¢Ø']), String('àOÐ ê:i¢Ø'.match(new RegExp('.+'))));
+// 'àOÐ ê:i¢Ø'.match(new RegExp('.+'))
+new TestCase ( SECTION, "'àOÐ ê:i¢Ø'.match(new RegExp('.+'))",
+ String(['àOÐ ê:i¢Ø']), String('àOÐ ê:i¢Ø'.match(new RegExp('.+'))));
// string1.match(new RegExp(string1))
-var string1 = 'àOÐ ê:i¢Ø';
+var string1 = 'àOÐ ê:i¢Ø';
new TestCase ( SECTION, "string1 = " + string1 + " string1.match(string1)",
String([string1]), String(string1.match(string1)));
@@ -19,7 +19,7 @@
* Portions created by the Initial Developer are Copyright (C) 2007
* the Initial Developer. All Rights Reserved.
*
- * Contributor(s): László Jánszky
+ * Contributor(s): László Jánszky
* Brendan Eich
*
* Alternatively, the contents of this file may be used under the terms of
@@ -19,7 +19,7 @@
* Portions created by the Initial Developer are Copyright (C) 2005
* the Initial Developer. All Rights Reserved.
*
- * Contributor(s): Georg Maaß <georg@bioshop.de>
+ * Contributor(s): Georg Maaß <georg@bioshop.de>
* Bob Clary <bob@bclary.com>
*
* Alternatively, the contents of this file may be used under the terms of

0 comments on commit 7e84c53

Please sign in to comment.