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

Add compatibility data for scripting.ExecutionWorld #18878

Merged
merged 1 commit into from
Feb 14, 2023

Conversation

Rob--W
Copy link
Member

@Rob--W Rob--W commented Feb 10, 2023

Summary

Fixes the incorrect and incomplete BCD for the "world" parameter of the scripting.executeScript API.

Test results and supporting details

References:

Related issues

Related to mdn/content#24316 and mdn/content#22493

@github-actions github-actions bot added the data:webext Compat data for Browser Extensions. https://developer.mozilla.org/Add-ons/WebExtensions label Feb 10, 2023
@Rob--W

This comment was marked as outdated.

@Rob--W Rob--W force-pushed the webextensions-scripting-executionworld branch from 779df3d to 4e36966 Compare February 10, 2023 18:44
References:

- "RegisteredContentScript.world" support introduced in Chrome 102 per https://chromium.googlesource.com/chromium/src/+/e5ad3451c17b21341b0b9019b074801c44c92c9f
   This is not supported in Firefox yet.

- "executeScript"'s "world" was introduced in 95, not 88, per https://bugs.chromium.org/p/chromium/issues/detail?id=1215518

- "world" + "ISOLATED" introduced in Firefox per https://bugzilla.mozilla.org/show_bug.cgi?id=1759932
  While that bug was fixed in 100, the underlying feature was not
  available until it was enabled in MV2 - https://bugzilla.mozilla.org/show_bug.cgi?id=1766615

  "MAIN" not supported yet in Firefox, part of https://bugzilla.mozilla.org/show_bug.cgi?id=1736575
@Rob--W Rob--W force-pushed the webextensions-scripting-executionworld branch from 4e36966 to e1963f1 Compare February 10, 2023 18:52
@rebloor rebloor merged commit 227451e into mdn:main Feb 14, 2023
@rebloor
Copy link
Contributor

rebloor commented Feb 14, 2023

@Rob--W Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:webext Compat data for Browser Extensions. https://developer.mozilla.org/Add-ons/WebExtensions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants