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

Unified Diff: third_party/WebKit/LayoutTests/editing/spelling/spellcheck-api-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-api-crash.html
diff --git a/third_party/WebKit/LayoutTests/editing/spelling/spellcheck-api-crash.html b/third_party/WebKit/LayoutTests/editing/spelling/spellcheck-api-crash.html
index deab365c047e62bead49a908f00493a32121ccf9..d0689b5a9ec762af160a302d15cfe10a55736134 100644
--- a/third_party/WebKit/LayoutTests/editing/spelling/spellcheck-api-crash.html
+++ b/third_party/WebKit/LayoutTests/editing/spelling/spellcheck-api-crash.html
@@ -2,8 +2,10 @@
<head>
<title></title>
<script language="javascript" type="text/javascript">
-if (window.testRunner)
+if (window.testRunner) {
testRunner.dumpAsText();
+ testRunner.setMockSpellCheckerEnabled(true);
+}
function Test() {
var node0 = document.getElementById('test0');

Powered by Google App Engine
This is Rietveld 408576698