mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-08 20:58:24 +08:00
This will be useful for testing websocket-related features in devtools. Bug: 1228705 Change-Id: Ic2a2a1d8d420734900df93a29966a9ebf9727215 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3048190 Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org> Commit-Queue: Danil Somsikov <dsv@chromium.org>
9 lines
176 B
JavaScript
9 lines
176 B
JavaScript
'use strict';
|
|
|
|
module.exports = function () {
|
|
throw new Error(
|
|
'ws does not work in the browser. Browser clients must use the native ' +
|
|
'WebSocket object'
|
|
);
|
|
};
|