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

Unified Diff: third_party/WebKit/LayoutTests/images/multiple-inflight-error-event-crash.html

Issue 2893993002: Make ImageLoader have at most one pending error event on EventSender (Closed)
Patch Set: Add comment Created 3 years, 7 months 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/loader/ImageLoader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/images/multiple-inflight-error-event-crash.html
diff --git a/third_party/WebKit/LayoutTests/images/multiple-inflight-error-event-crash.html b/third_party/WebKit/LayoutTests/images/multiple-inflight-error-event-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..9ee5fa37fcce3f25f206035e2fb8459d3c4b2d83
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/images/multiple-inflight-error-event-crash.html
@@ -0,0 +1,11 @@
+<!doctype html>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<embed src="http://"></embed>
+<input type="image" src="">
+<script>
+// This tests the case where ImageLoader::DoUpdateFromElement() is called
+// and results in scheduling an error event while there was already a pending
+// error event. Passes if not crashing. crbug.com/722500
+test(function(){});
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/loader/ImageLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698