Index: LayoutTests/fast/text/window-find.html |
diff --git a/LayoutTests/fast/text/window-find.html b/LayoutTests/fast/text/window-find.html |
index 04d3b23098f313893404dda42aea82b7092b5293..de26dec3e1803bee9decce28b5af2fe3550b1392 100644 |
--- a/LayoutTests/fast/text/window-find.html |
+++ b/LayoutTests/fast/text/window-find.html |
@@ -38,6 +38,12 @@ function runTest() { |
if (!window.find('for', false, false, true)) fail('not found: for'); |
if (!window.find('for', true, false, true)) fail('not found: for'); |
if (window.find('FOR', true, false, true)) fail('found: FOR'); |
+ // WholeWord. |
+ if (!window.find('for', false, false, true, true)) fail('whole word not found: for'); |
+ if (!window.find('find', false, false, true, true)) fail('whole word not found: find'); |
+ if (window.find('this', true, false, false, true)) fail('whole word found: this'); |
+ if (window.find('est', false, false, false, true)) fail('whole word found: est'); |
+ if (window.find('succ', false, false, false, true)) fail('whole word found: succ'); |
if (window.testRunner) |
testRunner.notifyDone(); |