DescriptionFix chrome.extension.getViews returns multiple popup windows.
When we invoke +[ExtensionPopupController showURL:...],
we close the old Popup using [gPopup close],but we don't
release it here. So host_ is only released
when -[ExtensionPopupController windowWillClose] is invoked.
At this time, the new popup might be ready. And when we use
chrome.extension.getViews or some other apis we might get
the dying window.
So move shutdown of host_ from -[ExtensionPopupController windowWillClose]
into -[ExtensionPopupController close].
BUG=376511
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276355
Patch Set 1 #
Total comments: 1
Messages
Total messages: 7 (0 generated)
|