We add Accept-Language to platformRequest in initializePlatformRequest. But need to make sure there aren't two or more Accecpt-Language in headerList.
Created attachment 136637 [details] Patch
Comment on attachment 136637 [details] Patch Looks good to me. Need a reviewer to approve though.
Comment on attachment 136637 [details] Patch Looks good. But why is this called twice? Can't the state be checked before calling twice?
(In reply to comment #3) > (From update of attachment 136637 [details]) > Looks good. But why is this called twice? Can't the state be checked before calling twice? It is called to add custom headers to resourceRequest first. Accept-Language is in header list. When we create a platformRequest, it is called again.
Created attachment 136807 [details] Patch
Comment on attachment 136807 [details] Patch Since you addressed Rob's comments when he gave you r+, I cq+ your patch.
Comment on attachment 136807 [details] Patch Clearing flags on attachment: 136807 Committed r113938: <http://trac.webkit.org/changeset/113938>
All reviewed patches have been landed. Closing bug.