RESOLVED FIXED 134432
[iOS][WK2] PDFs never load inline again after the Web process crashes
https://bugs.webkit.org/show_bug.cgi?id=134432
Summary [iOS][WK2] PDFs never load inline again after the Web process crashes
Tim Horton
Reported 2014-06-28 15:23:29 PDT
Ship mimeTypesWithCustomRepresentations over in WebPageCreationParameters so that we have it after a crash. <rdar://problem/17484205>
Attachments
patch (8.31 KB, patch)
2014-06-28 15:27 PDT, Tim Horton
mitz: review+
Tim Horton
Comment 1 2014-06-28 15:27:06 PDT
mitz
Comment 2 2014-06-28 15:31:11 PDT
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?
Tim Horton
Comment 3 2014-06-28 15:33:19 PDT
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.
Tim Horton
Comment 4 2014-06-28 15:40:06 PDT
Note You need to log in before you can comment on or make changes to this bug.