Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: incorrect isSameOrigin check when loading blob with string url #1445

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

chenhuang444
Copy link

@chenhuang444 chenhuang444 commented Nov 18, 2024

Closes #1444

微前端内部加载 worker 时,如果 url 为 string,则可能加载失败。isSameOrigin 判定逻辑未处理 typeof url === 'string' 的情况。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

使用 blob string url 创建 WebWorker 时报错
1 participant