DescriptionFix crash when reloading packaged app.
When a shell window was closed, it wasn't removed from the registry immediately
(it was removed in a callback from OnNativeClose, which happens a bit later.)
This meant that when the app was loaded again, the window was still in the
registry with a stale pointer to the old extension. ExtensionSettingsHandler
was tickling this by iterating shell windows on extension load.
BUG=174250
TEST=On chromeos, enable the 'Enable debugging for packed apps.' flag. Then
open chrome://extensions. Then open a packaged app, and reload it. Chrome
should not crash.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=214844
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=215745
Patch Set 1 #Patch Set 2 : With jeremya's change merged in #
Total comments: 2
Patch Set 3 : Feedback #Patch Set 4 : Rebase #Patch Set 5 : Fix stuff up #Patch Set 6 : Rebase #Patch Set 7 : Rebase to after mac app shim fix #
Messages
Total messages: 20 (0 generated)
|