Bug 1486630 - Remove _manifestURI field and handling of the MozApplicationManifest message. r=mconley

Remove the _manifestURI field and handling of the MozApplicationManifest message.

Differential Revision: https://phabricator.services.mozilla.com/D5336

--HG--
extra : moz-landing-system : lando
This commit is contained in:
alecclarke 2018-09-12 15:21:14 +00:00
Родитель 3d83d6e742
Коммит 960d3048f8
4 изменённых файлов: 0 добавлений и 16 удалений

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

@ -32,15 +32,6 @@ class OfflineAppsChild extends ActorChild {
handleEvent(event) {
if (event.type == "MozApplicationManifest") {
let doc = event.target;
let info = {
uri: doc.documentURI,
characterSet: doc.characterSet,
manifest: doc.documentElement.getAttribute("manifest"),
principal: doc.nodePrincipal,
};
this.mm.sendAsyncMessage("MozApplicationManifest", info);
this.offlineAppRequested(event.originalTarget.defaultView);
}
}

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

@ -34,7 +34,6 @@ const SWAPPED_BROWSER_STATE = [
"_textZoom",
"_isSyntheticDocument",
"_innerWindowID",
"_manifestURI",
];
/**

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

@ -1360,7 +1360,6 @@
"_textZoom",
"_isSyntheticDocument",
"_innerWindowID",
"_manifestURI",
]);
}

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

@ -400,7 +400,6 @@
this.messageManager.addMessageListener("FullZoomChange", this);
this.messageManager.addMessageListener("TextZoomChange", this);
this.messageManager.addMessageListener("ZoomChangeUsingMouseWheel", this);
this.messageManager.addMessageListener("MozApplicationManifest", this);
// browser-child messages, such as Content:LocationChange, are handled in
// RemoteWebProgress, ensure it is loaded and ready.
@ -529,10 +528,6 @@
break;
}
case "MozApplicationManifest":
this._manifestURI = aMessage.data.manifest;
break;
default:
// Delegate to browser.xml.
return this._receiveMessage(aMessage);