Skip to content

Add compatibility data for scripting.ExecutionWorld#18878

Merged
rebloor merged 1 commit intomdn:mainfrom
Rob--W:webextensions-scripting-executionworld
Feb 14, 2023
Merged

Add compatibility data for scripting.ExecutionWorld#18878
rebloor merged 1 commit intomdn:mainfrom
Rob--W:webextensions-scripting-executionworld

Conversation

@Rob--W
Copy link
Copy Markdown
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
Copy Markdown
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