Bug 626975 - Trap Google Earth out-of-process messages destined for plugin instances. Prevents spurious incalls on the browser which violate our rpc rules. r=bent

This commit is contained in:
Jim Mathies 2011-07-27 17:15:25 -05:00
parent 055e1bc6f2
commit 4c1e056938

View File

@ -396,6 +396,13 @@ WindowIsDeferredWindow(HWND hWnd)
return true;
}
// Google Earth bridging msg window between the plugin instance and a separate
// earth process. The earth process can trigger a plugin incall on the browser
// at any time, which is badness if the instance is already making an incall.
if (className.EqualsLiteral("__geplugin_bridge_window__")) {
return true;
}
// nsNativeAppSupport makes a window like "FirefoxMessageWindow" based on the
// toolkit app's name. It's pretty expensive to calculate this so we only try
// once.