mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Bug 1274567 - Use DOMWindowCreated instead DOMContentLoaded to propagate the userContextId from content to parent process, r=smaug
This commit is contained in:
parent
1f71554d48
commit
8114924ff8
@ -874,11 +874,11 @@ RefreshBlocker.init();
|
||||
|
||||
var UserContextIdNotifier = {
|
||||
init() {
|
||||
addEventListener("DOMContentLoaded", this);
|
||||
addEventListener("DOMWindowCreated", this);
|
||||
},
|
||||
|
||||
uninit() {
|
||||
removeEventListener("DOMContentLoaded", this);
|
||||
removeEventListener("DOMWindowCreated", this);
|
||||
},
|
||||
|
||||
handleEvent(aEvent) {
|
||||
|
Loading…
Reference in New Issue
Block a user