Repository navigation
chore(ci): Intercept chrome-extension iframe fetches in HappyDOM - #2787
Conversation
✅ Deploy Preview for creative-fairy-df92c4 ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
@wxt-dev/analytics
@wxt-dev/auto-icons
@wxt-dev/browser
@wxt-dev/i18n
@wxt-dev/is-background
@wxt-dev/module-react
@wxt-dev/module-solid
@wxt-dev/module-svelte
@wxt-dev/module-vue
@wxt-dev/runner
@wxt-dev/storage
@wxt-dev/unocss
@wxt-dev/webextension-polyfill
wxt
commit: |
PatrykKuniczak
left a comment
There was a problem hiding this comment.
With that CI will be cleaner 😸
chrome-extension iframe fetches in HappyDOMchrome-extension iframe fetches in HappyDOM
|
Thanks for helping make WXT better! |
Overview
On
mainrunningbun run test, happy-dom throwsDOMException [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 responeManual Testing
Run
bun run test, all tests should pass and test output has noURL scheme "chrome-extension" is not supportedRelated Issue
This PR closes #2686