Skip to content

chore(ci): Intercept chrome-extension iframe fetches in HappyDOM - #2787

Merged
PatrykKuniczak merged 3 commits into
wxt-dev:mainfrom
suveshmoza:fix-url-scheme-unsupported-warning
Nov 29, 2026
Merged

PatrykKuniczak merged 3 commits into
wxt-dev:mainfrom
suveshmoza:fix-url-scheme-unsupported-warning

Conversation

@suveshmoza

Copy link
Copy Markdown
Collaborator

Overview

On main running bun run test, happy-dom throws

DOMException [NotSupportedError]: Failed to load iframe page "chrome-extension://test-extension-id/page.html". Iframe page loading is disabled.

So, this enables iframe page loading followed by intercepting chrome-extension:// requests with an empty HTML respone

Manual Testing

Run bun run test, all tests should pass and test output has no URL scheme "chrome-extension" is not supported

Related Issue

This PR closes #2686

@netlify

netlify Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for creative-fairy-df92c4 ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 2181937
🔍 Latest deploy log https://app.netlify.com/projects/creative-fairy-df92c4/deploys/6b0c2817a1f4a059f7708437
😎 Deploy Preview https://deploy-preview-2787--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 26, 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: a45c0060-98fb-4fdd-afd0-68e14e5e7df5

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 26, 2026
@pkg-pr-new

pkg-pr-new Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

@wxt-dev/analytics

npm i https://pkg.pr.new/@wxt-dev/analytics@2787

@wxt-dev/auto-icons

npm i https://pkg.pr.new/@wxt-dev/auto-icons@2787

@wxt-dev/browser

npm i https://pkg.pr.new/@wxt-dev/browser@2787

@wxt-dev/i18n

npm i https://pkg.pr.new/@wxt-dev/i18n@2787

@wxt-dev/is-background

npm i https://pkg.pr.new/@wxt-dev/is-background@2787

@wxt-dev/module-react

npm i https://pkg.pr.new/@wxt-dev/module-react@2787

@wxt-dev/module-solid

npm i https://pkg.pr.new/@wxt-dev/module-solid@2787

@wxt-dev/module-svelte

npm i https://pkg.pr.new/@wxt-dev/module-svelte@2787

@wxt-dev/module-vue

npm i https://pkg.pr.new/@wxt-dev/module-vue@2787

@wxt-dev/runner

npm i https://pkg.pr.new/@wxt-dev/runner@2787

@wxt-dev/storage

npm i https://pkg.pr.new/@wxt-dev/storage@2787

@wxt-dev/unocss

npm i https://pkg.pr.new/@wxt-dev/unocss@2787

@wxt-dev/webextension-polyfill

npm i https://pkg.pr.new/@wxt-dev/webextension-polyfill@2787

wxt

npm i https://pkg.pr.new/wxt@2787

commit: 2181937

@PatrykKuniczak PatrykKuniczak 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.

With that CI will be cleaner 😸

@PatrykKuniczak PatrykKuniczak changed the title chore: intercept chrome-extension iframe fetches in HappyDOM chore(ci): Intercept chrome-extension iframe fetches in HappyDOM Nov 29, 2026
@PatrykKuniczak
PatrykKuniczak merged commit d41f360 into wxt-dev:main Nov 29, 2026
23 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for helping make WXT better!

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.

Bug: Failed to fetch during workflows run

2 participants