Chromium Code Reviews
Description[Extensions Bindings] Support chrome.extension.lastError
For legacy reasons, we surface errors through both
chrome.runtime.lastError and chrome.extension.lastError (though the
latter is both less fancy [it doesn't check for access] and also not
available in all contexts). Allow for providing a "secondary parent"
object to the APILastError object to support this.
Add unittests and end-to-end tests for the same.
BUG=653596
Review-Url: https://codereview.chromium.org/2953133002
Cr-Commit-Position: refs/heads/master@{#483055}
Committed: https://chromium.googlesource.com/chromium/src/+/63bbcde542abb20fbadae32ddf2008811a3068ed
Patch Set 1 #Patch Set 2 : . #Patch Set 3 : . #
Total comments: 11
Patch Set 4 : jbroman's, lazyboy's #Messages
Total messages: 20 (14 generated)
|