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

Side by Side Diff: chrome/test/data/webui/menu_test.html

Issue 485343004: Fix bookmark manager regression by allowing cr.ui.Menu#findMenuItem_ to return null. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tests Created 6 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/test/data/webui/webui_resource_browsertest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <script>
5
6 function testHandleMouseOver() {
7 var menu = new cr.ui.Menu;
8 cr.ui.decorate(menu, cr.ui.Menu);
arv (Not doing code reviews) 2014/08/20 16:46:47 You should not need to call decorate here
Dan Beam 2014/08/20 17:20:12 https://code.google.com/p/chromium/codesearch#chro
9
10 var over = cr.doc.createEvent('MouseEvent');
11 over.initEvent('mouseover', true, true);
arv (Not doing code reviews) 2014/08/20 16:46:47 This is not really correct but I guess it is good
Dan Beam 2014/08/20 17:20:12 ah, yeah, initMouseEvent... whoops.
12 over.target = document.body;
13 menu.dispatchEvent(over);
14 }
15
16 </script>
17 </body>
18 </html>
OLDNEW
« no previous file with comments | « no previous file | chrome/test/data/webui/webui_resource_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698