• Jonah Williams's avatar
    [flutter_tools] register service worker after first frame event (#66082) · 90d83e37
    Jonah Williams authored
    Registering the service worker immediately after the documented has loaded may cause SW initialization to compete with framework initialization. It was recommended to us that we defer the service worker setup until after the framework is done with setup, which should be sometime after the first frame.
    
    To implement this, I augmented the binding setup to dispatch an event on the document after the binding has initialized. I don't see any obvious risks with this setup.
    
    Fixes #66066
    90d83e37
Name
Last commit
Last update
..
automated_tests Loading commit data...
benchmarks Loading commit data...
bots Loading commit data...
ci Loading commit data...
customer_testing Loading commit data...
devicelab Loading commit data...
docs Loading commit data...
integration_tests Loading commit data...
manual_tests Loading commit data...
missing_dependency_tests Loading commit data...
snippets Loading commit data...
tools Loading commit data...
tracing_tests Loading commit data...
README.md Loading commit data...
prod_builders.json Loading commit data...
try_builders.json Loading commit data...