From d0d4d811025a7e53e25dd86884c261369be92ee5 Mon Sep 17 00:00:00 2001 From: Martin Bektchiev Date: Mon, 11 Nov 2019 14:47:26 +0200 Subject: [PATCH] refactor(ios): Chrome DevTools Runtime domain (#8072) Move the logic from core modules to iOS runtime. This way watches and expressions evaluation in console will work for apps which do not use the core modules (e.g. TestRunner of iOS runtime) --- .../debugger/webinspector-network.ios.ts | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/nativescript-core/debugger/webinspector-network.ios.ts b/nativescript-core/debugger/webinspector-network.ios.ts index 6832f6acd..ddf2c6b97 100644 --- a/nativescript-core/debugger/webinspector-network.ios.ts +++ b/nativescript-core/debugger/webinspector-network.ios.ts @@ -247,14 +247,3 @@ export class NetworkDomainDebugger implements inspectorCommandTypes.NetworkDomai return resourceData; } } - -@inspectorCommands.DomainDispatcher("Runtime") -export class RuntimeDomainDebugger { - constructor() { - __inspectorSendEvent(`{"method":"Runtime.executionContextCreated","params":{"context":{"id":1,"origin":"http://main.xml","name":"","auxData":{"isDefault":true,"frameId":"${frameId}"}}}}`); - } - - compileScript(): { scriptId?: string, exceptionDetails?: Object } { - return {}; - } -}