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-17136]iOS: HttpClient public setters should accept null #5791

Merged
merged 2 commits into from Jun 13, 2014

Conversation

srahim
Copy link
Contributor

@srahim srahim commented Jun 11, 2014

Test case in JIRA


-(void)setOnload:(id)callback
{
ENSURE_SINGLE_ARG(callback, KrollCallback)
ENSURE_SINGLE_ARG_OR_NIL(callback, KrollCallback)
[self replaceValue:callback forKey:@"onload" notification:NO];
hasOnload = YES;
Copy link
Contributor

Choose a reason for hiding this comment

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

If callback is nil, then hasOnload needs to be NO That flag is used to tell the program to fire the callback in the request:onLoad: function.

@pec1985
Copy link
Contributor

pec1985 commented Jun 12, 2014

That comment I left applies to all the other changes as well. Please address comments before I merge.

@pec1985
Copy link
Contributor

pec1985 commented Jun 13, 2014

PR reviewed, code tested. APPROVED!

pec1985 added a commit that referenced this pull request Jun 13, 2014
[TIMOB-17136]iOS: HttpClient public setters should accept null
@pec1985 pec1985 merged commit 3a11d30 into tidev:master Jun 13, 2014
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

2 participants