Skip to content

[Flutter 3] Web app fails to load in firefox if "Delete cookies and site data when Firefox is closed" is checked in settings #103972

@Velliane

Description

@Velliane

Hello,

I have a web app deployed with Firebase.
It's work fine with almost all browsers. But with Firefox, it gave me this error: Failed to load app from service worker

Capture d’écran 2022-05-17 à 13 36 14

Firefox version: 100.0

Flutter doctor -v:

[✓] Flutter (Channel stable, 2.10.5, on macOS 12.3 21E230 darwin-arm, locale fr-FR)
    • Flutter version 2.10.5 at /Users/appspanel/Documents/development/utils/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5464c5bac7 (4 weeks ago), 2022-04-18 09:55:37 -0700
    • Engine revision 57d3bac3dd
    • Dart version 2.16.2
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/appspanel/Library/Android/sdk
    • Platform android-32, build-tools 32.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)

[✓] Connected device (3 available)
    • Android SDK built for arm64 (mobile) • emulator-5554                        • android-arm64  • Android 10
      (API 29) (emulator)
    • iPhone 8 (mobile)                    • C0CAAD9F-196D-4329-9089-188F7A95FC53 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-15-4 (simulator)
    • Chrome (web)                         • chrome                               • web-javascript • Google Chrome
      101.0.4951.64

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Thanks for your help

Metadata

Metadata

Assignees

Labels

a: releaseChallenges faced when attempting to productionize an appassigned for triageissue is assigned to a domain expert for further triagebrowser: firefoxonly manifests in Firefoxc: regressionIt was better in the past than it is nowfound in release: 3.0Found to occur in 3.0found in release: 3.1Found to occur in 3.1has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-webWeb applications specificallyr: fixedIssue is closed as already fixed in a newer versiontoolAffects the "flutter" command-line tool. See also t: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions