When pages are loaded from AppCache with DeferredLoading, willSendRequest() is never called. <rdar://problem/11476505>
Created attachment 144208 [details] Patch
Comment on attachment 144208 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=144208&action=review > Source/WebCore/loader/MainResourceLoader.cpp:701 > + ResourceRequest r(m_initialRequest); > + m_initialRequest = ResourceRequest(); > + loadNow(r); As long as you’re touching this code, it might be nice to use a word or words for the name rather than just a letter. I’d suggest initialRequest or request or localCopyOfRequest.
Committed r118631: <http://trac.webkit.org/changeset/118631>
After a comment from Alexey I realize this strikes at the question of what “sending” a request is.