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:
Martin Bektchiev
2019-11-11 14:47:26 +02:00
committed by GitHub
parent fc2a233e95
commit d0d4d81102

View File

@@ -247,14 +247,3 @@ export class NetworkDomainDebugger implements inspectorCommandTypes.NetworkDomai
return resourceData; 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 {};
}
}