Bug 168940

Summary: [iOS] Getting QLPreviewProtocol slows down first navigation in Web process
Product: WebKit Reporter: mitz
Component: Page LoadingAssignee: Tim Horton <thorton>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, aestes, beidson, cdumez, commit-queue, dbates, japhet, simon.fraser, thorton
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch simon.fraser: review+

Description mitz 2017-02-27 15:15:43 PST
The first navigation in a Web process is slowed down checking if the protocol is QLPreviewProtocol, which involves dynamically loading Quick Look. This can be avoided for common schemes.
Comment 1 Tim Horton 2017-02-28 15:05:25 PST
*** Bug 168993 has been marked as a duplicate of this bug. ***
Comment 2 Tim Horton 2017-02-28 15:07:11 PST
Created attachment 302993 [details]
Patch
Comment 3 Tim Horton 2017-02-28 15:07:35 PST
rdar://problem/29468999
Comment 4 Simon Fraser (smfr) 2017-02-28 15:15:28 PST
Comment on attachment 302993 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=302993&action=review

> Source/WebCore/loader/ios/QuickLook.mm:130
> +        return NO;

NO!