1 description("Test to make sure cached lookups on the global object are performed correctly.");
44 'removeEventListener',
64 var cachedFunctions
= [];
65 for (var i
= 0; i
< functionNames
.length
; i
++)
66 cachedFunctions
[i
] = new Function("return " + functionNames
[i
]);
68 for (var i
= 0; i
< functionNames
.length
; i
++) {
69 shouldBe("cachedFunctions["+i
+"]()", functionNames
[i
]);
70 shouldBe("cachedFunctions["+i
+"]()", functionNames
[i
]);