diff --git a/dwds/CHANGELOG.md b/dwds/CHANGELOG.md index 9e71edb21..025cbdaa3 100644 --- a/dwds/CHANGELOG.md +++ b/dwds/CHANGELOG.md @@ -1,5 +1,7 @@ ## 21.1.0-wip +- Update the interface for ChromeProxyService.getSourceReport to match the VM service. - [#2235](https://github.com/dart-lang/webdev/pull/2235) + ## 21.0.0 - Update Dart SDK constraint to `>=3.2.0-36.0.dev <4.0.0`. - [#2207](https://github.com/dart-lang/webdev/pull/2207) diff --git a/dwds/lib/src/services/chrome_proxy_service.dart b/dwds/lib/src/services/chrome_proxy_service.dart index 422d1bcf6..44b4bfea4 100644 --- a/dwds/lib/src/services/chrome_proxy_service.dart +++ b/dwds/lib/src/services/chrome_proxy_service.dart @@ -803,6 +803,9 @@ ${globalLoadStrategy.loadModuleSnippet}("dart_sdk").developer.invokeExtension( bool? forceCompile, bool? reportLines, List? libraryFilters, + // Note: Ignore the optional librariesAlreadyCompiled parameter. It is here + // to match the VM service interface. + List? librariesAlreadyCompiled, }) => wrapInErrorHandlerAsync( 'getSourceReport',