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

Unified Diff: chrome/test/data/webui/settings/site_list_tests.js

Issue 2461113002: WebUI: Make settings-action-menu re-usable as cr-action-menu. (Closed)
Patch Set: getComputedStyle instead of util.js Created 4 years, 1 month 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/settings/site_list_tests.js
diff --git a/chrome/test/data/webui/settings/site_list_tests.js b/chrome/test/data/webui/settings/site_list_tests.js
index 62fa0528ce35b50a9bcc32ffa918e2fe7d5794b6..3fe144759b5fb24fb6de0868d419a63b2d745d13 100644
--- a/chrome/test/data/webui/settings/site_list_tests.js
+++ b/chrome/test/data/webui/settings/site_list_tests.js
@@ -327,7 +327,7 @@ cr.define('site_list', function() {
* Fetch the non-hidden menu items from the action menu.
*/
function getMenuItems() {
- var menu = testElement.$$('dialog[is=settings-action-menu]');
+ var menu = testElement.$$('dialog[is=cr-action-menu]');
assertTrue(!!menu);
return menu.querySelectorAll('button:not([hidden])');
}
@@ -346,7 +346,7 @@ cr.define('site_list', function() {
/** Closes the action menu. */
function closeActionMenu() {
- var menu = testElement.$$('dialog[is=settings-action-menu]');
+ var menu = testElement.$$('dialog[is=cr-action-menu]');
if (menu.open)
menu.close();
}

Powered by Google App Engine
This is Rietveld 408576698