Bug 86535

Summary: [Chromium] Reset ScriptInstance in HTMLPlugInElement on WebPluginContainerImpl::setPlugin
Product: WebKit Reporter: Fady Samuel <fsamuel>
Component: New BugsAssignee: Fady Samuel <fsamuel>
Status: RESOLVED FIXED    
Severity: Normal CC: fishd, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Fady Samuel
Reported 2012-05-15 15:06:26 PDT
[Chromium] Reset ScriptInstance in HTMLPlugInElement on WebPluginContainerImpl::setPlugin
Attachments
Patch (4.25 KB, patch)
2012-05-15 15:09 PDT, Fady Samuel
no flags
Fady Samuel
Comment 1 2012-05-15 15:09:11 PDT
Fady Samuel
Comment 2 2012-05-15 15:18:43 PDT
We would like to be able to postMessage to the browser plugin. However, as we do cross-process navigation, we swap out WebPluginImpls and a stale, invalid ScriptInstance object continues being used in HTMLPlugInElement and so the postMessages never arrive after cross-process navigation. This patch fixes this issue.
WebKit Review Bot
Comment 3 2012-05-15 18:59:17 PDT
Comment on attachment 142071 [details] Patch Clearing flags on attachment: 142071 Committed r117203: <http://trac.webkit.org/changeset/117203>
WebKit Review Bot
Comment 4 2012-05-15 18:59:21 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.