image-prefetch-stress.html [plain text]
var i = 0;
var x = new Image();
x.src = "http://upload.wikimedia.org/wikipedia/commons/e/e9/Sombrero_Galaxy_in_infrared_light_%28Hubble_Space_Telescope_and_Spitzer_Space_Telescope%29.jpg?" + i;
preloaded but never used, it will not free any of the images until the
variables. This test passes if after a certain point, the number of allocated
images as reported by the caches window stops growing.