MetaMask / metamask-extension

:globe_with_meridians: :electric_plug: The MetaMask browser extension enables browsing Ethereum blockchain enabled websites
https://metamask.io
Other
12.04k stars 4.92k forks source link

MV3: Add flag to disable MV3 service worker keep alive code #24224

Closed danjm closed 6 months ago

danjm commented 6 months ago

The saveTimestamp function is called at an interval in background.js to prevent the service worker from dying. We should put this behind a flag, so that we can disable this behaviour easily.

Once this behaviour is disabled, we should test how the extension behaves if/when dapps communicate with the extension after the service worker has been termined

danjm commented 6 months ago

To complete this task:

Once the above is done, we should able to toggle the functionality on and off in MV3 dev builds, and see the timestamp saving when toggled on and not saving when toggled off

metamaskbot commented 5 months ago

Missing release label release-11.17.0 on issue. Adding release label release-11.17.0 on issue, as issue is linked to PR #24326 which has this release label.

metamaskbot commented 5 months ago

Missing release label release-11.16.6 on issue. Adding release label release-11.16.6 on issue, as issue is linked to PR #24326 which has this release label.