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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/documentmarker-add-adjacent-text.html

Issue 2802543002: Update window.internals.addTextMatchMarker() to take enum instead of bool (Closed)
Patch Set: Fix one more test, add k prefix Created 3 years, 8 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/dom/documentmarker-set-active.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/dom/documentmarker-add-adjacent-text.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/documentmarker-add-adjacent-text.html b/third_party/WebKit/LayoutTests/fast/dom/documentmarker-add-adjacent-text.html
index a90934120c3439e4fa9b49616469e84d52b56f3e..9e34c191dd120ce054380b01bdaf9d8437dc35cc 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/documentmarker-add-adjacent-text.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/documentmarker-add-adjacent-text.html
@@ -20,8 +20,8 @@ rangeRight.setEnd(elt, 4);
if (!window.internals) {
alert('This test requires window.interals to run!');
} else {
- window.internals.addTextMatchMarker(rangeLeft, true);
- window.internals.addTextMatchMarker(rangeRight, true);
+ window.internals.addTextMatchMarker(rangeLeft, 'kActive');
+ window.internals.addTextMatchMarker(rangeRight, 'kActive');
shouldBe('window.internals.markerCountForNode(elt, "textmatch")', '2');
}
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/dom/documentmarker-set-active.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698