<?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>206035</bug_id>
          
          <creation_ts>2020-01-09 14:12:06 -0800</creation_ts>
          <short_desc>Check the existence of the optional m_sessionID before using it in WebProcess::setResourceLoadStatisticsEnabled()</short_desc>
          <delta_ts>2020-01-16 15:02:01 -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>WebKit Misc.</component>
          <version>WebKit Local 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=206100</see_also>
          <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="John Wilander">wilander</reporter>
          <assigned_to name="John Wilander">wilander</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>commit-queue</cc>
    
    <cc>jbedard</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1604849</commentid>
    <comment_count>0</comment_count>
    <who name="John Wilander">wilander</who>
    <bug_when>2020-01-09 14:12:06 -0800</bug_when>
    <thetext>Since m_sessionID is optional, we need to check that it exists before asking it whether the session is ephemeral.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1604850</commentid>
    <comment_count>1</comment_count>
    <who name="John Wilander">wilander</who>
    <bug_when>2020-01-09 14:12:20 -0800</bug_when>
    <thetext>&lt;rdar://problem/58455306&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1604852</commentid>
    <comment_count>2</comment_count>
      <attachid>387271</attachid>
    <who name="John Wilander">wilander</who>
    <bug_when>2020-01-09 14:14:42 -0800</bug_when>
    <thetext>Created attachment 387271
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1604884</commentid>
    <comment_count>3</comment_count>
      <attachid>387271</attachid>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2020-01-09 15:02:51 -0800</bug_when>
    <thetext>Comment on attachment 387271
Patch

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1604906</commentid>
    <comment_count>4</comment_count>
      <attachid>387271</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2020-01-09 15:47:42 -0800</bug_when>
    <thetext>Comment on attachment 387271
Patch

Clearing flags on attachment: 387271

Committed r254310: &lt;https://trac.webkit.org/changeset/254310&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1604907</commentid>
    <comment_count>5</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2020-01-09 15:47:43 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1605282</commentid>
    <comment_count>6</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2020-01-10 13:46:09 -0800</bug_when>
    <thetext>I&apos;m not 100% sure this is the cause, but we have a flakey regression in a resource load statistics test, and this seems like a plausible candidate:

https://results.webkit.org/?suite=layout-tests&amp;test=http%2Ftests%2FresourceLoadStatistics%2Fclassify-as-non-prevalent-based-on-sub-frame-under-top-frame-origins-database.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1605285</commentid>
    <comment_count>7</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2020-01-10 13:47:23 -0800</bug_when>
    <thetext>Although &lt;https://trac.webkit.org/changeset/254296&gt; is also a plausible candidate.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1605328</commentid>
    <comment_count>8</comment_count>
    <who name="John Wilander">wilander</who>
    <bug_when>2020-01-10 15:08:42 -0800</bug_when>
    <thetext>Thanks for flagging, Jonathan! I&apos;m trying to address the flakiness in https://bugs.webkit.org/show_bug.cgi?id=206100.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1606476</commentid>
    <comment_count>9</comment_count>
    <who name="John Wilander">wilander</who>
    <bug_when>2020-01-14 10:49:19 -0800</bug_when>
    <thetext>The flaky test looks all green after my latest change.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1606484</commentid>
    <comment_count>10</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2020-01-14 11:22:49 -0800</bug_when>
    <thetext>Looks good so far...still need a few more test runs to be confident.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1607688</commentid>
    <comment_count>11</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2020-01-16 15:02:01 -0800</bug_when>
    <thetext>I think we can pretty confidently say things are fixed now.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>387271</attachid>
            <date>2020-01-09 14:14:42 -0800</date>
            <delta_ts>2020-01-09 15:47:42 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-206035-20200109141441.patch</filename>
            <type>text/plain</type>
            <size>1747</size>
            <attacher name="John Wilander">wilander</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjU0Mjk1CmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViS2l0L0No
YW5nZUxvZyBiL1NvdXJjZS9XZWJLaXQvQ2hhbmdlTG9nCmluZGV4IGMwYjA1ODZhNjQwNDgxNWU3
MTUwYzFmMTM5MzhjYTI4N2Q0ZjQxMDUuLjJlMzVlMzViZTlmNmIyZTM1OTAzNzNkNmYxNDQx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