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

Issue 10949017: Allow extensions which can run without NPAPI to run under Windows 8 Metro. (Closed)

Created:
8 years, 3 months ago by Wez
Modified:
8 years, 3 months ago
Reviewers:
Aaron Boodman
CC:
chromium-reviews, Aaron Boodman, mihaip-chromium-reviews_chromium.org, jstritar
Visibility:
Public.

Description

Allow extensions which can run without NPAPI to run under Windows 8 Metro. Extensions which include NPAPI plugins are assumed to require them, causing them to be blocked on Windows 8 Metro mode, where NPAPI is not supported. This CL allows extensions which include NPAPI plugins, but which can still run without them, to load in Windows 8 Metro mode. It also fixes the handling of extensions with no explicit NPAPI requirement. BUG=130405 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=158217

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address review comments and add test cases. #

Patch Set 3 : Add NPAPI-not-required to uitest plugins tests, so they work as before. #

Patch Set 4 : Patch cross-origin-XHR all-URLs test for ChromeOS. #

Messages

Total messages: 14 (0 generated)
Wez
PTAL http://codereview.chromium.org/10949017/diff/1/chrome/browser/extensions/requirements_checker.cc File chrome/browser/extensions/requirements_checker.cc (right): http://codereview.chromium.org/10949017/diff/1/chrome/browser/extensions/requirements_checker.cc#newcode44 chrome/browser/extensions/requirements_checker.cc:44: if (base::win::IsMetroProcess()) { If we assume that it ...
8 years, 3 months ago (2012-09-19 06:34:13 UTC) #1
Aaron Boodman
Done. It would be good to have some unit tests though. Is it possible to ...
8 years, 3 months ago (2012-09-19 21:34:52 UTC) #2
Wez
http://codereview.chromium.org/10949017/diff/1/chrome/common/extensions/extension.cc File chrome/common/extensions/extension.cc (right): http://codereview.chromium.org/10949017/diff/1/chrome/common/extensions/extension.cc#newcode1503 chrome/common/extensions/extension.cc:1503: requirements_.npapi = true; On 2012/09/19 21:34:52, Aaron Boodman wrote: ...
8 years, 3 months ago (2012-09-21 00:13:56 UTC) #3
Aaron Boodman
I'd prefer the code moved, but don't want to hold up submission. LGTM http://codereview.chromium.org/10949017/diff/1/chrome/common/extensions/extension.cc File ...
8 years, 3 months ago (2012-09-21 02:33:08 UTC) #4
Wez
FYI. I've also added a couple of new test cases. http://codereview.chromium.org/10949017/diff/1/chrome/common/extensions/extension.cc File chrome/common/extensions/extension.cc (right): http://codereview.chromium.org/10949017/diff/1/chrome/common/extensions/extension.cc#newcode1503 ...
8 years, 3 months ago (2012-09-22 07:21:00 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wez@chromium.org/10949017/7001
8 years, 3 months ago (2012-09-22 07:21:41 UTC) #6
commit-bot: I haz the power
Retried try job too often for step(s) browser_tests
8 years, 3 months ago (2012-09-22 09:58:26 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wez@chromium.org/10949017/7001
8 years, 3 months ago (2012-09-22 17:21:42 UTC) #8
commit-bot: I haz the power
Retried try job too often for step(s) browser_tests
8 years, 3 months ago (2012-09-22 19:45:48 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wez@chromium.org/10949017/15002
8 years, 3 months ago (2012-09-23 07:18:11 UTC) #10
commit-bot: I haz the power
Retried try job too often for step(s) browser_tests
8 years, 3 months ago (2012-09-23 09:29:01 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wez@chromium.org/10949017/19001
8 years, 3 months ago (2012-09-23 19:12:22 UTC) #12
Wez
jstritar: The CrossOriginXHR.AllURLs test doesn't test anything on ChromeOS, because NPAPI plugins are blocked; would ...
8 years, 3 months ago (2012-09-23 19:12:23 UTC) #13
commit-bot: I haz the power
8 years, 3 months ago (2012-09-23 21:12:04 UTC) #14
Change committed as 158217

Powered by Google App Engine
This is Rietveld 408576698