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

Unified Diff: ui/file_manager/file_manager/foreground/js/ui/actions_submenu_unittest.html

Issue 2104103002: Convert Event#keyIdentifier (deprecated) to Event#key (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Patch file manager test Created 4 years, 5 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 | « chrome/test/data/webui/inline_editable_list_test.html ('k') | ui/file_manager/file_manager/main.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/file_manager/foreground/js/ui/actions_submenu_unittest.html
diff --git a/ui/file_manager/file_manager/foreground/js/ui/actions_submenu_unittest.html b/ui/file_manager/file_manager/foreground/js/ui/actions_submenu_unittest.html
index 025b7459a4cfea97f78d8cb1130773df0ebae2e5..0f3313abf1cfe6633348fcb17eb0017fa1f10982 100644
--- a/ui/file_manager/file_manager/foreground/js/ui/actions_submenu_unittest.html
+++ b/ui/file_manager/file_manager/foreground/js/ui/actions_submenu_unittest.html
@@ -4,6 +4,14 @@
-- found in the LICENSE file.
-->
+<script>
+function queryRequiredElement(selectors, opt_context) {
+ var element = (opt_context || document).querySelector(selectors);
+ return assertInstanceof(element, HTMLElement,
+ 'Missing required element: ' + selectors);
+}
+</script>
+
<command id="share" label="Share"></command>
<command id="toggle-pinned" label="Toggle pinned"></command>
<command id="create-folder-shortcut" label="Create folder shortcut"></command>
@@ -20,7 +28,6 @@
<script src="../../../../../../ui/webui/resources/js/cr/ui/command.js"></script>
<script src="../../../../../../ui/webui/resources/js/cr/ui/menu_item.js"></script>
<script src="../../../../../../ui/webui/resources/js/cr/ui/menu.js"></script>
-<script src="../../../../../../ui/webui/resources/js/util.js"></script>
<script src="../../../common/js/util.js"></script>
<script src="../actions_model.js"></script>
<script src="../mock_actions_model.js"></script>
« no previous file with comments | « chrome/test/data/webui/inline_editable_list_test.html ('k') | ui/file_manager/file_manager/main.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698