Bug 1126018 - [e10s] Add shims for some observer topics (r=mconley)

This commit is contained in:
Bill McCloskey 2015-01-29 11:24:46 -08:00
parent dcdd0c7523
commit 44cfe42f6a

View File

@ -329,8 +329,13 @@ let ObserverParent = {
ObserverParent.init();
// We only forward observers for these topics.
let TOPIC_WHITELIST = ["content-document-global-created",
"document-element-inserted",];
let TOPIC_WHITELIST = [
"content-document-global-created",
"document-element-inserted",
"dom-window-destroyed",
"inner-window-destroyed",
"outer-window-destroyed",
];
// This interposition listens for
// nsIObserverService.{add,remove}Observer.