Bug 201512 - results.webkit.org: Fix prepending search result on empty list
Summary: results.webkit.org: Fix prepending search result on empty list
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jonathan Bedard
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-09-05 12:42 PDT by Jonathan Bedard
Modified: 2019-09-05 16:04 PDT (History)
3 users (show)

See Also:


Attachments
Patch (1.52 KB, patch)
2019-09-05 12:49 PDT, Jonathan Bedard
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Bedard 2019-09-05 12:42:16 PDT
If we try and add a new result when the search page is empty, we can't because there is nothing to prepend to. We need to add the result if no existing results are present.
Comment 1 Jonathan Bedard 2019-09-05 12:49:45 PDT
Created attachment 378105 [details]
Patch
Comment 2 WebKit Commit Bot 2019-09-05 16:03:38 PDT
Comment on attachment 378105 [details]
Patch

Clearing flags on attachment: 378105

Committed r249549: <https://trac.webkit.org/changeset/249549>
Comment 3 WebKit Commit Bot 2019-09-05 16:03:39 PDT
All reviewed patches have been landed.  Closing bug.
Comment 4 Radar WebKit Bug Importer 2019-09-05 16:04:20 PDT
<rdar://problem/55089070>