Bug 802895 - Add srcdoc iframe support to session restore r=bz

This commit is contained in:
James Kitchener 2013-06-28 23:13:23 -04:00
Родитель c67faac389
Коммит 74ed91b164
1 изменённых файлов: 8 добавлений и 0 удалений

Просмотреть файл

@ -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"].