Skip to content

Commit 3014f48

Browse files
committed
Fix tests
1 parent f0f1f30 commit 3014f48

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

dwds/lib/src/dwds_vm_client.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,6 @@ final class ChromeDwdsVmClient
307307

308308
static Future<ChromeDwdsVmClient> create(
309309
ChromeDebugService debugService,
310-
DwdsStats dwdsStats,
311310
Uri? ddsUri,
312311
) async {
313312
final dwdsVmClient = ChromeDwdsVmClient(debugService: debugService);

dwds/lib/src/handlers/dev_handler.dart

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -851,11 +851,7 @@ class DevHandler {
851851
if (_ddsConfig.enable) {
852852
dds = await debugService.startDartDevelopmentService();
853853
}
854-
final vmClient = await ChromeDwdsVmClient.create(
855-
debugService,
856-
dwdsStats,
857-
dds?.wsUri,
858-
);
854+
final vmClient = await ChromeDwdsVmClient.create(debugService, dds?.wsUri);
859855
final appDebugService = AppDebugServices(
860856
debugService: debugService,
861857
dwdsVmClient: vmClient,

dwds/lib/src/services/chrome/chrome_debug_service.dart

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,11 @@ final class ChromeDebugService extends DebugService<ChromeProxyService> {
8181
executionContext: executionContext,
8282
expressionCompiler: expressionCompiler,
8383
);
84-
await debugService.initialize(proxyService: chromeProxyService);
84+
await debugService.initialize(
85+
proxyService: chromeProxyService,
86+
onRequest: onRequest,
87+
onResponse: onResponse,
88+
);
8589
return debugService;
8690
}
8791

dwds/lib/src/services/debug_service.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ abstract class DebugService<T extends ProxyService> {
190190
}
191191

192192
@protected
193+
@mustCallSuper
193194
void handleConnection(
194195
StreamChannel channel,
195196
ProxyService proxyService,

0 commit comments

Comments
 (0)