-
Notifications
You must be signed in to change notification settings - Fork 25k
Make sure xhr req header's value is String type #10222
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
Conversation
|
By analyzing the blame information on this pull request, we identified @philikon and @davidaurelio to be potential reviewers. |
| react_native_target('java/com/facebook/react/touch:touch'), | ||
| react_native_target('java/com/facebook/react/uimanager:uimanager'), | ||
| react_native_target('java/com/facebook/react:react'), | ||
| react_native_target('java/com/facebook/react/jstasks:jstasks'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add missing deps, make scripts/run-android-local-unit-tests.sh happy
|
@leeight updated the pull request - view changes |
|
@leeight updated the pull request - view changes |
| throw new Error('Request has not been opened'); | ||
| } | ||
| this._headers[header.toLowerCase()] = value; | ||
| this._headers[header.toLowerCase()] = String(value); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the NetworkingModule.java, header.getString(1) was called, so the value must be String type.
|
@leeight updated the pull request - view changes |
|
Arguably code should not be using this but it seems worth it to get firebase files working. The dependency thing looks like it already got fixed, though, so now Circle CI is complaining that that dependency is a duplicate. Could you fix that and then I'll ship this? |
In the `NetworkingModule.java`, `header.getString(1)` was called, so the value must be String type. FIX facebook#10198
|
@lacker Done. |
|
@facebook-github-bot shipit |
|
@lacker has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Summary: In the `NetworkingModule.java`, `header.getString(1)` was called, so the value must be String type. FIX facebook#10198 Closes facebook#10222 Differential Revision: D4080319 Pulled By: lacker fbshipit-source-id: 85234a2bbf90e5b9e0e65ceadbfabb330b2d1322
In the
NetworkingModule.java,header.getString(1)wascalled, so the value must be String type.
FIX #10198