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: LayoutTests/editing/text-iterator/findString-restarts-at-last-position.html

Issue 26654011: Fixing TestRunner::findString() so as to fix findString.html editing (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixing default initializations Created 7 years, 2 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/text-iterator/findString-restarts-at-last-position.html
diff --git a/LayoutTests/editing/text-iterator/findString-restarts-at-last-position.html b/LayoutTests/editing/text-iterator/findString-restarts-at-last-position.html
index ac5bc8e86eac68d3fe8ab04c9a3d060da8a76c39..a0eb0d81afe6ce9f74a014a2a065dfef26daee1b 100644
--- a/LayoutTests/editing/text-iterator/findString-restarts-at-last-position.html
+++ b/LayoutTests/editing/text-iterator/findString-restarts-at-last-position.html
@@ -22,9 +22,10 @@ if (!window.testRunner)
testFailed('This test requires the testRunner object');
else {
shouldBeTrue('testRunner.findString("first_", [])');
- shouldBeTrue('testRunner.findString("first_step", [])');
+ shouldBeTrue('testRunner.findString("first_step", ["StartInSelection"])');
shouldBeTrue('testRunner.findString("last_step", [])');
shouldBeFalse('testRunner.findString("last_step", [])');
+ shouldBeTrue('testRunner.findString("last_step", ["WrapAround"])');
}
document.getElementById("console").style.removeProperty("visibility");

Powered by Google App Engine
This is Rietveld 408576698