Changeset 173017 in webkit
- Timestamp:
- Aug 27, 2014, 2:17:27 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/Source/WebCore/ChangeLog ¶
r173016 r173017 1 2014-08-27 Antti Koivisto <antti@apple.com> 2 3 REGRESSION(r172946): Plugin tests asserting on Yosemite debug bot 4 https://bugs.webkit.org/show_bug.cgi?id=136301 5 6 Reviewed by Alexey Proskuryakov. 7 8 Don't pull the priority from the platform request if it is not defined. 9 10 * platform/network/cf/ResourceRequestCFNet.cpp: 11 (WebCore::ResourceRequest::doUpdateResourceRequest): 12 * platform/network/cocoa/ResourceRequestCocoa.mm: 13 (WebCore::ResourceRequest::doUpdateResourceRequest): 14 1 15 2014-08-27 Timothy Hatcher <timothy@apple.com> 2 16 -
TabularUnified trunk/Source/WebCore/platform/network/cf/ResourceRequestCFNet.cpp ¶
r172946 r173017 278 278 m_allowCookies = CFURLRequestShouldHandleHTTPCookies(m_cfRequest.get()); 279 279 280 if (resourcePrioritiesEnabled()) 281 m_priority = toResourceLoadPriority(wkGetHTTPRequestPriority(m_cfRequest.get())); 280 if (resourcePrioritiesEnabled()) { 281 auto priority = toResourceLoadPriority(wkGetHTTPRequestPriority(m_cfRequest.get())); 282 if (priority > ResourceLoadPriorityUnresolved) 283 m_priority = priority; 284 } 282 285 283 286 m_httpHeaderFields.clear(); -
TabularUnified trunk/Source/WebCore/platform/network/cocoa/ResourceRequestCocoa.mm ¶
r172946 r173017 79 79 m_allowCookies = [m_nsRequest.get() HTTPShouldHandleCookies]; 80 80 81 if (ResourceRequest::resourcePrioritiesEnabled()) 82 m_priority = toResourceLoadPriority(wkGetHTTPRequestPriority([m_nsRequest.get() _CFURLRequest])); 81 if (resourcePrioritiesEnabled()) { 82 auto priority = toResourceLoadPriority(wkGetHTTPRequestPriority([m_nsRequest.get() _CFURLRequest])); 83 if (priority > ResourceLoadPriorityUnresolved) 84 m_priority = priority; 85 } 83 86 84 87 NSDictionary *headers = [m_nsRequest.get() allHTTPHeaderFields];
Note:
See TracChangeset
for help on using the changeset viewer.