summaryrefslogtreecommitdiff
path: root/cli/coverage.rs
diff options
context:
space:
mode:
authorCasper Beyer <caspervonb@pm.me>2020-09-29 12:25:54 +0800
committerGitHub <noreply@github.com>2020-09-29 00:25:54 -0400
commit970d412a0830a06cdd75b49d2c16dcc933af382a (patch)
treeb5abacbd84b4148946344d7c3da5b1c3378611c1 /cli/coverage.rs
parent6587d1bce80fe6beef7353efcf00a674438e6e4e (diff)
chore(cli/coverage): remove unused runtime domain (#7749)
Previously when we used the websocket to talk to the inspector we used the runtime domain to send a "runIfWaitingForDebugger" message. However this is not required since we now talk to the inspector directly and no longer send said message so this removes the enabling of the domain entirely.
Diffstat (limited to 'cli/coverage.rs')
-rw-r--r--cli/coverage.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/cli/coverage.rs b/cli/coverage.rs
index 4d251a0b7..3006bd878 100644
--- a/cli/coverage.rs
+++ b/cli/coverage.rs
@@ -129,10 +129,6 @@ impl CoverageCollector {
.await?;
self
- .post_message("Runtime.enable".to_string(), None)
- .await?;
-
- self
.post_message("Profiler.enable".to_string(), None)
.await?;
@@ -185,9 +181,6 @@ impl CoverageCollector {
.post_message("Profiler.disable".to_string(), None)
.await?;
self
- .post_message("Runtime.disable".to_string(), None)
- .await?;
- self
.post_message("Debugger.disable".to_string(), None)
.await?;