Closed Bug 1340748 Opened 7 years ago Closed 7 years ago
Plugin Instance should use async IPC
In this profile https://perfht.ml/2lWIv42 we're waiting for 85ms for a plugin to stop, from an asynchronous CheckPluginStopEvent. This looks like it could easily be made asynchronous.
Careful, here be dragons! Back when I was working on async plugin init, I spoke to Adobe people about making plugin destruction async, but it sounds like Flash allows its content scripts to call back into the browser during NPP_Destroy.
... wow. How should we approach this? Could we add telemetry to find out how often this happens, and if it's not used for important things, disallow it?
We're approaching this by making Flash click-to-activate and blocking Flash on advertising domains. I don't think we should try to engineer async plugin shutdown because of the high risk of regressions.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.