<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>99778</bug_id>
          
          <creation_ts>2012-10-18 17:13:54 -0700</creation_ts>
          <short_desc>Automatically start plugins created within a user gesture, skipping snapshotting</short_desc>
          <delta_ts>2012-10-18 22:36:14 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Kiran Muppala">cmuppala</reporter>
          <assigned_to name="Kiran Muppala">cmuppala</assigned_to>
          <cc>beidson</cc>
    
    <cc>jonlee</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>745761</commentid>
    <comment_count>0</comment_count>
    <who name="Kiran Muppala">cmuppala</who>
    <bug_when>2012-10-18 17:13:54 -0700</bug_when>
    <thetext>When plugin snapshotting is enabled, a snapshot of the plugin is displayed until the user clicks on the plugin.  However, on some sites such as cnn.com, use an image element as a placeholder for a video and replace the image with the video when the user clicks on it.  In such instances, plugin snapshotting results in the user having to click twice to watch the video.  This is undesirable.  Hence, plugins should start automatically when created within a user gesture, even if snapshotting is enabled.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>745773</commentid>
    <comment_count>1</comment_count>
      <attachid>169512</attachid>
    <who name="Kiran Muppala">cmuppala</who>
    <bug_when>2012-10-18 17:25:49 -0700</bug_when>
    <thetext>Created attachment 169512
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>745775</commentid>
    <comment_count>2</comment_count>
    <who name="Kiran Muppala">cmuppala</who>
    <bug_when>2012-10-18 17:26:19 -0700</bug_when>
    <thetext>&lt;rdar://problem/12482210&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>745788</commentid>
    <comment_count>3</comment_count>
    <who name="Jon Lee">jonlee</who>
    <bug_when>2012-10-18 17:44:28 -0700</bug_when>
    <thetext>Have you been able to test this?

I am not a reviewer, but I give it an unofficial r+.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>745797</commentid>
    <comment_count>4</comment_count>
    <who name="Kiran Muppala">cmuppala</who>
    <bug_when>2012-10-18 17:47:39 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; Have you been able to test this?
&gt; 
&gt; I am not a reviewer, but I give it an unofficial r+.

Yes, I tested using cnn.com, which tends to have a &quot;Click to Play&quot; image element in the center, like you showed before.  The video started playing right after I clicked the image, without the interim plugin snapshot.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>745983</commentid>
    <comment_count>5</comment_count>
      <attachid>169512</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-10-18 22:36:10 -0700</bug_when>
    <thetext>Comment on attachment 169512
Patch

Clearing flags on attachment: 169512

Committed r131857: &lt;http://trac.webkit.org/changeset/131857&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>745984</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-10-18 22:36:14 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>169512</attachid>
            <date>2012-10-18 17:25:49 -0700</date>
            <delta_ts>2012-10-18 22:36:10 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-99778-20121018172433.patch</filename>
            <type>text/plain</type>
            <size>1757</size>
            <attacher name="Kiran Muppala">cmuppala</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTMxMTMzCmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggNzlkZTA2NzU3MWE3NTBl
ZWM1YmRmNDQzZjM4NzRkOTJhOTIyODQ1Yi4uOGE3YTc4N2M5OTMwMzNkZGQ3OGU2MmJkMDM1ODcx
OGRkM2UxOTc1NCAxMDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9XZWJDb3JlL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE5IEBACisyMDEyLTEwLTE4ICBLaXJh
biBNdXBwYWxhICA8Y211cHBhbGFAYXBwbGUuY29tPgorCisgICAgICAgIEF1dG9tYXRpY2FsbHkg
c3RhcnQgcGx1Z2lucyBjcmVhdGVkIHdpdGhpbiBhIHVzZXIgZ2VzdHVyZSwgc2tpcHBpbmcgc25h
cHNob3R0aW5nCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9p
ZD05OTc3OAorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAg
IElmIGEgdXNlciBnZXN0dXJlIGlzIGJlaW5nIHByb2Nlc3NlZCwgZG8gbm90IHNldCB0aGUgZGlz
cGxheSBzdGF0ZSBvZgorICAgICAgICBIVE1MUGx1Z2luSW1hZ2VFbGVtZW50IHRvIFdhaXRpbmdG
b3JTbmFwc2hvdC4KKworICAgICAgICBObyBuZXcgdGV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