Summary: | [iOS][WK2] PDFs never load inline again after the Web process crashes | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Tim Horton <thorton> | ||||
Component: | WebKit2 | Assignee: | Tim Horton <thorton> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | andersca, bunhere, cdumez, commit-queue, gyuyoung.kim, mitz, sam, sergio, simon.fraser | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Tim Horton
2014-06-28 15:23:29 PDT
Created attachment 234054 [details]
patch
Comment on attachment 234054 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=234054&action=review > Source/WebKit2/UIProcess/Cocoa/WKWebViewContentProviderRegistry.mm:94 > + for (auto& mimeType : _contentProviderForMIMEType.keys()) > + mimeTypes.append(mimeType); Can you use copyKeysToVector to do this? Comment on attachment 234054 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=234054&action=review >> Source/WebKit2/UIProcess/Cocoa/WKWebViewContentProviderRegistry.mm:94 >> + mimeTypes.append(mimeType); > > Can you use copyKeysToVector to do this? ooh la la I've wanted that so many times and never knew it existed. |