-
Notifications
You must be signed in to change notification settings - Fork 56
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
Defining Web Extension privacy and security model #71
Comments
Is that the case? IIRC |
@Jack-Works They are talking about opening the extension popup programmatically. Which should be possible using browser.browserAction.openPopup(). Yet this is unsupported in most browsers or only using a user action. However, the fact an extension can always create new tabs and browser windows is the perfect argument for allowing browserAction.openPopup or action.openPopup as well. |
Right, the justification for this was that it was annoying to users but clearly the extension can do just as many damaging things; either:
|
Issue #15 covers |
@xeenon Right I saw that before raising this, but that doesn't cover the previous discussions that have happened at Mozilla that rejected the idea on the 'annoyance' rationale. Perhaps the decision should be overturned as it doesn't fit with our current thinking of what the security boundaries are. Firefox also adds the extension icon to context menus to prevent confusion with the native menu items. I'm interested in there being some level documented reasons why browsers made these decisions. That way we know what the boundaries of web extensions should be aka a website security model is commonly the "line of death". |
One example of this is TrustedScript as outlined here: https://bugs.chromium.org/p/chromium/issues/detail?id=1427382. The spec states that extensions should be permitted to work around this CSP enforcement as if it weren't a policy and yet the current issue means it can't be. |
Defining where the security boundaries of extensions are and what expectations they should have from a user and browser stand point would be beneficial to defining future features.
Often times the WebExtension security model is considered to match that of the browser and act on behalf of the user however:
The text was updated successfully, but these errors were encountered: