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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/documentmarker-set-active.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
Index: third_party/WebKit/LayoutTests/fast/dom/documentmarker-set-active.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/documentmarker-set-active.html b/third_party/WebKit/LayoutTests/fast/dom/documentmarker-set-active.html
index 35f28fd21387d889fa80f48b3951cab244d98fac..04313239072405258131596c7083d7db3d17c92d 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/documentmarker-set-active.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/documentmarker-set-active.html
@@ -17,7 +17,7 @@ range.setEnd(elt, 3);
if (!window.internals) {
alert('This test requires window.interals to run!');
} else {
- window.internals.addTextMatchMarker(range, false);
+ window.internals.addTextMatchMarker(range, 'kInactive');
window.internals.setMarkersActive(elt, 0, 1, true);
shouldBe('window.internals.activeMarkerCountForNode(elt)', '0');

Powered by Google App Engine
This is Rietveld 408576698