Unverified Commit 0497235c authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

[flutter_tool] experimental resident web runner is not debuggable (#46916)

parent ea4ff490
...@@ -360,6 +360,9 @@ class _ExperimentalResidentWebRunner extends ResidentWebRunner { ...@@ -360,6 +360,9 @@ class _ExperimentalResidentWebRunner extends ResidentWebRunner {
dartDefines: dartDefines, dartDefines: dartDefines,
); );
@override
bool get debuggingEnabled => false;
@override @override
Future<int> run({ Future<int> run({
Completer<DebugConnectionInfo> connectionInfoCompleter, Completer<DebugConnectionInfo> connectionInfoCompleter,
......
...@@ -486,6 +486,12 @@ void main() { ...@@ -486,6 +486,12 @@ void main() {
FeatureFlags: () => TestFeatureFlags(isWebIncrementalCompilerEnabled: true), FeatureFlags: () => TestFeatureFlags(isWebIncrementalCompilerEnabled: true),
})); }));
test('experimental resident runner is not debuggable', () => testbed.run(() {
expect(residentWebRunner.debuggingEnabled, false);
}, overrides: <Type, Generator>{
FeatureFlags: () => TestFeatureFlags(isWebIncrementalCompilerEnabled: true),
}));
test('Can hot restart after attaching', () => testbed.run(() async { test('Can hot restart after attaching', () => testbed.run(() async {
_setupMocks(); _setupMocks();
final Completer<DebugConnectionInfo> connectionInfoCompleter = Completer<DebugConnectionInfo>(); final Completer<DebugConnectionInfo> connectionInfoCompleter = Completer<DebugConnectionInfo>();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment