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

Issue 1998013003: [Media Router WebUI] Show issue's secondary action when 'dismiss'. (Closed)

Created:
4 years, 7 months ago by apacible
Modified:
4 years, 7 months ago
Reviewers:
imcheng
CC:
chromium-reviews, media-router+watch_chromium.org, arv+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Media Router WebUI] Show issue's secondary action when 'dismiss'. The action type 'dismiss' maps to 0. Currently, we don't check whether it's undefined, but if it is truthy. if(0) is always false. This means that if the secondary button is 'dismiss', it will not be shown. This was previously not caught as the tests mark non-existent secondary actions as null rather than undefined. BUG=613253 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/8d0894e8a5b6c29e97704a62ca75cc1cb412223d Cr-Commit-Position: refs/heads/master@{#395394}

Patch Set 1 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -8 lines) Patch
M chrome/browser/resources/media_router/elements/issue_banner/issue_banner.js View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/media_router/media_router_data.js View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/test/data/webui/media_router/issue_banner_tests.js View 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 16 (11 generated)
apacible
PTAL, thanks!
4 years, 7 months ago (2016-05-20 16:40:22 UTC) #9
imcheng
lgtm
4 years, 7 months ago (2016-05-23 18:33:36 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1998013003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1998013003/60001
4 years, 7 months ago (2016-05-23 18:51:45 UTC) #12
commit-bot: I haz the power
Committed patchset #1 (id:60001)
4 years, 7 months ago (2016-05-23 19:59:18 UTC) #14
commit-bot: I haz the power
4 years, 7 months ago (2016-05-23 20:00:26 UTC) #16
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/8d0894e8a5b6c29e97704a62ca75cc1cb412223d
Cr-Commit-Position: refs/heads/master@{#395394}

Powered by Google App Engine
This is Rietveld 408576698