Bug 1510569 - Move Content:BrowserChildReady from WebProgressChild.jsm into the browser child frame script r=mconley

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

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Barret Rennie 2019-06-13 21:00:14 +00:00
Родитель eb167a0197
Коммит fa0bdf0264
2 изменённых файлов: 4 добавлений и 3 удалений

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

@ -15,6 +15,10 @@ docShell.QueryInterface(Ci.nsIInterfaceRequestor)
.getInterface(Ci.nsIBrowserChild)
.beginSendingWebProgressEventsToParent();
// This message is used to measure content process startup performance in Talos
// tests.
sendAsyncMessage("Content:BrowserChildReady", { time: Services.telemetry.msSystemNow() });
addEventListener("DOMTitleChanged", function(aEvent) {
if (!aEvent.isTrusted || aEvent.target.defaultView != content)
return;

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

@ -34,9 +34,6 @@ class WebProgressChild {
let webProgress = this.mm.docShell.QueryInterface(Ci.nsIInterfaceRequestor)
.getInterface(Ci.nsIWebProgress);
webProgress.addProgressListener(this._filter, notifyCode);
// This message is used for measuring this.mm.content process startup performance.
this.mm.sendAsyncMessage("Content:BrowserChildReady", { time: Services.telemetry.msSystemNow() });
}
_requestSpec(aRequest, aPropertyName) {