Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timob 15244: Android: expose the cookie management methods for HTTPClient and WebView #4804

Merged
merged 3 commits into from Oct 23, 2013

Conversation

pingwang2011
Copy link
Contributor

@ghost ghost assigned hieupham007 Oct 18, 2013
return;
}

super.onPropertyChanged(name, value);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be called in the else case at the end of this method

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It can not be in the else case. Because in the KrollProxy.onPropertyChanged(), it calls properties.put(name, newValue). That's where the property value get updated.

@bhatfield
Copy link
Contributor

Reviewed. Ran validate and deploy scripts. Left a few comments.

public CookieProxy[] getHTTPCookiesForDomain(String domain)
{
if (domain == null || domain.length() == 0) {
Log.e(TAG, "Unable to get the HTTP cookies. Need to provide a valid domain.");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should probably only show in debug mode.

@hieupham007
Copy link
Contributor

Code reviewed. Please address comments.

@pingwang2011
Copy link
Contributor Author

Updated. Ready for review.

@hieupham007
Copy link
Contributor

Code reviewed and functionally tested. Ran all test cases in ticket + anvil. Request accepted

hieupham007 added a commit that referenced this pull request Oct 23, 2013
Timob 15244: Android: expose the cookie management methods for HTTPClient and WebView
@hieupham007 hieupham007 merged commit 068fd3d into tidev:master Oct 23, 2013
@pingwang2011 pingwang2011 deleted the timob-15244 branch December 3, 2013 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants