Bug 80627

Summary: [Qt][WK2] Move code common to both ProxyAuthentication and Authentication context objects into a base class
Product: WebKit Reporter: Dinu Jacob <dinu.jacob>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: ahf, hausmann, menard, webkit.review.bot, zoltan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
kenneth: review+
Patch for landing
none
To be committed none

Dinu Jacob
Reported 2012-03-08 12:25:00 PST
ProxyAuthenticationContextObject and AuthenticationContextObjects in QtDialogRunner shares a lot of code. Move the common code to a base that these classes can inherit from.
Attachments
Patch (4.04 KB, patch)
2012-03-08 12:27 PST, Dinu Jacob
no flags
Patch (4.12 KB, patch)
2012-03-08 13:32 PST, Dinu Jacob
kenneth: review+
Patch for landing (4.79 KB, patch)
2012-03-14 08:47 PDT, Dinu Jacob
no flags
To be committed (4.79 KB, patch)
2012-03-14 08:51 PDT, Dinu Jacob
no flags
Dinu Jacob
Comment 1 2012-03-08 12:27:53 PST
Dinu Jacob
Comment 2 2012-03-08 13:32:17 PST
Alexander Færøy
Comment 3 2012-03-14 07:51:52 PDT
Comment on attachment 130891 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=130891&action=review Informal r=me, but I am not a reviewer :-) > Source/WebKit2/ChangeLog:8 > + Maybe add a note to the ChangeLog like "This change does not affect the QML API". > Source/WebKit2/UIProcess/qt/QtDialogRunner.cpp:101 > +class AuthenticationDialogContextObject : public BaseAuthenticationContextObject { Maybe change this HttpAuthenticationDialogContextObject?
Kenneth Rohde Christiansen
Comment 4 2012-03-14 07:52:33 PDT
Comment on attachment 130891 [details] Patch Making it official
Dinu Jacob
Comment 5 2012-03-14 07:55:01 PDT
(In reply to comment #3) > (From update of attachment 130891 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=130891&action=review > > Informal r=me, but I am not a reviewer :-) > > > Source/WebKit2/ChangeLog:8 > > + > > Maybe add a note to the ChangeLog like "This change does not affect the QML API". > > > Source/WebKit2/UIProcess/qt/QtDialogRunner.cpp:101 > > +class AuthenticationDialogContextObject : public BaseAuthenticationContextObject { > > Maybe change this HttpAuthenticationDialogContextObject? Sure, will do that.
Alexander Færøy
Comment 6 2012-03-14 07:59:42 PDT
In general, I think a lot of this code could easily be cleaned up :-)
Dinu Jacob
Comment 7 2012-03-14 08:47:58 PDT
Created attachment 131861 [details] Patch for landing
Alexander Færøy
Comment 8 2012-03-14 08:49:04 PDT
Comment on attachment 131861 [details] Patch for landing View in context: https://bugs.webkit.org/attachment.cgi?id=131861&action=review > Source/WebKit2/ChangeLog:8 > + No impact to AML API. Off-by-one keyboard typo.
Dinu Jacob
Comment 9 2012-03-14 08:50:14 PDT
(In reply to comment #8) > (From update of attachment 131861 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=131861&action=review > > > Source/WebKit2/ChangeLog:8 > > + No impact to AML API. > > Off-by-one keyboard typo. ouch :( Will fix that! Thanks.
Dinu Jacob
Comment 10 2012-03-14 08:51:30 PDT
Created attachment 131864 [details] To be committed
WebKit Review Bot
Comment 11 2012-03-14 16:29:22 PDT
Comment on attachment 131864 [details] To be committed Clearing flags on attachment: 131864 Committed r110781: <http://trac.webkit.org/changeset/110781>
WebKit Review Bot
Comment 12 2012-03-14 16:29:27 PDT
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.