Bug 118572

Summary: Plugins that don't support snapshotting should not all autostart.
Product: WebKit Reporter: Roger Fong <roger_fong>
Component: Plug-insAssignee: Roger Fong <roger_fong>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, dino, esprehn+autocc, glenn, jonlee, roger_fong, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch dino: review+

Description Roger Fong 2013-07-11 11:09:48 PDT
Currently plugins that don't support snapshotting all autostart (quicktime, silverlight, etc). 
This should not be the case.
Comment 1 Roger Fong 2013-07-11 11:12:37 PDT
Created attachment 206477 [details]
Patch
Comment 2 Dean Jackson 2013-07-11 16:22:19 PDT
Comment on attachment 206477 [details]
Patch

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

> Source/WebCore/html/HTMLPlugInImageElement.cpp:387
> +    argList.append(JSC::jsBoolean(!m_snapshotImage));

I think we should put a comment here to explain that this parameter determines if the overlay should be always visible, which we want when we don't have a good snapshot.
Comment 3 Roger Fong 2013-07-11 16:55:01 PDT
<rdar://problem/14324391>
Comment 4 Roger Fong 2013-07-11 17:01:53 PDT
Committed: http://trac.webkit.org/changeset/152580