blob: 53428c2495c0ccc9a3993eb3d28e9241658bb40b [file] [log] [blame]
OPEN FILE PANEL
Tests that a page calling URL.createObjectURL() can use the page cache.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS img.width is 0
PASS img.height is 0
img.src = blobURL
PASS Image loaded
PASS img.width is 76
PASS img.height is 103
PASS Page did enter and was restored from the page cache
Reuse the previous blobURL
img2.src = blobURL
PASS Image2 loaded
PASS img2.width is 76
PASS img2.height is 103
PASS successfullyParsed is true
TEST COMPLETE