mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
Bug 1166362 - Let SessionStore ignore <xul:browser>s without a permanentKey property r=Gijs
This commit is contained in:
parent
9157019656
commit
95648e26fd
@ -812,7 +812,7 @@ let SessionStoreInternal = {
|
||||
this.onBrowserCrashed(win, target);
|
||||
break;
|
||||
case "XULFrameLoaderCreated":
|
||||
if (target.tagName == "browser" && target.frameLoader) {
|
||||
if (target.tagName == "browser" && target.frameLoader && target.permanentKey) {
|
||||
this._lastKnownFrameLoader.set(target.permanentKey, target.frameLoader);
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user