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

Unified Diff: LayoutTests/editing/spelling/spelling-huge-text.html

Issue 23444027: TEST COMPLETE does not appear at the end of spellchecking tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: Created 7 years, 4 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/editing/spelling/spelling-huge-text.html
diff --git a/LayoutTests/editing/spelling/spelling-huge-text.html b/LayoutTests/editing/spelling/spelling-huge-text.html
index a5d3270d3f8d89f2efcd092b603cad58875f1e37..455f1636b33cf885b1f33ac49daf693112f3551f 100644
--- a/LayoutTests/editing/spelling/spelling-huge-text.html
+++ b/LayoutTests/editing/spelling/spelling-huge-text.html
@@ -13,6 +13,8 @@ description("Text to check is divided into chunks to make sure checking some hug
"To test manaully trigger spell checking of the editable (e.g. by copy+paste) with unified " +
"and asynchronous checker on. There should be 6 misspellings marked.");
+jsTestIsAsync = true;
+
var testEditable = null;
function test()
@@ -46,8 +48,7 @@ function test()
} else {
shouldBe('internals.markerCountForNode(testEditable.childNodes[0], "spelling")', '6');
testEditable.removeChild(testEditable.childNodes[0]);
- if (window.testRunner)
- testRunner.notifyDone();
+ finishJSTest();
}
}

Powered by Google App Engine
This is Rietveld 408576698