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

Issue 2712403003: Files app: Work around the issue about opening menus by keeping references to <hr>s. (Closed)

Created:
3 years, 9 months ago by fukino
Modified:
3 years, 9 months ago
Reviewers:
oka
CC:
chromium-reviews, oka+watch_chromium.org, rginda+watch_chromium.org, mtomasz+watch_chromium.org, yamaguchi+watch_chromium.org, fukino+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Files 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. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -0 lines) Patch
M ui/file_manager/file_manager/foreground/js/ui/file_manager_ui.js View 1 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (10 generated)
fukino
3 years, 9 months ago (2017-02-27 10:13:45 UTC) #3
oka
lgtm https://codereview.chromium.org/2712403003/diff/1/ui/file_manager/file_manager/foreground/js/ui/file_manager_ui.js File ui/file_manager/file_manager/foreground/js/ui/file_manager_ui.js (right): https://codereview.chromium.org/2712403003/diff/1/ui/file_manager/file_manager/foreground/js/ui/file_manager_ui.js#newcode41 ui/file_manager/file_manager/foreground/js/ui/file_manager_ui.js:41: * TODO(fukino): Remove this membar variable once the ...
3 years, 9 months ago (2017-02-28 02:04:06 UTC) #8
fukino
Thanks! https://codereview.chromium.org/2712403003/diff/1/ui/file_manager/file_manager/foreground/js/ui/file_manager_ui.js File ui/file_manager/file_manager/foreground/js/ui/file_manager_ui.js (right): https://codereview.chromium.org/2712403003/diff/1/ui/file_manager/file_manager/foreground/js/ui/file_manager_ui.js#newcode41 ui/file_manager/file_manager/foreground/js/ui/file_manager_ui.js:41: * TODO(fukino): Remove this membar variable once the ...
3 years, 9 months ago (2017-02-28 09:09:27 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2712403003/20001
3 years, 9 months ago (2017-02-28 09:09:40 UTC) #12
commit-bot: I haz the power
3 years, 9 months ago (2017-02-28 09:55:15 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/3bc177a7e5b7d15e6635613373ac...

Powered by Google App Engine
This is Rietveld 408576698