Bug 155620

Summary: Speculative revalidation requests do not have their HTTP user-agent set
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebKit2Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, cgarcia, commit-queue, koivisto, sam, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Chris Dumez 2016-03-17 20:05:45 PDT
Speculative revalidation requests do not have their HTTP user-agent set.
Comment 1 Chris Dumez 2016-03-17 20:06:03 PDT
rdar://problem/24657567
Comment 2 Chris Dumez 2016-03-17 20:14:07 PDT
We can probably save the original request's user-agent header in the cache and then re-use that one for speculative validation. We may also need to make sure the user-agent header used by the speculative validation matches the effective user-agent of the actual request from WebCore.
Comment 3 Chris Dumez 2016-03-18 12:07:25 PDT
Created attachment 274443 [details]
Patch
Comment 4 WebKit Commit Bot 2016-03-18 16:23:13 PDT
Comment on attachment 274443 [details]
Patch

Clearing flags on attachment: 274443

Committed r198450: <http://trac.webkit.org/changeset/198450>
Comment 5 WebKit Commit Bot 2016-03-18 16:23:19 PDT
All reviewed patches have been landed.  Closing bug.