Bug 1274567 - Use DOMWindowCreated instead DOMContentLoaded to propagate the userContextId from content to parent process, r=smaug

This commit is contained in:
Andrea Marchesini 2016-05-22 16:27:27 +02:00
parent 1f71554d48
commit 8114924ff8

View File

@ -874,11 +874,11 @@ RefreshBlocker.init();
var UserContextIdNotifier = {
init() {
addEventListener("DOMContentLoaded", this);
addEventListener("DOMWindowCreated", this);
},
uninit() {
removeEventListener("DOMContentLoaded", this);
removeEventListener("DOMWindowCreated", this);
},
handleEvent(aEvent) {