Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(620)

Unified Diff: third_party/WebKit/LayoutTests/fast/images/onload-event-when-reloading-image-after-successful-image-load.html

Issue 2496663002: Merge css3/image/ and fast/images/ to images/ (Closed)
Patch Set: Address failing tests (3 of them) Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/images/onload-event-when-reloading-image-after-successful-image-load.html
diff --git a/third_party/WebKit/LayoutTests/fast/images/onload-event-when-reloading-image-after-successful-image-load.html b/third_party/WebKit/LayoutTests/fast/images/onload-event-when-reloading-image-after-successful-image-load.html
deleted file mode 100644
index 0f9984ef4a515e985c9be25841df7dbe17957bc3..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/images/onload-event-when-reloading-image-after-successful-image-load.html
+++ /dev/null
@@ -1,21 +0,0 @@
-<!DOCTYPE html>
-<title>crbug.com/469678: We should fire an image load event even if the image is the last one we loaded successfully.</title>
-<script src="../../resources/testharness.js"></script>
-<script src="../../resources/testharnessreport.js"></script>
-<script>
-async_test(function(t) {
- var img = new Image();
- var testImage = 'resources/green.jpg';
- var resetImage = 'resources/green.jpg';
- // In this test we load an image then we immediately launch another request
- // for the same image - only one load event should be fired. Then we do the
- // same again: another load event should be fired.
- img.onload = t.step_func(function() {
- img.src = resetImage;
- img.src = testImage;
- img.onload = t.step_func_done();
- });
- img.src = resetImage;
- img.src = testImage;
-});
-</script>

Powered by Google App Engine
This is Rietveld 408576698