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

Description Fady Samuel 2012-05-15 15:06:26 PDT
[Chromium] Reset ScriptInstance in HTMLPlugInElement on WebPluginContainerImpl::setPlugin
Comment 1 Fady Samuel 2012-05-15 15:09:11 PDT
Created attachment 142071 [details]
Patch
Comment 2 Fady Samuel 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.
Comment 3 WebKit Review Bot 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>
Comment 4 WebKit Review Bot 2012-05-15 18:59:21 PDT
All reviewed patches have been landed.  Closing bug.