WebPageProxy used to expect the popup menus to run in a nested main loop and invalidated the object right after showing it. But this is nor longer the case, so there's no reason to keep using the nested main loop.
Created attachment 262683 [details] Patch
Comment on attachment 262683 [details] Patch let's nuke them all!
Committed r190717: <http://trac.webkit.org/changeset/190717>