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

Unified Diff: LayoutTests/svg/custom/foreignObject-crash-on-hover.xml

Issue 316193003: Fix some async repaint tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: NeedsRebaseline more tests Created 6 years, 6 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
Index: LayoutTests/svg/custom/foreignObject-crash-on-hover.xml
diff --git a/LayoutTests/svg/custom/foreignObject-crash-on-hover.xml b/LayoutTests/svg/custom/foreignObject-crash-on-hover.xml
index 5a4a951f34e6edd5e67ff719282347c24e6591ba..cefe929ab17eec0f2109375a90e479c347fad809 100644
--- a/LayoutTests/svg/custom/foreignObject-crash-on-hover.xml
+++ b/LayoutTests/svg/custom/foreignObject-crash-on-hover.xml
@@ -19,13 +19,13 @@
style="fill:red; stroke:blue;"/>
</g>
<script>
+ window.testIsAsync = true;
function repaintTest() {
if (window.eventSender) {
- testRunner.waitUntilDone();
eventSender.mouseMoveTo(100, 100);
eventSender.mouseUp();
eventSender.mouseDown();
- setTimeout("testRunner.notifyDone()", 0);
+ setTimeout(finishRepaintTest, 0);
}
}
</script>
« no previous file with comments | « LayoutTests/platform/win/svg/custom/mask-invalidation-expected.txt ('k') | LayoutTests/svg/custom/mask-invalidation.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698