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

Unified Diff: third_party/WebKit/LayoutTests/editing/spelling/right-click-no-renderer-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/right-click-no-renderer-crash.html
diff --git a/third_party/WebKit/LayoutTests/editing/spelling/right-click-no-renderer-crash.html b/third_party/WebKit/LayoutTests/editing/spelling/right-click-no-renderer-crash.html
index 3ded568e24a7dbfeb6fbe2defc545777c5868871..d062f3981f5fc2a6e6de8b33a67d38d9652b370e 100644
--- a/third_party/WebKit/LayoutTests/editing/spelling/right-click-no-renderer-crash.html
+++ b/third_party/WebKit/LayoutTests/editing/spelling/right-click-no-renderer-crash.html
@@ -3,6 +3,9 @@
<head>
<script src="../../resources/js-test.js"></script>
<script>
+if (window.testRunner)
+ testRunner.setMockSpellCheckerEnabled(true);
+
window.onload = function() {
var element = document.getElementsByTagName('html')[0];
document.adoptNode(element);

Powered by Google App Engine
This is Rietveld 408576698