| OLD | NEW |
| (Empty) |
| 1 This is a test case for bug 64677. | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 4 | |
| 5 | |
| 6 PASS String.prototype.toString.call(undefined) threw exception TypeError: Type e
rror. | |
| 7 PASS String.prototype.valueOf.call(undefined) threw exception TypeError: Type er
ror. | |
| 8 PASS String.prototype.charAt.call(undefined, 0) threw exception TypeError: Type
error. | |
| 9 PASS String.prototype.charCodeAt.call(undefined, 0) threw exception TypeError: T
ype error. | |
| 10 PASS String.prototype.concat.call(undefined, 'five') threw exception TypeError:
Type error. | |
| 11 PASS String.prototype.indexOf.call(undefined, '2') threw exception TypeError: Ty
pe error. | |
| 12 PASS String.prototype.lastIndexOf.call(undefined, '2') threw exception TypeError
: Type error. | |
| 13 PASS String.prototype.match.call(undefined, /2+/) threw exception TypeError: Typ
e error. | |
| 14 PASS String.prototype.replace.call(undefined, /2+/, '-') threw exception TypeErr
or: Type error. | |
| 15 PASS String.prototype.search.call(undefined, '4') threw exception TypeError: Typ
e error. | |
| 16 PASS String.prototype.slice.call(undefined, 1, 3) threw exception TypeError: Typ
e error. | |
| 17 PASS String.prototype.split.call(undefined, '2') threw exception TypeError: Type
error. | |
| 18 PASS String.prototype.slice.call(undefined, 1, 3) threw exception TypeError: Typ
e error. | |
| 19 PASS String.prototype.substr.call(undefined, 1, 3) threw exception TypeError: Ty
pe error. | |
| 20 PASS String.prototype.substring.call(undefined, 1, 3) threw exception TypeError:
Type error. | |
| 21 PASS String.prototype.toLowerCase.call(undefined) threw exception TypeError: Typ
e error. | |
| 22 PASS String.prototype.toUpperCase.call(undefined) threw exception TypeError: Typ
e error. | |
| 23 PASS String.prototype.localeCompare.call(undefined, '1224') threw exception Type
Error: Type error. | |
| 24 PASS String.prototype.toLocaleLowerCase.call(undefined) threw exception TypeErro
r: Type error. | |
| 25 PASS String.prototype.toLocaleUpperCase.call(undefined) threw exception TypeErro
r: Type error. | |
| 26 PASS String.prototype.trim.call(undefined) threw exception TypeError: Type error
. | |
| 27 PASS String.prototype.toString.call(1224) threw exception TypeError: Type error. | |
| 28 PASS String.prototype.valueOf.call(1224) threw exception TypeError: Type error. | |
| 29 PASS String.prototype.charAt.call(1224, 0) is "1" | |
| 30 PASS String.prototype.charCodeAt.call(1224, 0) is 0x31 | |
| 31 PASS String.prototype.concat.call(1224, 'five') is "1224five" | |
| 32 PASS String.prototype.indexOf.call(1224, '2') is 1 | |
| 33 PASS String.prototype.lastIndexOf.call(1224, '2') is 2 | |
| 34 PASS String.prototype.match.call(1224, /2+/) is ["22"] | |
| 35 PASS String.prototype.replace.call(1224, /2+/, '-') is "1-4" | |
| 36 PASS String.prototype.search.call(1224, '4') is 3 | |
| 37 PASS String.prototype.slice.call(1224, 1, 3) is "22" | |
| 38 PASS String.prototype.split.call(1224, '2') is ["1","","4"] | |
| 39 PASS String.prototype.slice.call(1224, 1, 3) is "22" | |
| 40 PASS String.prototype.substr.call(1224, 1, 3) is "224" | |
| 41 PASS String.prototype.substring.call(1224, 1, 3) is "22" | |
| 42 PASS String.prototype.toLowerCase.call(1224) is "1224" | |
| 43 PASS String.prototype.toUpperCase.call(1224) is "1224" | |
| 44 PASS String.prototype.localeCompare.call(1224, '1224') is 0 | |
| 45 PASS String.prototype.toLocaleLowerCase.call(1224) is "1224" | |
| 46 PASS String.prototype.toLocaleUpperCase.call(1224) is "1224" | |
| 47 PASS String.prototype.trim.call(1224) is "1224" | |
| 48 PASS successfullyParsed is true | |
| 49 | |
| 50 TEST COMPLETE | |
| 51 | |
| OLD | NEW |