Remove unreferenced ParseUnhandledJSErrorStackNatively flag (#41239)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/41239

The experiment this covered was backed out and never re-landed (see D40387938).

Changelog: [Internal]

Reviewed By: NickGerleman

Differential Revision: D50641810

fbshipit-source-id: 6f92c46a37a07029ef2aa56ebf9b69e0503bb2cd
This commit is contained in:
Pieter De Baets
2023-10-31 07:09:46 -07:00
committed by Facebook GitHub Bot
parent da5eb3efe3
commit dd694ec22e
2 changed files with 0 additions and 22 deletions
@@ -55,12 +55,6 @@ RCT_EXTERN void RCTSetDispatchW3CPointerEvents(BOOL value);
RCT_EXTERN int RCTGetMemoryPressureUnloadLevel(void);
RCT_EXTERN void RCTSetMemoryPressureUnloadLevel(int value);
/*
* Parse JS stack for unhandled JS errors caught in C++
*/
RCT_EXTERN BOOL RCTGetParseUnhandledJSErrorStackNatively(void);
RCT_EXTERN void RCTSetParseUnhandledJSErrorStackNatively(BOOL value);
/*
* Use native view configs in bridgeless mode
*/
@@ -52,22 +52,6 @@ void RCTSetMemoryPressureUnloadLevel(int value)
RCTMemoryPressureUnloadLevel = value;
}
/*
* In Bridge mode, parse the JS stack for unhandled JS errors, to display in RedBox.
* When false (previous default behavior), a native stack is displayed in the RedBox.
*/
static BOOL RCTParseUnhandledJSErrorStackNatively = NO;
BOOL RCTGetParseUnhandledJSErrorStackNatively(void)
{
return RCTParseUnhandledJSErrorStackNatively;
}
void RCTSetParseUnhandledJSErrorStackNatively(BOOL value)
{
RCTParseUnhandledJSErrorStackNatively = value;
}
/*
* Use native view configs in bridgeless mode
*/