OLD | NEW |
1 This page tests var declarations that attempt to shadow interesting global prope
rties in interesting ways. Bug 16644. | 1 This page tests var declarations that attempt to shadow interesting global prope
rties in interesting ways. Bug 16644. |
2 | 2 |
3 If the test passes, you'll see a series of PASS messages below. | 3 If the test passes, you'll see a series of PASS messages below. |
4 | 4 |
5 PASS: Node == undefined should be false and is. | 5 PASS: Node == undefined should be false and is. |
6 PASS: eval('Node == undefined') should be false and is. | 6 PASS: eval('Node == undefined') should be false and is. |
7 PASS: Element == undefined should be false and is. | 7 PASS: Element == undefined should be false and is. |
8 PASS: eval('Element == undefined') should be false and is. | 8 PASS: eval('Element == undefined') should be false and is. |
9 PASS: toString == undefined should be false and is. | 9 FAIL: toString == undefined should be false but instead is true. |
10 PASS: eval('toString == undefined') should be false and is. | 10 FAIL: eval('toString == undefined') should be false but instead is true. |
11 PASS: valueOf == undefined should be false and is. | 11 FAIL: valueOf == undefined should be false but instead is true. |
12 PASS: eval('valueOf == undefined') should be false and is. | 12 FAIL: eval('valueOf == undefined') should be false but instead is true. |
13 ----- | 13 ----- |
14 PASS: HTMLElement == marker should be true and is. | 14 PASS: HTMLElement == marker should be true and is. |
15 PASS: eval('HTMLElement == marker') should be true and is. | 15 PASS: eval('HTMLElement == marker') should be true and is. |
16 PASS: HTMLLinkElement == marker should be true and is. | 16 PASS: HTMLLinkElement == marker should be true and is. |
17 PASS: eval('HTMLLinkElement == marker') should be true and is. | 17 PASS: eval('HTMLLinkElement == marker') should be true and is. |
18 PASS: moveBy == marker should be true and is. | 18 PASS: moveBy == marker should be true and is. |
19 PASS: eval('moveBy == marker') should be true and is. | 19 PASS: eval('moveBy == marker') should be true and is. |
20 PASS: find == marker should be true and is. | 20 PASS: find == marker should be true and is. |
21 PASS: eval('find == marker') should be true and is. | 21 PASS: eval('find == marker') should be true and is. |
22 ----- | 22 ----- |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 PASS: eval('closed == marker') should be false and is. | 93 PASS: eval('closed == marker') should be false and is. |
94 PASS: window == marker should be false and is. | 94 PASS: window == marker should be false and is. |
95 PASS: eval('window == marker') should be false and is. | 95 PASS: eval('window == marker') should be false and is. |
96 PASS: document == marker should be false and is. | 96 PASS: document == marker should be false and is. |
97 PASS: eval('document == marker') should be false and is. | 97 PASS: eval('document == marker') should be false and is. |
98 PASS: crypto == marker should be false and is. | 98 PASS: crypto == marker should be false and is. |
99 PASS: eval('crypto == marker') should be false and is. | 99 PASS: eval('crypto == marker') should be false and is. |
100 PASS: top == marker should be false and is. | 100 PASS: top == marker should be false and is. |
101 PASS: eval('top == marker') should be false and is. | 101 PASS: eval('top == marker') should be false and is. |
102 | 102 |
OLD | NEW |