зеркало из https://github.com/mozilla/gecko-dev.git
Bug 802895 - Add srcdoc iframe support to session restore r=bz
This commit is contained in:
Родитель
c67faac389
Коммит
74ed91b164
|
@ -2077,6 +2077,12 @@ let SessionStoreInternal = {
|
|||
if (aEntry.referrerURI)
|
||||
entry.referrer = aEntry.referrerURI.spec;
|
||||
|
||||
if (aEntry.srcdocData)
|
||||
entry.srcdocData = aEntry.srcdocData;
|
||||
|
||||
if (aEntry.isSrcdocEntry)
|
||||
entry.isSrcdocEntry = aEntry.isSrcdocEntry;
|
||||
|
||||
if (aEntry.contentType)
|
||||
entry.contentType = aEntry.contentType;
|
||||
|
||||
|
@ -3317,6 +3323,8 @@ let SessionStoreInternal = {
|
|||
shEntry.contentType = aEntry.contentType;
|
||||
if (aEntry.referrer)
|
||||
shEntry.referrerURI = this._getURIFromString(aEntry.referrer);
|
||||
if (aEntry.isSrcdocEntry)
|
||||
shEntry.srcdocData = aEntry.srcdocData;
|
||||
|
||||
if (aEntry.cacheKey) {
|
||||
var cacheKey = Cc["@mozilla.org/supports-PRUint32;1"].
|
||||
|
|
Загрузка…
Ссылка в новой задаче