WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 73791
Upstream platform/network/blackberry/DeferredData.{h, cpp}, NetworkJob.{h, cpp} and NetworkManager.{h, cpp}
https://bugs.webkit.org/show_bug.cgi?id=73791
Summary
Upstream platform/network/blackberry/DeferredData.{h, cpp}, NetworkJob.{h, cp...
Leo Yang
Reported
2011-12-04 18:38:37 PST
This is the main part of the BlackBerry networking porting.
Attachments
Patch
(67.74 KB, patch)
2011-12-04 18:50 PST
,
Leo Yang
rwlbuis
: review-
Details
Formatted Diff
Diff
Patch v2
(61.18 KB, patch)
2011-12-08 19:15 PST
,
Leo Yang
rwlbuis
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Leo Yang
Comment 1
2011-12-04 18:50:10 PST
Created
attachment 117823
[details]
Patch
Rob Buis
Comment 2
2011-12-08 07:48:01 PST
Comment on
attachment 117823
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=117823&action=review
Still some stuff to fix.
> Source/WebCore/platform/network/blackberry/DeferredData.cpp:40 > +void DeferredData::deferOpen(int status, const WTF::String& message)
Do we need the WTF:: prefix?
> Source/WebCore/platform/network/blackberry/NetworkJob.cpp:69 > +}
I wonder if we can use toASCIIHexValue from wtf/ASCIICType.h?
> Source/WebCore/platform/network/blackberry/NetworkManager.cpp:117 > +#if OS(QNX)
Can be removed
Leo Yang
Comment 3
2011-12-08 19:15:52 PST
Created
attachment 118515
[details]
Patch v2 Following Rob's comments. Also fixing many style issues of code comments.
Rob Buis
Comment 4
2011-12-08 19:34:04 PST
Comment on
attachment 118515
[details]
Patch v2 View in context:
https://bugs.webkit.org/attachment.cgi?id=118515&action=review
Assuming toASCIIHexValue usage was tested, r+.
> Source/WebCore/platform/network/blackberry/DeferredData.h:34 > + RecursionGuard(bool &guard)
bool& . Please run check-webkit-style :)
> Source/WebCore/platform/network/blackberry/NetworkJob.h:144 > + }
Should be moved above the private: to join the other private methods.
> Source/WebCore/platform/network/blackberry/NetworkJob.h:179 > + bool m_needsRetryAsFTPDirectory;
Note: you can pack the bools together if you want to save some memory.
Leo Yang
Comment 5
2011-12-08 19:41:06 PST
(In reply to
comment #4
)
> (From update of
attachment 118515
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=118515&action=review
> > Assuming toASCIIHexValue usage was tested, r+. > > > Source/WebCore/platform/network/blackberry/DeferredData.h:34 > > + RecursionGuard(bool &guard) > > bool& . Please run check-webkit-style :)
Good catch. I did run, but check-webkit-style didn't catch this. Will fix before landing.
> > > Source/WebCore/platform/network/blackberry/NetworkJob.h:144 > > + } > > Should be moved above the private: to join the other private methods.
Good catch.
> > > Source/WebCore/platform/network/blackberry/NetworkJob.h:179 > > + bool m_needsRetryAsFTPDirectory; > > Note: you can pack the bools together if you want to save some memory.
Hmmm, yes. But it hurts perf a bit. I wanted to do the same thing in other place, seems GS didn't like packing. Thanks for review.
Leo Yang
Comment 6
2011-12-08 19:42:32 PST
(In reply to
comment #5
)
> (In reply to
comment #4
) > > (From update of
attachment 118515
[details]
[details]) > > View in context:
https://bugs.webkit.org/attachment.cgi?id=118515&action=review
> > > > Assuming toASCIIHexValue usage was tested, r+. > > > > > Source/WebCore/platform/network/blackberry/DeferredData.h:34 > > > + RecursionGuard(bool &guard) > > > > bool& . Please run check-webkit-style :) > Good catch. I did run, but check-webkit-style didn't catch this. Will fix before landing. > > > > > > Source/WebCore/platform/network/blackberry/NetworkJob.h:144 > > > + } > > > > Should be moved above the private: to join the other private methods. > Good catch. > > > > > > Source/WebCore/platform/network/blackberry/NetworkJob.h:179 > > > + bool m_needsRetryAsFTPDirectory; > > > > Note: you can pack the bools together if you want to save some memory. > Hmmm, yes. But it hurts perf a bit. I wanted to do the same thing in other place, seems GS didn't like packing.
Oh, sorry. I misunderstood what you meant. Yes, I will move them above.
> > Thanks for review.
Leo Yang
Comment 7
2011-12-08 22:44:03 PST
Committed
r102433
: <
http://trac.webkit.org/changeset/102433
>
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