File tree Expand file tree Collapse file tree
src/cdp-proxy/CDPMessageHandlers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,17 +19,13 @@ export class HermesCDPMessageHandler extends BaseCDPMessageHandler {
1919 */
2020 private readonly HERMES_NATIVE_FUNCTION_SCRIPT_ID : string = "4294967295" ;
2121
22- private readonly ARRAY_REQUEST_PHRASE_MARKER : string = "Object.getOwnPropertyDescriptor" ;
23-
2422 public processDebuggerCDPMessage ( event : any ) : ProcessedCDPMessage {
2523 let sendBack = false ;
2624 if ( event . method === CDP_API_NAMES . DEBUGGER_SET_BREAKPOINT ) {
2725 event = this . handleBreakpointSetting ( event ) ;
2826 } else if ( event . method === CDP_API_NAMES . RUNTIME_CALL_FUNCTION_ON ) {
29- if ( event . params . functionDeclaration . includes ( this . ARRAY_REQUEST_PHRASE_MARKER ) ) {
30- event = this . handleCallFunctionOnEvent ( event ) ;
31- sendBack = true ;
32- }
27+ event = this . handleCallFunctionOnEvent ( event ) ;
28+ sendBack = true ;
3329 }
3430
3531 return {
You can’t perform that action at this time.
0 commit comments