Chromium Code Reviews
DescriptionFiles app: Work around the issue about opening menus by keeping references to <hr>s.
Files app's settings menu uses cr.ui.Menu, and <hr>s in the menu needs to be
decorated by cr.ui.MenuItem. However, in some cases, the <hr>s can lose the
decorated functions for some reason (suspected that it's by GC for <hr> wrappers).
This behavior be worked around by explicitly keeping reference to those <hr>s.
BUG=689255
TEST=confirmed 300+ trials of repro step did not reproduce the issue. It reproduced around 10% without the patch.
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Review-Url: https://codereview.chromium.org/2712403003
Cr-Commit-Position: refs/heads/master@{#453557}
Committed: https://chromium.googlesource.com/chromium/src/+/3bc177a7e5b7d15e6635613373ac316263576150
Patch Set 1 #
Total comments: 2
Patch Set 2 : Fix a typo. #Messages
Total messages: 15 (10 generated)
|