Menu is not displayed for <input type=search results="5">
The primary cause of the menu not even displaying is the WebSearchPopupMenu returned "false" for enabled. That's a 1-liner.
I also included Mac-only code to get the Mac position correct.
Note that my planned fix for this won't actually implement setting/restoring the past searches - that's a logically separate task I'll track with another bug.
In radar as <rdar://problem/8665102>
Adding the results memory is tracked in https://bugs.webkit.org/show_bug.cgi?id=58596
Created attachment 89678 [details]