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

Issue 2245143004: Make sure there is no crash on parsing empty manifest (Closed)

Created:
4 years, 4 months ago by Rafał Chłodnicki
Modified:
4 years, 4 months ago
Reviewers:
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.

Description

Make sure there is no crash on parsing empty manifest Changes match the logic in SourceHighlighter in the same file and will result in UI showing message akin to 'No source file available'. This is fine as already the same happens for other source files in bundled extensions. BUG=627896 Committed: https://crrev.com/c4ae40ddcf81bddd262d56b9a7523466a4adba8f Cr-Commit-Position: refs/heads/master@{#412556}

Patch Set 1 #

Patch Set 2 : fixup! Make sure there is no crash on parsing empty manifest #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -3 lines) Patch
M extensions/browser/file_highlighter.cc View 2 chunks +5 lines, -3 lines 2 comments Download
M extensions/browser/file_highlighter_unittest.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
Rafał Chłodnicki
4 years, 4 months ago (2016-08-17 13:27:02 UTC) #2
Devlin
lgtm, thanks for the patch! https://codereview.chromium.org/2245143004/diff/20001/extensions/browser/file_highlighter.cc File extensions/browser/file_highlighter.cc (right): https://codereview.chromium.org/2245143004/diff/20001/extensions/browser/file_highlighter.cc#newcode117 extensions/browser/file_highlighter.cc:117: start_ = start_ == ...
4 years, 4 months ago (2016-08-17 15:14:04 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2245143004/20001
4 years, 4 months ago (2016-08-17 15:54:23 UTC) #5
Rafał Chłodnicki
https://codereview.chromium.org/2245143004/diff/20001/extensions/browser/file_highlighter.cc File extensions/browser/file_highlighter.cc (right): https://codereview.chromium.org/2245143004/diff/20001/extensions/browser/file_highlighter.cc#newcode117 extensions/browser/file_highlighter.cc:117: start_ = start_ == std::string::npos ? contents_.size() : start_ ...
4 years, 4 months ago (2016-08-17 15:54:30 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-17 16:38:50 UTC) #7
commit-bot: I haz the power
4 years, 4 months ago (2016-08-17 16:40:50 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/c4ae40ddcf81bddd262d56b9a7523466a4adba8f
Cr-Commit-Position: refs/heads/master@{#412556}

Powered by Google App Engine
This is Rietveld 408576698