Skip to content
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

support-for-execution-world-MAIN #23539

Merged
merged 6 commits into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions webextensions/api/contentScripts.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,24 @@
"webextensions": {
"api": {
"contentScripts": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/contentScripts",
"support": {
"chrome": {
"version_added": false
},
"edge": "mirror",
"firefox": {
"version_added": "59"
},
"firefox_android": "mirror",
"opera": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror"
}
},
"RegisteredContentScript": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/contentScripts/RegisteredContentScript",
Expand Down Expand Up @@ -98,6 +116,25 @@
"safari_ios": "mirror"
}
}
},
"world": {
"__compat": {
"support": {
"chrome": {
"version_added": false
},
"edge": "mirror",
"firefox": {
"version_added": "128"
},
"firefox_android": "mirror",
"opera": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror"
}
}
}
}
}
Expand Down
44 changes: 40 additions & 4 deletions webextensions/api/scripting.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@
},
"edge": "mirror",
"firefox": {
"version_added": false,
"impl_url": "https://bugzil.la/1736575"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also drop the note from

"notes": "Only supports <code>ISOLATED</code>, not <code>MAIN</code>."

"version_added": "128"
},
"firefox_android": "mirror",
"opera": "mirror",
Expand Down Expand Up @@ -308,8 +307,7 @@
},
"edge": "mirror",
"firefox": {
"version_added": "102",
"notes": "Only supports <code>ISOLATED</code>, not <code>MAIN</code>."
"version_added": "102"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm. Someone skimming this could mistakenly think that MAIN is supported in 102. Could you add multiple ranges to clarify that 102 only introduced support for ISOLATED, and 128 also added support for MAIN?

},
"firefox_android": "mirror",
"opera": "mirror",
Expand All @@ -318,6 +316,44 @@
},
"safari_ios": "mirror"
}
},
"ISOLATED": {
"__compat": {
"support": {
"chrome": {
"version_added": "95"
},
"edge": "mirror",
"firefox": {
"version_added": "102"
},
"firefox_android": "mirror",
"opera": "mirror",
"safari": {
"version_added": "15.4"
},
"safari_ios": "mirror"
}
}
},
"MAIN": {
"__compat": {
"support": {
"chrome": {
"version_added": "95"
},
"edge": "mirror",
"firefox": {
"version_added": "128"
},
"firefox_android": "mirror",
"opera": "mirror",
"safari": {
"version_added": "15.4"
},
"safari_ios": "mirror"
}
}
}
}
},
Expand Down
3 changes: 1 addition & 2 deletions webextensions/manifest/content_scripts.json
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,7 @@
},
"edge": "mirror",
"firefox": {
"version_added": false,
"impl_url": "https://bugzil.la/1736575"
"version_added": "128"
},
"firefox_android": "mirror",
"opera": "mirror",
Expand Down