Skip to content

fix: include sandboxes in manifest for firefox - #2746

Open
auto200 wants to merge 3 commits into
wxt-dev:mainfrom
auto200:firefox-sandbox-include
Open

auto200 wants to merge 3 commits into
wxt-dev:mainfrom
auto200:firefox-sandbox-include

Conversation

@auto200

@auto200 auto200 commented Nov 14, 2026

Copy link
Copy Markdown
Contributor

Overview

Follow up for #2731

Manual Testing

  • create {name}.sandbox entrypoint
  • build the extension
  • no warning should be shown
  • sandbox key should be present in manifest.json

@netlify

netlify Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for creative-fairy-df92c4 ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit d3dac33
🔍 Latest deploy log https://app.netlify.com/projects/creative-fairy-df92c4/deploys/6b03242e29c08193f8723c31
😎 Deploy Preview https://deploy-preview-2746--creative-fairy-df92c4.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai

coderabbitai Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4e480c13-726a-4ae9-88a8-3883b91f4f77

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions github-actions Bot added the pkg/wxt Includes changes to the `packages/wxt` directory label Nov 14, 2026

@fkatsuhiro fkatsuhiro left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thank you for preparing this PR!
I think it is better to add test case for this fixing.

),
};
}
manifest.sandbox = {

@fkatsuhiro fkatsuhiro Nov 14, 2026 •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
manifest.sandbox = {
// Firefox supports the sandbox: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/sandbox#browser_compatibility
manifest.sandbox = {

I think it is better to add comment which mensioned documentation link in MDN offical page.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Added test + link to docs

@fkatsuhiro fkatsuhiro left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Good. Thank you for your updating!

@auto200
auto200 requested a review from suveshmoza as a code owner November 22, 2026 17:19

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg/wxt Includes changes to the `packages/wxt` directory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants