Skip to content

Commit

Permalink
Respond to PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
elliette committed Aug 3, 2023
1 parent adc7449 commit 54216d4
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions dwds/debug_extension_mv3/web/debug_session.dart
Original file line number Diff line number Diff line change
Expand Up @@ -485,11 +485,8 @@ bool _shouldSkipEventForChrome115Bug(String command) {
if (unsupportedOnChrome115) {
final chromeVersionMatch =
RegExp('Chrome/([0-9.]+)').firstMatch(window.navigator.userAgent);
final chromeVersion =
chromeVersionMatch == null ? '' : chromeVersionMatch[0];
if (chromeVersion?.startsWith('Chrome/115') ?? false) {
return true;
}
final chromeVersion = chromeVersionMatch?[0];
return chromeVersion?.startsWith('Chrome/115') ?? false;
}
return false;
}
Expand Down

0 comments on commit 54216d4

Please sign in to comment.