Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/chrome.workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ jobs:
run: dart pub get

- name: Test chrome
run: dart test -j 1 -p chrome
run: dart test --timeout 2x -j 1 -p chrome
3 changes: 2 additions & 1 deletion lib/src/platform_check/web.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ class PlatformWeb extends Platform {
try {
Random.secure();
useBuiltInRng = true;
} on UnsupportedError {
} catch (_) {
// throws UnknownJsTypeError. See 'dart:_js_types'.
useBuiltInRng = false;
}
}
Expand Down