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

Issue 170843005: Fix BrowserActionApiTest.DynamicBrowserAction interaction with dev-mode highlighting. (Closed)

Created:
6 years, 10 months ago by Yoyo Zhou
Modified:
6 years, 10 months ago
Reviewers:
Jeffrey Yasskin, Finnur
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Visibility:
Public.

Description

Fix BrowserActionApiTest.DynamicBrowserAction interaction with dev-mode highlighting. With dev-mode highlighting (on stable/beta channel, or with the --force-dev-mode-highlighting=1 flag), in Views, unpacked extension browser action iicons (such as the ones in this test) are given a different background. Adjust our test expectations accordingly. This patch also cleans up the other BrowserActionApiTests somewhat. BUG=333008 TEST=browser_tests --gtest_filter=BrowserActionApiTest.DynamicBrowserAction --force-dev-mode-highlighting=1 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251978

Patch Set 1 #

Total comments: 2

Patch Set 2 : good call #

Patch Set 3 : , #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -18 lines) Patch
M chrome/browser/extensions/api/extension_action/browser_action_apitest.cc View 1 2 11 chunks +23 lines, -18 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Yoyo Zhou
Jeffrey, can you review this? Finnur would be the best reviewer, but I'd like to ...
6 years, 10 months ago (2014-02-19 01:02:26 UTC) #1
Jeffrey Yasskin
lgtm, but you might be able to simplify the change: https://codereview.chromium.org/170843005/diff/1/chrome/browser/extensions/api/extension_action/browser_action_apitest.cc File chrome/browser/extensions/api/extension_action/browser_action_apitest.cc (right): https://codereview.chromium.org/170843005/diff/1/chrome/browser/extensions/api/extension_action/browser_action_apitest.cc#newcode93 ...
6 years, 10 months ago (2014-02-19 01:13:34 UTC) #2
Yoyo Zhou
Good call. Changed it to pass the Extension* as an argument to the helper.
6 years, 10 months ago (2014-02-19 01:27:34 UTC) #3
Yoyo Zhou
The CQ bit was checked by yoz@chromium.org
6 years, 10 months ago (2014-02-19 01:27:48 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoz@chromium.org/170843005/70001
6 years, 10 months ago (2014-02-19 01:54:00 UTC) #5
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-19 03:17:56 UTC) #6
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=266145
6 years, 10 months ago (2014-02-19 03:17:57 UTC) #7
Jeffrey Yasskin
The CQ bit was checked by jyasskin@chromium.org
6 years, 10 months ago (2014-02-19 03:41:12 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoz@chromium.org/170843005/70001
6 years, 10 months ago (2014-02-19 03:41:36 UTC) #9
commit-bot: I haz the power
Change committed as 251978
6 years, 10 months ago (2014-02-19 06:45:35 UTC) #10
Finnur
6 years, 10 months ago (2014-02-19 11:50:50 UTC) #11
Message was sent while issue was closed.
I love it. Thanks for doing this. I couldn't think of a way to fix this from the
dev mode side, glad to see that there's a simple fix on the test side of things!

LGTM.

Powered by Google App Engine
This is Rietveld 408576698