-
Notifications
You must be signed in to change notification settings - Fork 4k
fix(storage, web): fixed web stream handlers, e2e web tests, incorrect NativeError being thrown instead of FirebaseException on web #12319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…tions and wasn't calling onDone
…g `false` when cancelling task
task.cancel()
on apple
task.cancel()
on apple task.cancel()
on apple
task.cancel()
on apple return exception is core_interop.FirebaseError; | ||
bool _testException(Object? objectException) { | ||
final exception = objectException! as core_interop.JSError; | ||
// ignore: unnecessary_cast |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why the cast?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The analyser was causing a warning if the cast isn't there. Not entirely sure why but might be something to do with the shimmer for all platforms.
Description
Changes to Web
snapshotEvents
to ensure it was properly closed and callingonDone
method.flutter.dart
toreference_web.dart
as it should be.Related Issues
Replace this paragraph with a list of issues related to this PR from the issue database. Indicate, which of these issues are resolved or fixed by this PR. Note that you'll have to prefix the issue numbers with flutter/flutter#.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]
).This will ensure a smooth and quick review process. Updating the
pubspec.yaml
and changelogs is not required.///
).melos run analyze
) does not report any problems on my PR.Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?