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

Unified Diff: chrome/test/data/webui/history_browsertest.js

Issue 668983004: Add <a is="action-link">, a web component extension of <a> for in-page actions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 6 years, 2 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: chrome/test/data/webui/history_browsertest.js
diff --git a/chrome/test/data/webui/history_browsertest.js b/chrome/test/data/webui/history_browsertest.js
index 938ee377c77e4f2dcc766340d928e7a394f11683..98c3694e0d98b025b44d65d57bf4f131743c99f3 100644
--- a/chrome/test/data/webui/history_browsertest.js
+++ b/chrome/test/data/webui/history_browsertest.js
@@ -417,7 +417,7 @@ TEST_F('HistoryWebUITest', 'DISABLED_basicTest', function() {
// Check that there are 3 page navigation links and that only the "Older"
// link is visible.
- expectEquals(3, document.querySelectorAll('.link-button').length);
+ expectEquals(3, document.querySelectorAll('[is="action-link"]').length);
expectTrue($('newest-button').hidden);
expectTrue($('newer-button').hidden);
expectFalse($('older-button').hidden);
@@ -442,7 +442,7 @@ TEST_F('HistoryWebUITest', 'DISABLED_basicTest', function() {
// Check that the "Newest" and "Newer" links are now visible, but the
// "Older" link is hidden.
- expectEquals(3, document.querySelectorAll('.link-button').length);
+ expectEquals(3, document.querySelectorAll('[is="action-link"]').length);
expectFalse($('newest-button').hidden);
expectFalse($('newer-button').hidden);
expectTrue($('older-button').hidden);

Powered by Google App Engine
This is Rietveld 408576698