<?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>165413</bug_id>
          
          <creation_ts>2016-12-05 14:20:45 -0800</creation_ts>
          <short_desc>Web Inspector: remove ASSERT from InspectorDebuggerAgent::derefAsyncCallData</short_desc>
          <delta_ts>2016-12-07 16:44:02 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Inspector</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</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="Matt Baker">mattbaker</reporter>
          <assigned_to name="Matt Baker">mattbaker</assigned_to>
          <cc>bburg</cc>
    
    <cc>commit-queue</cc>
    
    <cc>joepeck</cc>
    
    <cc>keith_miller</cc>
    
    <cc>mark.lam</cc>
    
    <cc>mattbaker</cc>
    
    <cc>msaboff</cc>
    
    <cc>nvasilyev</cc>
    
    <cc>saam</cc>
    
    <cc>timothy</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1256489</commentid>
    <comment_count>0</comment_count>
    <who name="Matt Baker">mattbaker</who>
    <bug_when>2016-12-05 14:20:45 -0800</bug_when>
    <thetext>An async call can be cleared without having been recorded. For example:

- Breakpoints becoming enabled between setTimeout/clearTimeout
- Inspector opening between setTimeout/clearTimeout
- clearTimeout(999) will always go through InspectorInstrumentation</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1256490</commentid>
    <comment_count>1</comment_count>
    <who name="Matt Baker">mattbaker</who>
    <bug_when>2016-12-05 14:21:05 -0800</bug_when>
    <thetext>&lt;rdar://problem/29517587&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1256496</commentid>
    <comment_count>2</comment_count>
      <attachid>296189</attachid>
    <who name="Matt Baker">mattbaker</who>
    <bug_when>2016-12-05 14:35:23 -0800</bug_when>
    <thetext>Created attachment 296189
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1256499</commentid>
    <comment_count>3</comment_count>
      <attachid>296189</attachid>
    <who name="Blaze Burg">bburg</who>
    <bug_when>2016-12-05 14:36:43 -0800</bug_when>
    <thetext>Comment on attachment 296189
Patch

rs=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1256522</commentid>
    <comment_count>4</comment_count>
      <attachid>296189</attachid>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2016-12-05 15:00:05 -0800</bug_when>
    <thetext>Comment on attachment 296189
Patch

We could have a test for this right? Did the clearTimeout(999) on about:blank reproduce this? Either way I&apos;m fine with the test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1256609</commentid>
    <comment_count>5</comment_count>
      <attachid>296189</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2016-12-05 17:02:16 -0800</bug_when>
    <thetext>Comment on attachment 296189
Patch

Clearing flags on attachment: 296189

Committed r209367: &lt;http://trac.webkit.org/changeset/209367&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1256610</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2016-12-05 17:02:20 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1256876</commentid>
    <comment_count>7</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2016-12-06 11:21:12 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; Comment on attachment 296189 [details]
&gt; Patch
&gt; 
&gt; We could have a test for this right? Did the clearTimeout(999) on
&gt; about:blank reproduce this? Either way I&apos;m fine with the test.

To answer my own question, yes the clearTimeout(999) did reproduce this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1257453</commentid>
    <comment_count>8</comment_count>
    <who name="Blaze Burg">bburg</who>
    <bug_when>2016-12-07 16:44:02 -0800</bug_when>
    <thetext>Still needs a test. It should be pretty basic.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>296189</attachid>
            <date>2016-12-05 14:35:23 -0800</date>
            <delta_ts>2016-12-05 17:02:16 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-165413-20161205143447.patch</filename>
            <type>text/plain</type>
            <size>1718</size>
            <attacher name="Matt Baker">mattbaker</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjA5MzQ4CmRpZmYgLS1naXQgYS9Tb3VyY2UvSmF2YVNjcmlw
dENvcmUvQ2hhbmdlTG9nIGIvU291cmNlL0phdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwppbmRleCBk
NDE0N2UwMGIzNDYzNGE1NzdiNDNhYzU3NGFkNTI1OWQ0NzIxMTY4Li41NGMwMDU3YTM3ZjNiZjNi
NjIzMzg1OGEyNGQyZWQ1ZmVlOTdiMjdjIDEwMDY0NAotLS0gYS9Tb3VyY2UvSmF2YVNjcmlwdENv
cmUvQ2hhbmdlTG9nCisrKyBiL1NvdXJjZS9KYXZhU2NyaXB0Q29yZS9DaGFuZ2VMb2cKQEAgLTEs
MyArMSwxNyBAQAorMjAxNi0xMi0wNSAgTWF0dCBCYWtlciAgPG1hdHRiYWtlckBhcHBsZS5jb20+
CisKKyAgICAgICAgV2ViIEluc3BlY3RvcjogcmVt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