react-native/Libraries/WebSocket
Alex Kotliarskyi 64d56f34b7 Improve Chrome debugger
Summary:
`debugger.html` contained a ton of hacky code that was needed to ensure we have a clean JS runtime every time a client RN app connects. That was needed because we used the page's global environment as runtime. Some time ago WebWorker support was added and now we run RN code inside an isolated WebWorker instance, and we can safely get rid of all these hacks.

This has a bunch of nice side-effects: debug reload works faster, `console.log`s are preserved, `debuggerWorker.js` selection doesn't change.

Made sure the debugging (breakpoints, etc.) still works as before.

Small demo
![](http://g.recordit.co/FPdVHLHPUW.gif)
Closes https://github.com/facebook/react-native/pull/5715

Reviewed By: svcscm

Differential Revision: D2906602

Pulled By: frantic

fb-gh-sync-id: 1a6ab9a5655d7c32ddd23619564e59c377b53a35
2016-02-05 15:17:33 -08:00
..
RCTWebSocket.xcodeproj Implement WebSocket module for Android. Fixes #2837 2015-10-07 08:36:22 -07:00
__mocks__ Fix tests related to event-target-shim 2015-10-02 12:36:23 -07:00
__tests__ Fixes #3846 2015-11-06 11:24:29 -08:00
RCTSRWebSocket.h Added an optional options parameter for WebSockets 2016-01-20 11:01:39 -08:00
RCTSRWebSocket.m iOS websocket: include cookies with request 2016-02-01 14:19:32 -08:00
RCTWebSocketExecutor.h Refactored module access to allow for lazy loading 2015-11-25 04:49:45 -08:00
RCTWebSocketExecutor.m Improve Chrome debugger 2016-02-05 15:17:33 -08:00
RCTWebSocketModule.h Make the RCTSRWebSocketDelegate protocol part of RCTWebSocketModule public 2016-01-14 16:13:33 -08:00
RCTWebSocketModule.m Added an optional options parameter for WebSockets 2016-01-20 11:01:39 -08:00
WebSocket.js Added an optional options parameter for WebSockets 2016-01-20 11:01:39 -08:00
WebSocketBase.js Added an optional options parameter for WebSockets 2016-01-20 11:01:39 -08:00
WebSocketEvent.js Implement WebSocket module for Android. Fixes #2837 2015-10-07 08:36:22 -07:00