File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -143,6 +143,7 @@ String addQueryParameters(
143143}) {
144144 final originalUri = Uri .parse (uri);
145145 final newUri = originalUri.replace (
146+ path: '' , // Replace the /debugger path so that the inspector url works.
146147 queryParameters: {
147148 ...originalUri.queryParameters,
148149 ...queryParameters,
Original file line number Diff line number Diff line change @@ -694,7 +694,8 @@ void testAll({
694694 // origin, and being able to connect to the embedded Dart app.
695695 // See https://github.com/dart-lang/webdev/issues/1779
696696
697- test ('The Dart DevTools IFRAME has the correct query parameters' ,
697+ test (
698+ 'The Dart DevTools IFRAME has the correct query parameters and path' ,
698699 () async {
699700 final chromeDevToolsPage = await getChromeDevToolsPage (browser);
700701 // There are no hooks for when a panel is added to Chrome DevTools,
@@ -736,6 +737,7 @@ void testAll({
736737 queryParameters,
737738 containsPair ('backgroundColor' , isNotEmpty),
738739 );
740+ expect (uri.path, equals ('/' ));
739741 });
740742
741743 test ('Trying to debug a page with multiple Dart apps shows warning' ,
You can’t perform that action at this time.
0 commit comments