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

Unified Diff: third_party/WebKit/LayoutTests/editing/spelling/spellcheck-mixed-editable-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-crash.html
diff --git a/third_party/WebKit/LayoutTests/editing/spelling/spellcheck-mixed-editable-crash.html b/third_party/WebKit/LayoutTests/editing/spelling/spellcheck-mixed-editable-crash.html
index c4f808c25d3d2865ad95aaad084ef29172bc2244..6c6cdf6187be81816438779259c17803c0b84836 100644
--- a/third_party/WebKit/LayoutTests/editing/spelling/spellcheck-mixed-editable-crash.html
+++ b/third_party/WebKit/LayoutTests/editing/spelling/spellcheck-mixed-editable-crash.html
@@ -5,6 +5,9 @@
<div id="edit" contenteditable="true"><span contenteditable="false">Bob</span> ; <span contenteditable="false"></span></div>
<div id="log"></div>
<script>
+if (window.testRunner)
+ testRunner.setMockSpellCheckerEnabled(true);
+
test(function() {
var text = edit.childNodes[1];
var selection = window.getSelection();

Powered by Google App Engine
This is Rietveld 408576698