Commit 9aae84a
Remove some web debugging remnants (#48054)
Summary:
Pull Request resolved: #48054
Web debugging should be fully removed as of recent, so lets remove some of the gunk that was powering it, and checks for that environment.
I did some string searches for the following:
* isAsyncDebugging
* debugRemotely
* isDebuggingRemotely
* isRemoteDebuggingAvailable
* WebSocketExecutor
* JavaJSExecutor
* ProxyJavaScriptExecutor
* RELOAD_APP_EXTRA_JS_PROXY
* getJSBundleURLForRemoteDebugging
* onReloadWithJSDebugger
* setRemoteJSDebugEnabled
* WebsocketJavaScriptExecutor
* createRemoteDebuggerBundleLoader
1. `expo-modules-core` exposes its own `isAsyncDebugging` by checking for `nativeCallSyncHook`, but does not depend on `DebugEnvironment`.
2. `expo-dev-menu` does read `isDebuggingRemotely` from `DevSettings`.
3. Realm does a check in Native using `objc_lookUpClass("RCTWebSocketExecutor")` but will gracefully handle `nil` if it does not exist
4. Some more usages (e.g. `onReloadWithJSDebugger`) in vendored packages of `expo-dev-launcher` for RN 0.74
I created an issue for Expo mentioning both here: expo/expo#33371
Changelog:
[General][Breaking] - Remove some web debugging remnants
Reviewed By: huntie
Differential Revision: D66553934
fbshipit-source-id: deec382b1c8bda393fddb8682aa91b26afd9fbe31 parent 3e2e8ec commit 9aae84a
File tree
35 files changed
+11
-1302
lines changed- packages
- react-native
- Libraries
- ReactNative
- Utilities
- __tests__/__snapshots__
- ReactAndroid
- api
- src/main
- java/com/facebook/react
- bridge
- devsupport
- interfaces
- modules/debug
- interfaces
- runtime
- jni/react/jni
- React
- CoreModules
- CxxBridge
- src/private/specs/modules
- rn-tester/RCTTest
35 files changed
+11
-1302
lines changedLines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
| |||
74 | 73 | | |
75 | 74 | | |
76 | 75 | | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | 76 | | |
85 | 77 | | |
86 | 78 | | |
| |||
Lines changed: 0 additions & 16 deletions
This file was deleted.
Lines changed: 0 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8863 | 8863 | | |
8864 | 8864 | | |
8865 | 8865 | | |
8866 | | - | |
8867 | | - | |
8868 | | - | |
8869 | | - | |
8870 | | - | |
8871 | 8866 | | |
8872 | 8867 | | |
8873 | 8868 | | |
| |||
10307 | 10302 | | |
10308 | 10303 | | |
10309 | 10304 | | |
10310 | | - | |
10311 | 10305 | | |
10312 | 10306 | | |
10313 | 10307 | | |
| |||
10321 | 10315 | | |
10322 | 10316 | | |
10323 | 10317 | | |
10324 | | - | |
10325 | 10318 | | |
10326 | 10319 | | |
10327 | 10320 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | 53 | | |
55 | 54 | | |
56 | 55 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | 155 | | |
164 | 156 | | |
165 | 157 | | |
| |||
456 | 448 | | |
457 | 449 | | |
458 | 450 | | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | 451 | | |
466 | 452 | | |
467 | 453 | | |
| |||
526 | 512 | | |
527 | 513 | | |
528 | 514 | | |
529 | | - | |
530 | | - | |
531 | | - | |
532 | | - | |
533 | 515 | | |
534 | 516 | | |
535 | 517 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | 50 | | |
52 | 51 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | 52 | | |
59 | 53 | | |
60 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
| |||
124 | 123 | | |
125 | 124 | | |
126 | 125 | | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | 126 | | |
131 | 127 | | |
132 | 128 | | |
| |||
183 | 179 | | |
184 | 180 | | |
185 | 181 | | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | 182 | | |
199 | 183 | | |
200 | 184 | | |
| |||
255 | 239 | | |
256 | 240 | | |
257 | 241 | | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | 242 | | |
263 | 243 | | |
264 | 244 | | |
| |||
296 | 276 | | |
297 | 277 | | |
298 | 278 | | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | 279 | | |
309 | 280 | | |
310 | 281 | | |
| |||
338 | 309 | | |
339 | 310 | | |
340 | 311 | | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | 312 | | |
366 | 313 | | |
367 | 314 | | |
| |||
460 | 407 | | |
461 | 408 | | |
462 | 409 | | |
463 | | - | |
| 410 | + | |
464 | 411 | | |
465 | 412 | | |
466 | 413 | | |
| |||
518 | 465 | | |
519 | 466 | | |
520 | 467 | | |
521 | | - | |
522 | 468 | | |
523 | 469 | | |
524 | 470 | | |
| |||
578 | 524 | | |
579 | 525 | | |
580 | 526 | | |
581 | | - | |
582 | | - | |
583 | | - | |
584 | | - | |
585 | 527 | | |
586 | 528 | | |
587 | 529 | | |
| |||
602 | 544 | | |
603 | 545 | | |
604 | 546 | | |
605 | | - | |
606 | | - | |
607 | | - | |
608 | 547 | | |
609 | 548 | | |
610 | 549 | | |
| |||
Lines changed: 0 additions & 19 deletions
This file was deleted.
0 commit comments