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

Unified Diff: third_party/WebKit/LayoutTests/editing/spelling/context_click_select_misspelling.html

Issue 2583413002: Fix layout test editing/spelling/context_click_select_misspelling.html (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/editing/spelling/context_click_select_misspelling.html
diff --git a/third_party/WebKit/LayoutTests/editing/spelling/context_click_select_misspelling.html b/third_party/WebKit/LayoutTests/editing/spelling/context_click_select_misspelling.html
index c1f0486a2c19036d41cac05cb7b01eb1bb0cfc02..199edbf4808fbb5b41bc145a689391624ffbbac5 100644
--- a/third_party/WebKit/LayoutTests/editing/spelling/context_click_select_misspelling.html
+++ b/third_party/WebKit/LayoutTests/editing/spelling/context_click_select_misspelling.html
@@ -20,6 +20,7 @@ const heldTest = async_test(
add_result_callback(testObj => {
if (!testObj.properties.blockHeldTest)
return;
+ testObj.properties.sample.remove();
if (++heldTest.properties.finishCount === kNumTests)
heldTest.done();
});
@@ -85,7 +86,7 @@ spellcheck_test(
'Context clicking "home" does not select the correctly spelled word');
},
'Context clicking misspelled word in INPUT selects the word.',
- {blockHeldTest: true})
+ {sample: sample, blockHeldTest: true})
});
spellcheck_test(
@@ -114,7 +115,7 @@ spellcheck_test(
'');
},
'Context clicking misspelled word in editable DIV selects the word.',
- {blockHeldTest: true})
+ {sample: sample, blockHeldTest: true})
});
spellcheck_test(
@@ -130,7 +131,7 @@ spellcheck_test(
'Context clicking "wordl" selects the misspelled word.');
},
'Context clicking the second misspelled word "wordl" in editable DIV selects the word.',
- {blockHeldTest: true})
+ {sample: sample, blockHeldTest: true})
});
spellcheck_test(
@@ -147,6 +148,6 @@ spellcheck_test(
'uppercase');
},
'Context clicking multi-word misspelling "upper case" in editable DIV selects the words.',
- {blockHeldTest: true})
+ {sample: sample, blockHeldTest: true})
});
</script>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698