summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/manual-tests/crash-on-find-with-no-selection.html
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/manual-tests/crash-on-find-with-no-selection.html')
-rw-r--r--Source/WebCore/manual-tests/crash-on-find-with-no-selection.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/WebCore/manual-tests/crash-on-find-with-no-selection.html b/Source/WebCore/manual-tests/crash-on-find-with-no-selection.html
new file mode 100644
index 0000000..9dd108c
--- /dev/null
+++ b/Source/WebCore/manual-tests/crash-on-find-with-no-selection.html
@@ -0,0 +1,12 @@
+<html>
+<head>
+</head>
+<body>
+<p>This test can be used to verify that we do not crash when searching for text on a page when nothing on the page is currently selected.</p>
+<ol>
+ <li>Ensure that you have not clicked anywhere on this page and that nothing on this page is currently selected.</li>
+ <li>Search for the word &quot;crash&quot; in this page (In Safari for Mac, select Edit->Find->Find or press Cmd-F on your keyboard to open the Find banner to search for a word in the page).
+ <li>This test PASSED if we do not crash and the word &quot;crash&quot; is highlighted in at least the first sentence on this page.</li>
+</ol>
+</body>
+</html>