Skip to content

fix: preserve matchOriginAsFallback in dev scripts#2437

Open
cookesan wants to merge 1 commit into
wxt-dev:mainfrom
cookesan:preserve-registered-script-options
Open

fix: preserve matchOriginAsFallback in dev scripts#2437
cookesan wants to merge 1 commit into
wxt-dev:mainfrom
cookesan:preserve-registered-script-options

Conversation

@cookesan

Copy link
Copy Markdown
Contributor

Overview

Preserves matchOriginAsFallback when WXT maps content script options into the MV3 registered content script payload used during dev reloads.

Chrome and the generated browser types support matchOriginAsFallback for scripting.RegisteredContentScript, while matchAboutBlank, includeGlobs, and excludeGlobs stay manifest-only options.

Manual Testing

  • bun run --filter wxt test run content-scripts
  • bun run --filter wxt check
  • bun run --filter wxt test run
  • bun run check
  • bun run test

Related Issue

This PR closes #2335

@cookesan cookesan requested a review from aklinker1 as a code owner June 27, 2026 20:16
@netlify

netlify Bot commented Jun 27, 2026

Copy link
Copy Markdown

Deploy Preview for creative-fairy-df92c4 ready!

Name Link
🔨 Latest commit 04e9d40
🔍 Latest deploy log https://app.netlify.com/projects/creative-fairy-df92c4/deploys/6a402f9602e0080008b33d70
😎 Deploy Preview https://deploy-preview-2437--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.

@github-actions github-actions Bot added the pkg/wxt Includes changes to the `packages/wxt` directory label Jun 27, 2026
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.

MV3 dev dynamic content script registration drops matchOriginAsFallback

1 participant