Module state recorder does not allow to (re)define certain globals
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- javascript
- 领域
- tooling
调研方向
首先,在浏览器中通过 module.recorder 对象复现顶层 var name = "foo" 失败,然后将其与 issue 中描述的 Node.js 行为进行比较。追踪 module.recorder 如何继承自 window,并确定如何允许这些全局定义而不破坏现有的 recorder 行为;当在浏览器中成功复现时即完成。
由索引模型根据 Issue 内容生成。
描述
E.g. var name = "foo" as a top level variable throws an Error. This is b/c the module.recorder objects actually inherit from the global object, window in the browser. The global (at least in browsers in nodejs it sees to work) has a guard that certain names are not allowed to be redefined. This guard even applies when used in an object inheriting from the global, hence the problem.
- 主要语言
- JavaScript
- 星标
- 8
- 派生
- 1
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
LivelyKernel/lively.modules 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 35/100
LivelyKernel/lively.modules#44 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 35/100
LivelyKernel/lively.modules#40 · 1 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 35/100
LivelyKernel/lively.modules#39 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 35/100
LivelyKernel/lively.modules#34 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 35/100
查看 LivelyKernel/lively.modules 的全部 Issue
相似的 Issue
-
[docs] RELEASE.md: wrong branch name, no check that the prepare PR merged with the right subject, manual publish step可能已有人在做 @albertteoh 今天认领。 未关闭documentation
难度 2/5 1-3 小时 新手友好度 85/100
jaegertracing/jaeger-ui#4739 ·
维护者通常 1 天内回复
-
documentation
难度 2/5 1-3 小时 新手友好度 74/100
keepassxreboot/keepassxc-browser#3159 · 1 条评论 ·
-
Add: ESP 2 RS未关闭approved check:passed feeds:add
难度 1/5 1 小时以内 新手友好度 67/100
-
v6: OTP input keeps the rest of a selection when you type over it可能已有人在做 @thejesh23 今天认领。 未关闭bug confirmed has-pr js v6
难度 2/5 1-3 小时 新手友好度 82/100
twbs/bootstrap#43323 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复