Bug 113265

Summary: When a primary plugin is restarted, also start similar plugins
Product: WebKit Reporter: Dean Jackson <dino>
Component: Plug-insAssignee: Dean Jackson <dino>
Status: RESOLVED FIXED    
Severity: Normal CC: esprehn+autocc, jonlee, ojan.autocc, thorton, webkit.review.bot
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch thorton: review+

Description Dean Jackson 2013-03-25 19:36:46 PDT
We have the ability to detect if a page has a primary plugin, and restart such a plugin if it has been snapshotted. In this case, we should also restart similar plugins in the page (from the same origins and with the same types).

<rdar://problem/13486852>
Comment 1 Dean Jackson 2013-03-25 19:46:52 PDT
Created attachment 194986 [details]
Patch
Comment 2 Dean Jackson 2013-03-25 19:48:55 PDT
Created attachment 194987 [details]
Patch
Comment 3 Dean Jackson 2013-03-26 14:15:28 PDT
Created attachment 195159 [details]
Patch
Comment 4 Tim Horton 2013-03-26 14:20:40 PDT
Comment on attachment 195159 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=195159&action=review

> Source/WebKit2/WebProcess/WebProcess.h:288
> +    String m_primaryPlugInPageOrigin;
> +    String m_primaryPlugInOrigin;
> +    String m_primaryPlugInMimeType;

Why is this per-process?
Comment 5 Dean Jackson 2013-03-26 16:33:00 PDT
Created attachment 195185 [details]
Patch
Comment 6 Dean Jackson 2013-03-26 16:34:27 PDT
Comment on attachment 195185 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=195185&action=review

> Source/WebCore/ChangeLog:23
> +        (WebCore):

I will remove this line.
Comment 7 Dean Jackson 2013-03-26 17:16:06 PDT
Committed r146946: <http://trac.webkit.org/changeset/146946>