mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
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)
This commit is contained in:
@@ -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 {};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user