facebookarchive/prepack

Model the browser DOM using JSDOM

Open

#475 创建于 2017年4月27日

在 GitHub 查看
 (2 评论) (8 反应) (0 负责人)JavaScript (14,268 star) (520 fork)batch import
design neededhelp wanted

描述

https://github.com/tmpvar/jsdom

This would need to mark all its objects as intrinsic automatically from inside the Prepack realm.

Constructors also need to be able to track how they were constructed. It can't construct using new HTMLDivElement() but it could do document.createElement("div").

I think this can mostly be achieved by treating everything as abstract and simple but it would be even nicer to be able to track expected side-effects so that even more can be done.

贡献者指南