зеркало из https://github.com/mozilla/gecko-dev.git
Bug 788866 - [B2G] mochitests fail to focus test window. r=smaug, f=ahal
This commit is contained in:
Родитель
3c4a6b56c6
Коммит
9c0612ba1e
|
@ -59,7 +59,9 @@ loader.loadSubScript("chrome://specialpowers/content/SpecialPowersObserver.js",
|
|||
let specialPowersObserver = new specialpowers.SpecialPowersObserver();
|
||||
specialPowersObserver.init();
|
||||
|
||||
let mm = container.QueryInterface(Ci.nsIFrameLoaderOwner).frameLoader.messageManager;
|
||||
let fl = container.QueryInterface(Ci.nsIFrameLoaderOwner).frameLoader;
|
||||
fl.activateRemoteFrame();
|
||||
let mm = fl.messageManager;
|
||||
mm.addMessageListener("SPPrefService", specialPowersObserver);
|
||||
mm.addMessageListener("SPProcessCrashService", specialPowersObserver);
|
||||
mm.addMessageListener("SPPingService", specialPowersObserver);
|
||||
|
|
Загрузка…
Ссылка в новой задаче