Description[MD Extensions] Respond with a load error when loading unpacked fails
When loading an unpacked extension fails, respond with a load error that
indicates the error and includes the manifest file source to display to
the user. Typically, we'd surface an error through runtime.lastError,
but that doesn't allow for a rich response that includes multiple
fields.
To preserve backwards compatibility, only respond with the error when a
populateError flag is passed.
Add tests for the same.
BUG=529395
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Review-Url: https://codereview.chromium.org/2767173002
Cr-Commit-Position: refs/heads/master@{#458971}
Committed: https://chromium.googlesource.com/chromium/src/+/c0877b06e466515ade9f012d4cce403983421dad
Patch Set 1 #
Total comments: 6
Patch Set 2 : nits #Patch Set 3 : . #
Depends on Patchset: Messages
Total messages: 19 (14 generated)
|