Simplify calls to LoaderStrategy::startPingLoad().
Created attachment 318605 [details] Patch
Comment on attachment 318605 [details] Patch Clearing flags on attachment: 318605 Committed r220957: <http://trac.webkit.org/changeset/220957>
All reviewed patches have been landed. Closing bug.
<rdar://problem/33984511>
Comment on attachment 318605 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=318605&action=review > Source/WebKit/WebProcess/Network/WebLoaderStrategy.cpp:425 > + loadParameters.sourceOrigin = &document->securityOrigin(); Since we have both request and sourceOrigin, I wonder whether we should not add an ASSERT ensuring that the Origin header of the request, if any, is matching sourceOrigin. And maybe one for referer as well. > Source/WebKit/WebProcess/Network/WebLoaderStrategy.cpp:432 > + if (auto * contentSecurityPolicy = document->contentSecurityPolicy()) space between auto and *.