Ship mimeTypesWithCustomRepresentations over in WebPageCreationParameters so that we have it after a crash. <rdar://problem/17484205>
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.
http://trac.webkit.org/changeset/170570