|
|
Created:
5 years, 9 months ago by Marc Treib Modified:
5 years, 9 months ago Reviewers:
not at google - send to devlin CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org Base URL:
https://chromium.googlesource.com/chromium/src.git@master Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionFix ExtensionInstallPromptUnittest.DelegatedPromptShowsOptionalPermissions on Win official
BUG=464040
Committed: https://crrev.com/f00002a0cfc699faa4228b697ac77ee433df06d0
Cr-Commit-Position: refs/heads/master@{#319659}
Patch Set 1 #
Total comments: 3
Messages
Total messages: 12 (2 generated)
treib@chromium.org changed reviewers: + kalman@chromium.org
PTAL! https://codereview.chromium.org/986333002/diff/1/chrome/browser/extensions/ex... File chrome/browser/extensions/extension_install_prompt_unittest.cc (left): https://codereview.chromium.org/986333002/diff/1/chrome/browser/extensions/ex... chrome/browser/extensions/extension_install_prompt_unittest.cc:112: ListBuilder().Append("location"))) For some reason, "location" does not result in any warning message on Win official (both in optional and required permissions). Out of curiosity: Do you know why?
lgtm https://codereview.chromium.org/986333002/diff/1/chrome/browser/extensions/ex... File chrome/browser/extensions/extension_install_prompt_unittest.cc (left): https://codereview.chromium.org/986333002/diff/1/chrome/browser/extensions/ex... chrome/browser/extensions/extension_install_prompt_unittest.cc:112: ListBuilder().Append("location"))) On 2015/03/09 14:05:59, Marc Treib wrote: > For some reason, "location" does not result in any warning message on Win > official (both in optional and required permissions). Out of curiosity: Do you > know why? Well that's weird. Location is supposed to be a valid permission.
The CQ bit was checked by treib@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/986333002/1
Message was sent while issue was closed.
Committed patchset #1 (id:1)
Message was sent while issue was closed.
Patchset 1 (id:??) landed as https://crrev.com/f00002a0cfc699faa4228b697ac77ee433df06d0 Cr-Commit-Position: refs/heads/master@{#319659}
Message was sent while issue was closed.
https://codereview.chromium.org/986333002/diff/1/chrome/browser/extensions/ex... File chrome/browser/extensions/extension_install_prompt_unittest.cc (left): https://codereview.chromium.org/986333002/diff/1/chrome/browser/extensions/ex... chrome/browser/extensions/extension_install_prompt_unittest.cc:112: ListBuilder().Append("location"))) On 2015/03/09 16:33:53, kalman wrote: > On 2015/03/09 14:05:59, Marc Treib wrote: > > For some reason, "location" does not result in any warning message on Win > > official (both in optional and required permissions). Out of curiosity: Do you > > know why? > > Well that's weird. Location is supposed to be a valid permission. Yup, especially as it works fine on all the other platforms - it's only in Win Official builds that it doesn't. I guess I should investigate...
Message was sent while issue was closed.
On 2015/03/09 17:30:40, Marc Treib wrote: > https://codereview.chromium.org/986333002/diff/1/chrome/browser/extensions/ex... > File chrome/browser/extensions/extension_install_prompt_unittest.cc (left): > > https://codereview.chromium.org/986333002/diff/1/chrome/browser/extensions/ex... > chrome/browser/extensions/extension_install_prompt_unittest.cc:112: > ListBuilder().Append("location"))) > On 2015/03/09 16:33:53, kalman wrote: > > On 2015/03/09 14:05:59, Marc Treib wrote: > > > For some reason, "location" does not result in any warning message on Win > > > official (both in optional and required permissions). Out of curiosity: Do > you > > > know why? > > > > Well that's weird. Location is supposed to be a valid permission. > > Yup, especially as it works fine on all the other platforms - it's only in Win > Official builds that it doesn't. I guess I should investigate... what channel do the win official builds run?
Message was sent while issue was closed.
On 2015/03/09 17:32:55, kalman wrote: > On 2015/03/09 17:30:40, Marc Treib wrote: > > > https://codereview.chromium.org/986333002/diff/1/chrome/browser/extensions/ex... > > File chrome/browser/extensions/extension_install_prompt_unittest.cc (left): > > > > > https://codereview.chromium.org/986333002/diff/1/chrome/browser/extensions/ex... > > chrome/browser/extensions/extension_install_prompt_unittest.cc:112: > > ListBuilder().Append("location"))) > > On 2015/03/09 16:33:53, kalman wrote: > > > On 2015/03/09 14:05:59, Marc Treib wrote: > > > > For some reason, "location" does not result in any warning message on Win > > > > official (both in optional and required permissions). Out of curiosity: Do > > you > > > > know why? > > > > > > Well that's weird. Location is supposed to be a valid permission. > > > > Yup, especially as it works fine on all the other platforms - it's only in Win > > Official builds that it doesn't. I guess I should investigate... > > what channel do the win official builds run? I don't know. I can reproduce this locally though (with just "branding=Chrome buildtype=Official"). I just haven't bothered to track it down yet, since official builds on Windows take ages.
Message was sent while issue was closed.
On 2015/03/09 17:36:45, Marc Treib wrote: > On 2015/03/09 17:32:55, kalman wrote: > > On 2015/03/09 17:30:40, Marc Treib wrote: > > > > > > https://codereview.chromium.org/986333002/diff/1/chrome/browser/extensions/ex... > > > File chrome/browser/extensions/extension_install_prompt_unittest.cc (left): > > > > > > > > > https://codereview.chromium.org/986333002/diff/1/chrome/browser/extensions/ex... > > > chrome/browser/extensions/extension_install_prompt_unittest.cc:112: > > > ListBuilder().Append("location"))) > > > On 2015/03/09 16:33:53, kalman wrote: > > > > On 2015/03/09 14:05:59, Marc Treib wrote: > > > > > For some reason, "location" does not result in any warning message on > Win > > > > > official (both in optional and required permissions). Out of curiosity: > Do > > > you > > > > > know why? > > > > > > > > Well that's weird. Location is supposed to be a valid permission. > > > > > > Yup, especially as it works fine on all the other platforms - it's only in > Win > > > Official builds that it doesn't. I guess I should investigate... > > > > what channel do the win official builds run? > > I don't know. I can reproduce this locally though (with just "branding=Chrome > buildtype=Official"). I just haven't bothered to track it down yet, since > official builds on Windows take ages. Following up, in case you're curious: Your hunch about the channel was correct. location requires Dev or newer (https://code.google.com/p/chromium/codesearch#chromium/src/chrome/common/exte...), and official builds run as stable.
Message was sent while issue was closed.
On 2015/03/11 14:02:42, Marc Treib wrote: > On 2015/03/09 17:36:45, Marc Treib wrote: > > On 2015/03/09 17:32:55, kalman wrote: > > > On 2015/03/09 17:30:40, Marc Treib wrote: > > > > > > > > > > https://codereview.chromium.org/986333002/diff/1/chrome/browser/extensions/ex... > > > > File chrome/browser/extensions/extension_install_prompt_unittest.cc > (left): > > > > > > > > > > > > > > https://codereview.chromium.org/986333002/diff/1/chrome/browser/extensions/ex... > > > > chrome/browser/extensions/extension_install_prompt_unittest.cc:112: > > > > ListBuilder().Append("location"))) > > > > On 2015/03/09 16:33:53, kalman wrote: > > > > > On 2015/03/09 14:05:59, Marc Treib wrote: > > > > > > For some reason, "location" does not result in any warning message on > > Win > > > > > > official (both in optional and required permissions). Out of > curiosity: > > Do > > > > you > > > > > > know why? > > > > > > > > > > Well that's weird. Location is supposed to be a valid permission. > > > > > > > > Yup, especially as it works fine on all the other platforms - it's only in > > Win > > > > Official builds that it doesn't. I guess I should investigate... > > > > > > what channel do the win official builds run? > > > > I don't know. I can reproduce this locally though (with just "branding=Chrome > > buildtype=Official"). I just haven't bothered to track it down yet, since > > official builds on Windows take ages. > > Following up, in case you're curious: Your hunch about the channel was correct. > location requires Dev or newer > (https://code.google.com/p/chromium/codesearch#chromium/src/chrome/common/exte...), > and official builds run as stable. Alright cool. For future reference you can override the channel for testing (ScopedCurrentChannel) though that shouldn't be necessary here. |