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

Issue 2572833004: Only whitelist messages.json files in _locales for content verification (Closed)

Created:
4 years ago by asargent_no_longer_on_chrome
Modified:
3 years, 8 months ago
Reviewers:
lazyboy
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Only whitelist messages.json files in _locales for content verification The messages.json files used for i18n/l10n get transcoded during the extension install process, so we need to avoid doing content verification checks on them because we expect their contents to be modified. The code we had for testing whether a path should be skipped because of this was incorrect, skipping more files than it should. BUG=672008

Patch Set 1 #

Patch Set 2 : fix windows compile and expand comment #

Patch Set 3 : fix windows compile (again) #

Patch Set 4 : turn on logging to try and understand win_chromium_x64_rel_ng test failures #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -60 lines) Patch
M chrome/browser/extensions/content_verifier_browsertest.cc View 1 2 2 chunks +55 lines, -44 lines 0 comments Download
A chrome/test/data/extensions/content_verifier/content_script_locales.crx View Binary file 0 comments Download
M extensions/browser/content_hash_fetcher.cc View 1 2 3 4 chunks +8 lines, -8 lines 0 comments Download
M extensions/browser/content_verifier.cc View 1 2 3 4 chunks +9 lines, -5 lines 0 comments Download
M extensions/browser/content_verify_job.cc View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 24 (18 generated)
asargent_no_longer_on_chrome
4 years ago (2016-12-15 00:25:46 UTC) #13
lazyboy
lgtm. It seems win_x64 bot is failing.
4 years ago (2016-12-15 23:48:22 UTC) #20
elawrence
On 2016/12/15 00:25:46, Antony Sargent wrote: In the bug, one thing he mentioned was "Similar ...
4 years ago (2016-12-16 15:59:15 UTC) #21
asargent_no_longer_on_chrome
On 2016/12/16 15:59:15, elawrence wrote: > On 2016/12/15 00:25:46, Antony Sargent wrote: > > In ...
4 years ago (2016-12-16 18:46:56 UTC) #22
lazyboy
@asargent, I've landed this change at: https://codereview.chromium.org/2834873002/ You can close this one now!
3 years, 8 months ago (2017-04-26 01:14:38 UTC) #23
asargent_no_longer_on_chrome
3 years, 8 months ago (2017-04-26 16:47:44 UTC) #24
Ok!

Powered by Google App Engine
This is Rietveld 408576698