Discovering sharing services isn't a particularly cheap operation, requiring disk access and even IPC. Since the discovery is already asynchronous and we've been told the API we're using can be safely used from a background thread, we should move it off the main thread.
Created attachment 231543 [details] Patch
Comment on attachment 231543 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=231543&action=review > Source/WebKit2/UIProcess/mac/ServicesController.mm:82 > + NSLog(@"+ServicesController::refreshExistingServices"); No. > Source/WebKit2/UIProcess/mac/ServicesController.mm:110 > + NSLog(@"-ServicesController::refreshExistingServices"); No.
Landed in <http://trac.webkit.org/changeset/168918>.