Uh oh!
There was an error while loading. Please reload this page.
Add support for sending binary data in websockets - #6961
Conversation
facebook-github-bot
commented
Apr 13, 2016
By analyzing the blame information on this pull request, we identified @hharnisc, @satya164 and @kenwheeler to be potential reviewers. |
philikon
commented
Apr 13, 2016
There was a problem hiding this comment.
no-undef: 'ArrayBufferView' is not defined.
facebook-github-bot
commented
Apr 13, 2016
@philikon updated the pull request. |
There was a problem hiding this comment.
no-undef: 'ArrayBufferView' is not defined.
facebook-github-bot
commented
Apr 13, 2016
@philikon updated the pull request. |
philikon
commented
Apr 14, 2016
Not sure what's up with the Travis failure. I've had a few other Travis builds fail last night, so perhaps Travis had some problems. Either way, I ran the e2e test locally and it passed. Maybe somebody with the right permission bits could kick Travis and restart the build. |
mkonicek
commented
Apr 15, 2016
Wow thanks for adding the @satya164 Do the changes in WebSocket.js look good to you? |
mkonicek
commented
Apr 15, 2016
This is quite a big rewrite - could you please also add sending strings on both Android and iOS to your test plan to make sure it doesn't break anything? There are no breaking API changes, right? |
Travis tests passed now, they can be a bit flaky (but much more stable than they used to be). |
philikon
commented
Apr 15, 2016
Please see my comment above. Most of the changes in this PR are from being based on #6889. The actual changes here are only in the last commit and I will rebase once all the dependent PRs have been merged. But with review times of O(1 week), I just wanted to move faster. |
@mkonicek@christopherdro now that the other PRs have landed, I have rebased this PR here. It is ready for review now. Thanks! |
facebook-github-bot
commented
Apr 19, 2016
@philikon updated the pull request. |
There was a problem hiding this comment.
Error suppressing comment Unused suppression
mkonicek
commented
Apr 19, 2016
@philikon Is this one good to go? Should I merge it? Please check the eslint warnings. |
philikon
commented
Apr 19, 2016
Ah, got stung by the Flow 0.23 upgrade in the rebase. Will fix tests. |
facebook-github-bot
commented
Apr 19, 2016
@philikon updated the pull request. |
philikon
commented
Apr 19, 2016
@mkonicek Addressed your review comment and hopefully fixed Flow. Should be good to go now once CI comes back green. |
zxcpoiu
commented
Apr 19, 2016
mkonicek
commented
Apr 20, 2016
@facebook-github-bot shipit |
facebook-github-bot
commented
Apr 20, 2016
Thanks for importing. If you are an FB employee go to Phabricator to review. |
philikon
commented
Apr 20, 2016
\o/ |
Summary:This is a reprise of react#6327, but with iOS 7.0 compatibility and less `package.json` changes. **Test Plan:** Load WebSocketExample in UIExplorer app and start websocket test server script (both provided in react#6889) and test sending binary data on both iOS and Android Closesreact#6961 Differential Revision: D3202022 Pulled By: mkonicek fb-gh-sync-id: 38843d0a9c0172971c5c70a5139ded04042b280a fbshipit-source-id: 38843d0a9c0172971c5c70a5139ded04042b280a
Summary:This is a reprise of react#6327, but with iOS 7.0 compatibility and less `package.json` changes. **Test Plan:** Load WebSocketExample in UIExplorer app and start websocket test server script (both provided in react#6889) and test sending binary data on both iOS and Android Closesreact#6961 Differential Revision: D3202022 Pulled By: mkonicek fb-gh-sync-id: 38843d0a9c0172971c5c70a5139ded04042b280a fbshipit-source-id: 38843d0a9c0172971c5c70a5139ded04042b280a
Summary: **Motivation** This is originally a follow up of PR #6327 by dewe and jeremyong And mkonicek indicated this should split into a separate PR. Now philikon takes over #6327 as #6961 **Test Plan:** According to #6961 and #6889 Load WebSocketExample in UIExplorer app and start websocket test server script and test sending binary data on both iOS and Android Closes#6937 Reviewed By: javache Differential Revision: D3669596 Pulled By: mkonicek fbshipit-source-id: 342e29eb34de882bcbd9f297aab71dd6bb236748
This is a reprise of #6327, but with iOS 7.0 compatibility and less
package.jsonchanges.Test Plan: Load WebSocketExample in UIExplorer app and start websocket test server script (both provided in #6889) and test sending binary data on both iOS and Android