Setting XHR response type fails due to xhr.responseType being modified before XHR is opened
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 停滞
- 技术栈
- javascript
- 领域
- web-dev
调研方向
定位 http-browserify 中对 responseType 的处理,并将其赋值操作与 xhr.open() 调用进行比较。如果可能,重现 Firefox 失败的情况,然后验证在打开 XHR 后设置 responseType 可以成功,且不会出现所报告的不可用对象错误。
由索引模型根据 Issue 内容生成。
描述
http-browserify accepts a 'responseType' parameter to set the XHR response type. However, in Firefox 31 at least, the logic to set the response type always fails because it is set before xhr.open() is called.
The call to set 'xhr.responseType = params.responseType' fails with 'An attempt was made to use an object that is not, or is no longer, usable' ala. http://stackoverflow.com/questions/13216903/get-binary-data-with-xmlhttprequest-in-a-firefox-extension
- 主要语言
- JavaScript
- 星标
- 245
- 派生
- 104
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
browserify/http-browserify 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 52/100
browserify/http-browserify#107 ·
-
难度 2/5 1-3 小时 新手友好度 42/100
browserify/http-browserify#104 ·
-
难度 2/5 1-3 小时 新手友好度 48/100
browserify/http-browserify#102 ·
-
Needs Maintainer未关闭
难度 5/5 一周以上 新手友好度 15/100
browserify/http-browserify#99 · 2 个 reaction ·
-
难度 2/5 1-3 小时 新手友好度 38/100
browserify/http-browserify#96 · 2 条评论 · 1 个 reaction ·
查看 browserify/http-browserify 的全部 Issue
相似的 Issue
-
bug parse
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
typesense/typesense-js#376 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
FuRongJun-1999/dsh-memory#56 ·
维护者通常 1 天内回复
-
Bug
难度 2/5 1-3 小时 新手友好度 76/100
pgadmin-org/pgadmin4#10503 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
OWASP/www-project-webshield-library#74 · 1 条评论 ·
维护者通常 1 天内回复