OLD | NEW |
| (Empty) |
1 This test checks the names of all sorts of different functions. | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 PASS new Function(' return 1; ').toString().replace(/[ \n]+/g, ' ') is 'function
anonymous() { return 1; }' | |
7 PASS document.documentElement.onclick.toString().replace(/[ \n]+/g, ' ') is 'fun
ction onclick(event) { return 2; }' | |
8 PASS ''.constructor is String | |
9 PASS Boolean.toString() is 'function Boolean() {\n [native code]\n}' | |
10 PASS Date.toString() is 'function Date() {\n [native code]\n}' | |
11 PASS Error.toString() is 'function Error() {\n [native code]\n}' | |
12 PASS EvalError.toString() is 'function EvalError() {\n [native code]\n}' | |
13 PASS Function.toString() is 'function Function() {\n [native code]\n}' | |
14 PASS Number.toString() is 'function Number() {\n [native code]\n}' | |
15 PASS Object.toString() is 'function Object() {\n [native code]\n}' | |
16 PASS RangeError.toString() is 'function RangeError() {\n [native code]\n}' | |
17 PASS ReferenceError.toString() is 'function ReferenceError() {\n [native code
]\n}' | |
18 PASS RegExp.toString() is 'function RegExp() {\n [native code]\n}' | |
19 PASS String.toString() is 'function String() {\n [native code]\n}' | |
20 PASS SyntaxError.toString() is 'function SyntaxError() {\n [native code]\n}' | |
21 PASS TypeError.toString() is 'function TypeError() {\n [native code]\n}' | |
22 PASS URIError.toString() is 'function URIError() {\n [native code]\n}' | |
23 PASS successfullyParsed is true | |
24 | |
25 TEST COMPLETE | |
26 | |
OLD | NEW |