| OLD | NEW |
| 1 This is a test case for String.prototype.fontcolor(color). | 1 This is a test case for String.prototype.fontcolor(color). |
| 2 | 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 4 |
| 5 | 5 |
| 6 PASS '_'.fontcolor('b') is "<font color=\"b\">_</font>" | 6 PASS '_'.fontcolor('b') is "<font color=\"b\">_</font>" |
| 7 PASS '<'.fontcolor('b') is "<font color=\"b\"><</font>" | 7 PASS '<'.fontcolor('b') is "<font color=\"b\"><</font>" |
| 8 PASS '_'.fontcolor(0x2A) is "<font color=\"42\">_</font>" | 8 PASS '_'.fontcolor(0x2A) is "<font color=\"42\">_</font>" |
| 9 PASS '_'.fontcolor('"') is "<font color=\""\">_</font>" | 9 PASS '_'.fontcolor('"') is "<font color=\""\">_</font>" |
| 10 PASS '_'.fontcolor('" size="2px') is "<font color=\"" size="2px\">_</f
ont>" | 10 PASS '_'.fontcolor('" size="2px') is "<font color=\"" size="2px\">_</f
ont>" |
| 11 PASS String.prototype.fontcolor.call(0x2A, 0x2A) is "<font color=\"42\">42</font
>" | 11 PASS String.prototype.fontcolor.call(0x2A, 0x2A) is "<font color=\"42\">42</font
>" |
| 12 PASS String.prototype.fontcolor.call(undefined) threw exception TypeError: Type
error. | 12 FAIL String.prototype.fontcolor.call(undefined) should throw TypeError: Type err
or. Was <font color="undefined">undefined</font>. |
| 13 PASS String.prototype.fontcolor.call(null) threw exception TypeError: Type error
. | 13 FAIL String.prototype.fontcolor.call(null) should throw TypeError: Type error. W
as <font color="undefined">null</font>. |
| 14 PASS String.prototype.fontcolor.length is 1 | 14 PASS String.prototype.fontcolor.length is 1 |
| 15 PASS successfullyParsed is true | 15 PASS successfullyParsed is true |
| 16 | 16 |
| 17 TEST COMPLETE | 17 TEST COMPLETE |
| 18 | 18 |
| OLD | NEW |