| Index: LayoutTests/fast/images/onload-event-when-reloading-image-after-interrupted-null-src-load.html
|
| diff --git a/LayoutTests/fast/images/onload-event-when-reloading-image-after-interrupted-broken-image-load.html b/LayoutTests/fast/images/onload-event-when-reloading-image-after-interrupted-null-src-load.html
|
| similarity index 84%
|
| copy from LayoutTests/fast/images/onload-event-when-reloading-image-after-interrupted-broken-image-load.html
|
| copy to LayoutTests/fast/images/onload-event-when-reloading-image-after-interrupted-null-src-load.html
|
| index 537c6efb91af141365a9f862fb066e32ecbe004f..9b8b9f89b1b50211ff0a1df313a76d7ed08a323b 100644
|
| --- a/LayoutTests/fast/images/onload-event-when-reloading-image-after-interrupted-broken-image-load.html
|
| +++ b/LayoutTests/fast/images/onload-event-when-reloading-image-after-interrupted-null-src-load.html
|
| @@ -8,7 +8,7 @@
|
| img = new Image();
|
| var onloadCounter = 0;
|
| var testImage = 'resources/green.jpg';
|
| - var resetImage = 'resources/bad-png.png';
|
| + var resetImage = '';
|
| img.onload = function(){
|
| onloadCounter++;
|
| debug("Image onload event fired for " + img.src.substring(img.src.lastIndexOf('/') + 1));
|
| @@ -34,6 +34,6 @@
|
| </script>
|
| <div id="console">
|
| crbug.com/469678: We should fire an image load event even if the image is the last one we loaded successfully.<br>
|
| -In this test we load an image. Then we make a request for a broken image which doesn't get the chance to complete before we attempt to load the same image again.<br>
|
| +In this test we load an image. Then we make a null request (img.src='') which should clear down the image before we attempt to load the same image again.<br>
|
| </div>
|
| <div id="result">FAIL</div>
|
|
|