Does Safari make an attempt to match previous Website Access for users when migrating an app extension to web extension?
Currently our extension uses this plist config to allow access to all urls.
When migrating to a web extension where the <all_urls> permission is requested, will Safari grant this permission automatically? I understand for new users the model would be to not grant broad host permissions without additional action from the user, e.g. interacting with the browser action, or manually enabling all urls in the extension preferences. But for existing users, are comparable host permissions retained?
If there isn't a migration attempt, is there a pattern extension authors can use to request additional host permissions programmatically when the extensions is updated?
One idea i tried is requesting the all urls permission at runtime, Sadly it doesn't work:
Currently our extension uses this plist config to allow access to all urls.
Code Block <key>Permissions</key> <dict> <key>Website Access</key> <dict> <key>Include Secure Pages</key> <true/> <key>Level</key> <string>All</string> </dict> </dict>
When migrating to a web extension where the <all_urls> permission is requested, will Safari grant this permission automatically? I understand for new users the model would be to not grant broad host permissions without additional action from the user, e.g. interacting with the browser action, or manually enabling all urls in the extension preferences. But for existing users, are comparable host permissions retained?
If there isn't a migration attempt, is there a pattern extension authors can use to request additional host permissions programmatically when the extensions is updated?
One idea i tried is requesting the all urls permission at runtime, Sadly it doesn't work:
Code Block javascript chrome.permissions.request({permissions: ["<all_urls>"]})