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

Issue 9705083: Unknown options in extension manifest file are silently ignored (Closed)

Created:
8 years, 9 months ago by mitchellwrosen
Modified:
8 years, 7 months ago
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Unknown options in extension manifest file are silently ignored Added a red warning beneath "Inspect active views" (when in developer mode on chrome://settings/extensions) if a loaded extension contains an unrecognized manifest key. BUG=73693 TEST=Manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=136519

Patch Set 1 #

Patch Set 2 : Removed an accedentally-included file #

Total comments: 29

Patch Set 3 : Changes per comments #

Total comments: 2

Patch Set 4 : Reduced to a couple lines #

Total comments: 2

Patch Set 5 : Fixed unit test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -5 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/webdata/web_database_migration_unittest.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/common/extensions/manifest.cc View 1 2 3 4 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/common/extensions/manifest_unittest.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
mitchellwrosen
8 years, 9 months ago (2012-03-15 23:19:37 UTC) #1
mitchellwrosen
8 years, 8 months ago (2012-03-31 00:14:02 UTC) #2
mitchellwrosen
8 years, 8 months ago (2012-04-07 21:13:29 UTC) #3
James Hawkins
https://chromiumcodereview.appspot.com/9705083/diff/2001/chrome/browser/resources/extensions/extension_list.js File chrome/browser/resources/extensions/extension_list.js (right): https://chromiumcodereview.appspot.com/9705083/diff/2001/chrome/browser/resources/extensions/extension_list.js#newcode235 chrome/browser/resources/extensions/extension_list.js:235: // Then unrecognized manifest keys nit: Please turn this ...
8 years, 8 months ago (2012-04-08 20:33:23 UTC) #4
not at google - send to devlin
just looked at a bit of the C++, gotta run, will look at the rest ...
8 years, 8 months ago (2012-04-09 13:01:54 UTC) #5
not at google - send to devlin
rest of the comments. http://codereview.chromium.org/9705083/diff/2001/chrome/browser/resources/extensions/extension_list.js File chrome/browser/resources/extensions/extension_list.js (right): http://codereview.chromium.org/9705083/diff/2001/chrome/browser/resources/extensions/extension_list.js#newcode235 chrome/browser/resources/extensions/extension_list.js:235: // Then unrecognized manifest keys ...
8 years, 8 months ago (2012-04-10 02:02:32 UTC) #6
mitchellwrosen
https://chromiumcodereview.appspot.com/9705083/diff/2001/chrome/browser/resources/extensions/extension_list.js File chrome/browser/resources/extensions/extension_list.js (right): https://chromiumcodereview.appspot.com/9705083/diff/2001/chrome/browser/resources/extensions/extension_list.js#newcode235 chrome/browser/resources/extensions/extension_list.js:235: // Then unrecognized manifest keys On 2012/04/08 20:33:23, James ...
8 years, 7 months ago (2012-04-28 19:02:39 UTC) #7
not at google - send to devlin
I think we should be just reusing the install_warnings property from Extension, it makes sense ...
8 years, 7 months ago (2012-04-30 02:32:36 UTC) #8
not at google - send to devlin
Hey, looks like code keeps changing around you :) Have a look at https://chromiumcodereview.appspot.com/10217017
8 years, 7 months ago (2012-05-01 00:14:13 UTC) #9
mitchellwrosen
8 years, 7 months ago (2012-05-01 02:36:48 UTC) #10
not at google - send to devlin
lgtm https://chromiumcodereview.appspot.com/9705083/diff/16003/chrome/common/extensions/manifest.cc File chrome/common/extensions/manifest.cc (right): https://chromiumcodereview.appspot.com/9705083/diff/16003/chrome/common/extensions/manifest.cc#newcode54 chrome/common/extensions/manifest.cc:54: (*key).c_str())); key->c_str()
8 years, 7 months ago (2012-05-01 04:04:01 UTC) #11
mitchellwrosen
https://chromiumcodereview.appspot.com/9705083/diff/16003/chrome/common/extensions/manifest.cc File chrome/common/extensions/manifest.cc (right): https://chromiumcodereview.appspot.com/9705083/diff/16003/chrome/common/extensions/manifest.cc#newcode54 chrome/common/extensions/manifest.cc:54: (*key).c_str())); On 2012/05/01 04:04:01, kalman wrote: > key->c_str() But ...
8 years, 7 months ago (2012-05-01 04:18:46 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mitchellwrosen@chromium.org/9705083/16003
8 years, 7 months ago (2012-05-01 04:19:25 UTC) #13
commit-bot: I haz the power
Try job failure for 9705083-16003 (retry) on mac_rel for step "unit_tests". It's a second try, ...
8 years, 7 months ago (2012-05-01 05:06:48 UTC) #14
not at google - send to devlin
On 2012/05/01 05:06:48, I haz the power (commit-bot) wrote: > Try job failure for 9705083-16003 ...
8 years, 7 months ago (2012-05-03 03:14:01 UTC) #15
not at google - send to devlin
On 2012/05/01 05:06:48, I haz the power (commit-bot) wrote: > Try job failure for 9705083-16003 ...
8 years, 7 months ago (2012-05-03 03:14:01 UTC) #16
mitchellwrosen
On 2012/05/03 03:14:01, kalman wrote: > On 2012/05/01 05:06:48, I haz the power (commit-bot) wrote: ...
8 years, 7 months ago (2012-05-04 21:32:57 UTC) #17
mitchellwrosen
(referring to chrome/common/extensions/manifest_unittest.cc, by the way)
8 years, 7 months ago (2012-05-04 21:33:55 UTC) #18
not at google - send to devlin
yep, sgtm.
8 years, 7 months ago (2012-05-06 23:01:44 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mitchellwrosen@chromium.org/9705083/31002
8 years, 7 months ago (2012-05-09 03:44:14 UTC) #20
commit-bot: I haz the power
Try job failure for 9705083-31002 (retry) on win_rel for step "update". It's a second try, ...
8 years, 7 months ago (2012-05-09 05:54:06 UTC) #21
not at google - send to devlin
The CQ has been having problems. I'll try to dcommit this when I have the ...
8 years, 7 months ago (2012-05-09 05:55:20 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mitchellwrosen@chromium.org/9705083/31002
8 years, 7 months ago (2012-05-11 04:42:18 UTC) #23
commit-bot: I haz the power
8 years, 7 months ago (2012-05-11 07:04:18 UTC) #24
Change committed as 136519

Powered by Google App Engine
This is Rietveld 408576698