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

Unified Diff: third_party/WebKit/LayoutTests/plugins/plugin-reload-data.html

Issue 2808273005: Make plugins/plugin-reload-data.html deterministic (Closed)
Patch Set: Created 3 years, 8 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/plugins/plugin-reload-data.html
diff --git a/third_party/WebKit/LayoutTests/plugins/plugin-reload-data.html b/third_party/WebKit/LayoutTests/plugins/plugin-reload-data.html
index d74c57d3d43d73a9a9f428b5942ff2b444353671..1b56990cf9bf4aa41dab9af2ca1a81d0df5c7357 100644
--- a/third_party/WebKit/LayoutTests/plugins/plugin-reload-data.html
+++ b/third_party/WebKit/LayoutTests/plugins/plugin-reload-data.html
@@ -7,7 +7,7 @@
onload = () => {
var object = document.querySelector("object");
object.setAttribute("data", "data:text/plain,second");
- requestAnimationFrame(() => { testRunner.notifyDone(); });
+ object.addEventListener("message", () => { testRunner.notifyDone(); });
};
} else {
document.write("Needs to be run as a layout test.");
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698