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

Unified Diff: third_party/WebKit/LayoutTests/editing/spelling/spellcheck-mixed-editable-long-text-crash.html

Issue 2270293003: Add a switch to TestRunner to enable/disable mock spell checker (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use in-class initialization Created 4 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: third_party/WebKit/LayoutTests/editing/spelling/spellcheck-mixed-editable-long-text-crash.html
diff --git a/third_party/WebKit/LayoutTests/editing/spelling/spellcheck-mixed-editable-long-text-crash.html b/third_party/WebKit/LayoutTests/editing/spelling/spellcheck-mixed-editable-long-text-crash.html
index f6090e9730c76373c60ee006eedae6c73777d238..e723e3be2ad53455b71ccbbe8e058d7b0eddef61 100644
--- a/third_party/WebKit/LayoutTests/editing/spelling/spellcheck-mixed-editable-long-text-crash.html
+++ b/third_party/WebKit/LayoutTests/editing/spelling/spellcheck-mixed-editable-long-text-crash.html
@@ -12,6 +12,9 @@ SpellChecker::chunkAndMarkAllMisspellingsAndBadGrammar()
</ul>
<div id="log"></div>
<script>
+if (window.testRunner)
+ testRunner.setMockSpellCheckerEnabled(true);
+
test(function() {
if (window.internals) {
internals.setSpellCheckingEnabled(true);

Powered by Google App Engine
This is Rietveld 408576698