WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
107985
[chromium] Export ResourceRequest's priority through WebURLRequest
https://bugs.webkit.org/show_bug.cgi?id=107985
Summary
[chromium] Export ResourceRequest's priority through WebURLRequest
James Simonsen
Reported
2013-01-25 14:34:25 PST
[chromium] Export ResourceRequest's priority through WebURLRequest
Attachments
Patch
(3.57 KB, patch)
2013-01-25 14:34 PST
,
James Simonsen
no flags
Details
Formatted Diff
Diff
Patch
(3.60 KB, patch)
2013-01-25 15:21 PST
,
James Simonsen
no flags
Details
Formatted Diff
Diff
Patch
(5.30 KB, patch)
2013-01-25 18:27 PST
,
James Simonsen
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
James Simonsen
Comment 1
2013-01-25 14:34:44 PST
Created
attachment 184812
[details]
Patch
WebKit Review Bot
Comment 2
2013-01-25 14:40:51 PST
Please wait for approval from
abarth@webkit.org
,
dglazkov@chromium.org
,
fishd@chromium.org
,
jamesr@chromium.org
or
tkent@chromium.org
before submitting, as this patch contains changes to the Chromium public API. See also
https://trac.webkit.org/wiki/ChromiumWebKitAPI
.
WebKit Review Bot
Comment 3
2013-01-25 14:46:48 PST
Comment on
attachment 184812
[details]
Patch
Attachment 184812
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/16116557
Peter Beverloo (cr-android ews)
Comment 4
2013-01-25 14:50:54 PST
Comment on
attachment 184812
[details]
Patch
Attachment 184812
[details]
did not pass cr-android-ews (chromium-android): Output:
http://queues.webkit.org/results/16118535
James Simonsen
Comment 5
2013-01-25 15:21:50 PST
Created
attachment 184814
[details]
Patch
Adam Barth
Comment 6
2013-01-25 17:21:22 PST
Comment on
attachment 184814
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=184814&action=review
> Source/WebCore/platform/chromium/support/WebURLRequest.cpp:329 > + switch (m_private->m_resourceRequest->priority()) {
We usually just use a static_cast rather than a switch. Also, we use AssertMatchignEnums.cpp to make sure that the WebCore enums stay in sync with the API enums.
Adam Barth
Comment 7
2013-01-25 17:21:53 PST
(Aside from those mechanistic issues, this patch looks fine.)
James Simonsen
Comment 8
2013-01-25 18:27:49 PST
Created
attachment 184849
[details]
Patch
James Simonsen
Comment 9
2013-01-25 18:28:14 PST
(In reply to
comment #6
)
> (From update of
attachment 184814
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=184814&action=review
> > > Source/WebCore/platform/chromium/support/WebURLRequest.cpp:329 > > + switch (m_private->m_resourceRequest->priority()) { > > We usually just use a static_cast rather than a switch. Also, we use AssertMatchignEnums.cpp to make sure that the WebCore enums stay in sync with the API enums.
Thanks for the tip. Done.
Adam Barth
Comment 10
2013-01-26 00:05:26 PST
Comment on
attachment 184849
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=184849&action=review
> Source/WebCore/platform/chromium/support/WebURLRequest.cpp:330 > + return static_cast<WebURLRequest::Priority>( > + m_private->m_resourceRequest->priority());
We'd normally put this on one line. (There is no 80 col limit in WebKit.)
WebKit Review Bot
Comment 11
2013-01-26 00:15:10 PST
Comment on
attachment 184849
[details]
Patch Clearing flags on attachment: 184849 Committed
r140906
: <
http://trac.webkit.org/changeset/140906
>
WebKit Review Bot
Comment 12
2013-01-26 00:15:15 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug