Summary: | [Soup] Use ResourceLoadPriority | ||
---|---|---|---|
Product: | WebKit | Reporter: | Sergio Villar Senin <svillar> |
Component: | WebKitGTK | Assignee: | Sergio Villar Senin <svillar> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | ap, cdumez, cgarcia, danw, ddkilzer, gustavo, mrobinson, philn, rakuco, rego+ews, svillar, tmpsantos, webkit.review.bot, xan.lopez |
Priority: | P2 | Keywords: | Soup |
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Attachments: |
Description
Sergio Villar Senin
2013-03-21 05:30:35 PDT
Created attachment 194237 [details]
This won't build because it depends on a non-committed libsoup feature. I am also not setting any libsoup guard until we decide whether or not this change gets into the next libsoup release.
Created attachment 194239 [details]
Patch
This won't build because it depends on a non-committed libsoup feature. I am also not setting any libsoup guard until we decide whether or not this change gets into the next libsoup release.
Comment on attachment 194239 [details] Patch Attachment 194239 [details] did not pass efl-ews (efl): Output: http://webkit-commit-queue.appspot.com/results/17291025 Comment on attachment 194239 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=194239&action=review > Source/WebCore/platform/network/soup/ResourceRequest.h:102 > + switch (priority) { > + case ResourceLoadPriorityUnresolved: What is does unresolved mean? I'm curious, because perhaps it should have SOUP_MESSAGE_PRIORITY_NORMAL instead. (In reply to comment #4) > (From update of attachment 194239 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=194239&action=review > > > Source/WebCore/platform/network/soup/ResourceRequest.h:102 > > + switch (priority) { > > + case ResourceLoadPriorityUnresolved: > > What is does unresolved mean? I'm curious, because perhaps it should have SOUP_MESSAGE_PRIORITY_NORMAL instead. It's basically the value used by the loader to initialize the priority, and if I understand the loader code correctly, we should never get such a priority because the resource load scheduler has ASSERTs to control that, so we might even break and ASSERT_NOT_REACHED in debug builds and return the default value (which might be NORMAL again). Created attachment 198484 [details]
Patch
Adding a couple of guys who might have an opinion on the ResourceLoadPriorityUnresolved thing. ping (In reply to comment #4) > (From update of attachment 194239 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=194239&action=review > > > Source/WebCore/platform/network/soup/ResourceRequest.h:102 > > + switch (priority) { > > + case ResourceLoadPriorityUnresolved: > > What is does unresolved mean? I'm curious, because perhaps it should have SOUP_MESSAGE_PRIORITY_NORMAL instead. Yes, I agree, if the priority is unresolved I would use the default one in libsoup that is NORMAL. Created attachment 204421 [details]
Patch
Comment on attachment 204421 [details]
Patch
LGTM
Comment on attachment 204421 [details] Patch Clearing flags on attachment: 204421 Committed r151493: <http://trac.webkit.org/changeset/151493> All reviewed patches have been landed. Closing bug. |