<?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>201512</bug_id>
          
          <creation_ts>2019-09-05 12:42:16 -0700</creation_ts>
          <short_desc>results.webkit.org: Fix prepending search result on empty list</short_desc>
          <delta_ts>2019-09-05 16:04:20 -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>WebKit 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="Jonathan Bedard">jbedard</reporter>
          <assigned_to name="Jonathan Bedard">jbedard</assigned_to>
          <cc>aakash_jain</cc>
    
    <cc>commit-queue</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1568207</commentid>
    <comment_count>0</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2019-09-05 12:42:16 -0700</bug_when>
    <thetext>If we try and add a new result when the search page is empty, we can&apos;t because there is nothing to prepend to. We need to add the result if no existing results are present.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1568210</commentid>
    <comment_count>1</comment_count>
      <attachid>378105</attachid>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2019-09-05 12:49:45 -0700</bug_when>
    <thetext>Created attachment 378105
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1568301</commentid>
    <comment_count>2</comment_count>
      <attachid>378105</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2019-09-05 16:03:38 -0700</bug_when>
    <thetext>Comment on attachment 378105
Patch

Clearing flags on attachment: 378105

Committed r249549: &lt;https://trac.webkit.org/changeset/249549&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1568302</commentid>
    <comment_count>3</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2019-09-05 16:03:39 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1568303</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-09-05 16:04:20 -0700</bug_when>
    <thetext>&lt;rdar://problem/55089070&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>378105</attachid>
            <date>2019-09-05 12:49:45 -0700</date>
            <delta_ts>2019-09-05 16:03:38 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-201512-20190905124944.patch</filename>
            <type>text/plain</type>
            <size>1555</size>
            <attacher name="Jonathan Bedard">jbedard</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9DaGFuZ2VMb2cJKHJl
dmlzaW9uIDI0OTUzOSkKKysrIFRvb2xzL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwz
ICsxLDEyIEBACisyMDE5LTA5LTA1ICBKb25hdGhhbiBCZWRhcmQgIDxqYmVkYXJkQGFwcGxlLmNv
bT4KKworICAgICAgICByZXN1bHRzLndlYmtpdC5vcmc6IEZpeCBwcmVwZ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JlcGVuZGluZy5mb3JFYWNoKGNoaWxkID0+IHsKLSAgICAgICAgICAgICAgICAgICAg
ICAgIERPTS5hZnRlcihlbGVtZW50LmZpcnN0RWxlbWVudENoaWxkLCByZW5kZXJDaGlsZChjaGls
ZCkpOworICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGVsZW1lbnQuZmlyc3RFbGVtZW50Q2hp
bGQpCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgRE9NLmFmdGVyKGVsZW1lbnQuZmlyc3RF
bGVtZW50Q2hpbGQsIHJlbmRlckNoaWxkKGNoaWxkKSk7CisgICAgICAgICAgICAgICAgICAgICAg
ICBlbHNlCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgRE9NLmluamVjdChlbGVtZW50LCBy
ZW5kZXJDaGlsZChjaGlsZCkpOwogICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5yZWYuc3Rh
dGUuY2hpbGRyZW4udW5zaGlmdChjaGlsZCk7CiAgICAgICAgICAgICAgICAgICAgIH0pOwogICAg
ICAgICAgICAgICAgIH0gCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>