<?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>142637</bug_id>
          
          <creation_ts>2015-03-12 13:11:59 -0700</creation_ts>
          <short_desc>ASSERT(m_plugin) on plugins/snapshotting/snapshot-plugin-not-quite-blocked-by-image.html</short_desc>
          <delta_ts>2015-03-16 16:59:08 -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>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=133227</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=142754</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexey Proskuryakov">ap</reporter>
          <assigned_to name="Alexey Proskuryakov">ap</assigned_to>
          <cc>andersca</cc>
    
    <cc>commit-queue</cc>
    
    <cc>dino</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1076718</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2015-03-12 13:11:59 -0700</bug_when>
    <thetext>I get an assertion when running this test locally, always reproducible by repeating it multiple times:

run-webkit-tests plugins/snapshotting/snapshot-plugin-not-quite-blocked-by-image.html --repeat 100

The reason is that the QuickTime plug-in is 32-bit, so it fails to initialize, PluginView::didFailToInitializePlugin() sets m_plugin to 0, but then we start m_pluginSnapshotTimer regardless.

This makes me confused about how this test (or other snapshotting tests) can ever pass on any debug local builds. They all expect a snapshot that shouldn&apos;t be possible to make. 

See also rdar://problem/18994117, rdar://problem/16097212.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1077623</commentid>
    <comment_count>1</comment_count>
      <attachid>248764</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2015-03-16 16:11:23 -0700</bug_when>
    <thetext>Created attachment 248764
proposed fix</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1077648</commentid>
    <comment_count>2</comment_count>
      <attachid>248764</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-03-16 16:59:04 -0700</bug_when>
    <thetext>Comment on attachment 248764
proposed fix

Clearing flags on attachment: 248764

Committed r181599: &lt;http://trac.webkit.org/changeset/181599&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1077649</commentid>
    <comment_count>3</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-03-16 16:59:08 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>248764</attachid>
            <date>2015-03-16 16:11:23 -0700</date>
            <delta_ts>2015-03-16 16:59:04 -0700</delta_ts>
            <desc>proposed fix</desc>
            <filename>snapshotting.txt</filename>
            <type>text/plain</type>
            <size>1694</size>
            <attacher name="Alexey Proskuryakov">ap</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJLaXQyL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
S2l0Mi9DaGFuZ2VMb2cJKHJldmlzaW9uIDE4MTU4NykKKysrIFNvdXJjZS9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