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

Unified Diff: LayoutTests/svg/custom/use-detach.svg

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/use-detach.svg
diff --git a/LayoutTests/svg/custom/use-detach.svg b/LayoutTests/svg/custom/use-detach.svg
index d6887e7d9faa4877ae093c31fa1afea5da62e717..a1f975baf243c7e6f55a7062a3bde9441ccf6194 100644
--- a/LayoutTests/svg/custom/use-detach.svg
+++ b/LayoutTests/svg/custom/use-detach.svg
@@ -4,12 +4,10 @@
<script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/>
<script type="text/javascript">
<![CDATA[
+ window.testIsAsync = true;
function repaintTest() {
var elem = document.getElementById('use');
elem.setAttributeNS(null,'display','inline');
-
- if (window.testRunner)
- testRunner.waitUntilDone();
window.setTimeout("step2()", 0);
}
function step2() {
@@ -20,8 +18,7 @@
function step3() {
var elem = document.getElementById('use');
elem.setAttributeNS(null,'display','inline');
- if (window.testRunner)
- testRunner.notifyDone();
+ finishRepaintTest();
}
]]>
</script>
« no previous file with comments | « LayoutTests/svg/custom/resource-client-removal-expected.txt ('k') | LayoutTests/svg/repaint/image-href-change.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698