WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
32559
[Android] Android needs implementation of setCookies, cookies and cookiesEnabled functions.
https://bugs.webkit.org/show_bug.cgi?id=32559
Summary
[Android] Android needs implementation of setCookies, cookies and cookiesEna...
Andrei Popescu
Reported
2009-12-15 07:08:07 PST
Android needs implementation of setCookies, cookies and cookiesEnabled functions. The cookie functionality is on the Java side so we need to proxy to it via the PlatformBridge iface.
Attachments
Add implementation of cookie functions, AuthenticationChallenge and fix a small bug.
(6.41 KB, patch)
2009-12-15 11:21 PST
,
Andrei Popescu
fishd
: review-
Details
Formatted Diff
Diff
Add implementation of cookie functions, AuthenticationChallenge and fix a small bug.
(5.77 KB, patch)
2009-12-15 11:44 PST
,
Andrei Popescu
no flags
Details
Formatted Diff
Diff
Add implementation of cookie functions, AuthenticationChallenge and fix a small bug.
(6.44 KB, patch)
2009-12-15 11:52 PST
,
Andrei Popescu
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Andrei Popescu
Comment 1
2009-12-15 11:21:20 PST
Created
attachment 44889
[details]
Add implementation of cookie functions, AuthenticationChallenge and fix a small bug.
WebKit Review Bot
Comment 2
2009-12-15 11:26:10 PST
Attachment 44889
[details]
did not pass style-queue: Failed to run "WebKitTools/Scripts/check-webkit-style" exit_code: 1 WebCore/platform/network/android/Cookie.cpp:28: Found other header before a header this file implements. Should be: config.h, primary header, blank line, and then alphabetically sorted. [build/include_order] [4] Total errors found: 1
Darin Fisher (:fishd, Google)
Comment 3
2009-12-15 11:30:10 PST
Comment on
attachment 44889
[details]
Add implementation of cookie functions, AuthenticationChallenge and fix a small bug.
> Index: WebCore/platform/network/android/AuthenticationChallenge.h
...
> +class ResourceHandle;
^^^ This forward declaration is unnecessary.
> Index: WebCore/platform/network/android/Cookie.cpp
^^^ This file should be named CookieJarAndroid.cpp to stick with conventions.
> +#include "config.h" > +
^^^ please include CookieJar.h here.
> +#include "PlatformBridge.h" > + > +namespace WebCore { > + > +class Document;
^^^ no need for Document forward declare if you include CookieJar.h
Andrei Popescu
Comment 4
2009-12-15 11:44:04 PST
Created
attachment 44894
[details]
Add implementation of cookie functions, AuthenticationChallenge and fix a small bug.
Andrei Popescu
Comment 5
2009-12-15 11:45:10 PST
(In reply to
comment #3
)
> (From update of
attachment 44889
[details]
) > > Index: WebCore/platform/network/android/AuthenticationChallenge.h > ... > > +class ResourceHandle; > > ^^^ This forward declaration is unnecessary. >
Removed.
> > > Index: WebCore/platform/network/android/Cookie.cpp > > ^^^ This file should be named CookieJarAndroid.cpp to stick with conventions.
> Done.
> > > +#include "config.h" > > + > > ^^^ please include CookieJar.h here.
> Included.
> > > +#include "PlatformBridge.h" > > + > > +namespace WebCore { > > + > > +class Document; > > ^^^ no need for Document forward declare if you include CookieJar.h
Removed. Thanks, Andrei
Andrei Popescu
Comment 6
2009-12-15 11:46:41 PST
But forgot the PlatformBridge.h changed in the new patch. Uploading new patch...
WebKit Review Bot
Comment 7
2009-12-15 11:48:29 PST
style-queue ran check-webkit-style on
attachment 44894
[details]
without any errors.
Andrei Popescu
Comment 8
2009-12-15 11:52:11 PST
Created
attachment 44895
[details]
Add implementation of cookie functions, AuthenticationChallenge and fix a small bug.
WebKit Review Bot
Comment 9
2009-12-15 11:53:55 PST
style-queue ran check-webkit-style on
attachment 44895
[details]
without any errors.
Andrei Popescu
Comment 10
2009-12-18 02:56:47 PST
ping?
Adam Barth
Comment 11
2009-12-18 15:18:52 PST
Comment on
attachment 44895
[details]
Add implementation of cookie functions, AuthenticationChallenge and fix a small bug. I guess you're not implementing third-party cookie blocking? If you decide to do that later, you'll need to revise this code.
WebKit Commit Bot
Comment 12
2009-12-20 01:53:03 PST
Comment on
attachment 44895
[details]
Add implementation of cookie functions, AuthenticationChallenge and fix a small bug. Clearing flags on attachment: 44895 Committed
r52406
: <
http://trac.webkit.org/changeset/52406
>
WebKit Commit Bot
Comment 13
2009-12-20 01:53:08 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