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

Unified Diff: LayoutTests/editing/spelling/script-tests/spellcheck-paste.js

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/script-tests/spellcheck-paste.js
diff --git a/LayoutTests/editing/spelling/script-tests/spellcheck-paste.js b/LayoutTests/editing/spelling/script-tests/spellcheck-paste.js
index 5d48ed0f6f58babb9bd7732e3de473e337543045..01954331a53985c0fef5451a8fcc38e1122dccf3 100644
--- a/LayoutTests/editing/spelling/script-tests/spellcheck-paste.js
+++ b/LayoutTests/editing/spelling/script-tests/spellcheck-paste.js
@@ -1,7 +1,7 @@
description('For Bug 40092: Spell checking for pasted text.');
-testRunner.waitUntilDone();
+jsTestIsAsync = true;
var testRoot = document.createElement("div");
document.body.insertBefore(testRoot, document.body.firstChild);
@@ -39,7 +39,7 @@ function done()
if (next)
return window.setTimeout(next, 0);
testRoot.style.display = "none";
- testRunner.notifyDone();
+ finishJSTest();
}
function verifyMarker(node, expectedMarked)
« no previous file with comments | « LayoutTests/editing/spelling/markers-input-type-text-expected.txt ('k') | LayoutTests/editing/spelling/spellcheck-async.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698