| OLD | NEW |
| (Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <head> |
| 4 <style> |
| 5 #target { |
| 6 background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAIAAA
BLixI0AAAAJklEQVR4nGJg+M9ANTRq1qhZo2aNmjVq1qhZo2ZhIAAAAAD//wMA1XBuro0zsokAAAAASU
VORK5CYII=) center no-repeat; |
| 7 width: 32px; |
| 8 height: 32px; |
| 9 position: absolute; |
| 10 left: 0; |
| 11 top: 0; |
| 12 } |
| 13 </style> |
| 14 <script> |
| 15 if (window.testRunner) { |
| 16 if (window.localStorage.getItem("finish-during-reload") == null) |
| 17 testRunner.setImagesAllowed(false); |
| 18 testRunner.waitUntilDone(); |
| 19 } |
| 20 |
| 21 function test() { |
| 22 if (window.localStorage.getItem("finish-during-reload") == null) { |
| 23 window.localStorage.setItem("finish-during-reload", "reload"); |
| 24 testRunner.setImagesAllowed(true); |
| 25 internals.forceReload(false); |
| 26 } else { |
| 27 window.localStorage.clear(); |
| 28 if (window.testRunner) |
| 29 testRunner.notifyDone(); |
| 30 }; |
| 31 } |
| 32 </script> |
| 33 </head> |
| 34 <body onload="setTimeout(test, 0);"> |
| 35 <div id="target"></div> |
| 36 </body> |
| 37 </html> |
| 38 |
| 39 |
| OLD | NEW |