* SUMMARY When resource load priorities are round-tripped through CFNetwork for the experimental HTTP pipelining feature, we currently map 4 WebCore priorities to 3 CFNetwork priorities. This should be fixed so that the load priorities match when they are round-tripped.
Created attachment 88087 [details] Patch v1
Created attachment 88111 [details] Patch v2 Made a small fix in ResourceHandleMac.mm compared to Patch v1: if (isHTTPPipeliningEnabled()) { - int priority = mapResourceLoadPriorityToHTTPPipeliningPriority(m_priority); - wkSetHTTPPipeliningPriority(nsRequest, shouldForceHTTPPipeliningPriorityHigh() ? 2 : priority); + int priority = toHTTPPipeliningPriority(shouldForceHTTPPipeliningPriorityHigh() ? ResourceLoadPriorityHigh : m_priority); + wkSetHTTPPipeliningPriority(nsRequest, priority); }
Committed r82900: <http://trac.webkit.org/changeset/82900>