This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -402,8 +402,8 @@ Future<void> setupChromiumTab(
402
402
wipConnection.runtime.onExceptionThrown.listen (
403
403
(wip.ExceptionThrownEvent event) {
404
404
if (! exceptionCompleter.isCompleted) {
405
- String text = event.exceptionDetails.text;
406
- String ? description = event.exceptionDetails.exception? .description;
405
+ final String text = event.exceptionDetails.text;
406
+ final String ? description = event.exceptionDetails.exception? .description;
407
407
exceptionCompleter.complete ('$text : $description ' );
408
408
}
409
409
}
Original file line number Diff line number Diff line change @@ -1060,7 +1060,7 @@ class BrowserManager {
1060
1060
1061
1061
_controllers.add (controller! );
1062
1062
1063
- List <Future <RunnerSuite >> futures = < Future <RunnerSuite >> [
1063
+ final List <Future <RunnerSuite >> futures = < Future <RunnerSuite >> [
1064
1064
controller! .suite
1065
1065
];
1066
1066
if (_browser.onUncaughtException != null ) {
@@ -1069,7 +1069,7 @@ class BrowserManager {
1069
1069
throw Exception ('Exception while loading suite: $error ' )));
1070
1070
}
1071
1071
1072
- RunnerSuite suite = await Future .any (futures);
1072
+ final RunnerSuite suite = await Future .any (futures);
1073
1073
return suite;
1074
1074
} catch (_) {
1075
1075
closeIframe ();
You can’t perform that action at this time.
0 commit comments