Add WKPageLoadData and WKPageLoadDataWithUserData SPI to support loading arbritrary data blobs
Created attachment 202106 [details] Patch
Comment on attachment 202106 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=202106&action=review > Source/WebKit2/UIProcess/API/C/WKPage.h:369 > +WK_EXPORT void WKPageLoadData(WKPageRef page, WKDataRef data, WKStringRef MIMEType, WKStringRef encoding, WKURLRef baseURL); > +WK_EXPORT void WKPageLoadDataWithUserData(WKPageRef page, WKDataRef data, WKStringRef MIMEType, WKStringRef encoding, WKURLRef baseURL, WKTypeRef userData); Do these need to be distinct? Can't we just have a userData param in LoadData?
(In reply to comment #2) > (From update of attachment 202106 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=202106&action=review > > > Source/WebKit2/UIProcess/API/C/WKPage.h:369 > > +WK_EXPORT void WKPageLoadData(WKPageRef page, WKDataRef data, WKStringRef MIMEType, WKStringRef encoding, WKURLRef baseURL); > > +WK_EXPORT void WKPageLoadDataWithUserData(WKPageRef page, WKDataRef data, WKStringRef MIMEType, WKStringRef encoding, WKURLRef baseURL, WKTypeRef userData); > > Do these need to be distinct? Can't we just have a userData param in LoadData? I am trying to keep consistency.
Committed r150271: <http://trac.webkit.org/changeset/150271>