-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Bug 1943050 new webExtension.api.userScripts
#25913
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Several entries are lacking mdn_url
. Was that intentional?
webextensions/api/runtime.json
Outdated
"edge": "mirror", | ||
"firefox": { | ||
"version_added": "136", | ||
"notes": "Available for use with Manifest V3 only." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In Chrome, these two events are always available in the runtime
namespace. In Firefox, the event requires the "userScripts" permission to be granted.
}, | ||
"ExecutionWorld": { | ||
"__compat": { | ||
"support": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"support": { | |
"mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/userScripts/ExecutionWorld", | |
"support": { |
This pull request has merge conflicts that must be resolved before it can be merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please set Firefox for Android compatibility to unsupported for now.
The feature may be enabled by default soon, once https://bugzilla.mozilla.org/show_bug.cgi?id=1931556 is fixed.
Co-authored-by: Rob Wu <rob@robwu.nl>
Summary
Changes for Bug 1943050 Enable userScripts API by default including:
runtime.onUserScriptMessage
andruntime.onUserScriptConnect
userScripts
APIuserScripts
permissionRelated issues
Related documentation changes in mdn/content#38073