DescriptionInclude terminated extensions while retrieving extension version.
If an extension is terminated at the time of update, we wouldn't
fetch (ExtensionRegistry::GetStoredVersion) its correct version
to dispatch runtime.onInstalled. Fix this by including
terminated extensions.
Add a unit_test.
BUG=724563
Test=chrome.runtime.onInstalled should send correct previousVersion
for an extension that was terminated during update.
Review-Url: https://codereview.chromium.org/2908513002
Cr-Commit-Position: refs/heads/master@{#475007}
Committed: https://chromium.googlesource.com/chromium/src/+/c290763a1b98e8c9815e87e326b13a314605bf98
Patch Set 1 #Patch Set 2 : add regression browser_test #
Total comments: 1
Patch Set 3 : move test to extension_registry_unittest #
Total comments: 2
Patch Set 4 : fix browsertest #Messages
Total messages: 23 (15 generated)
|