设为首页收藏本站

LUPA开源社区

 找回密码
 注册
文章 帖子 博客
LUPA开源社区 首页 业界资讯 软件追踪 查看内容

Jsdom 5.0.1发布,JavaScript的HTML解析器

2015-4-17 22:16| 发布者: joejoe0332| 查看: 513| 评论: 0|原作者: oschina|来自: oschina

摘要: Jsdom 5.0.1 发布,此版本主要有以下更新:Fixed document.cookie setter to no longer ignore null; instead it correctly sets a cookie of "null". (Chrome is not compliant to the spec in this regard.)Fixed ...

Jsdom 5.0.1 发布,此版本主要有以下更新:


  • Fixed document.cookie setter to no longer ignore null; instead it correctly sets a cookie of "null". (Chrome is not compliant to the spec in this regard.)

  • Fixed documents created with parsingMode: "xml" to no longer get "<html><head></head><body></body></html>"automatically inserted when calling jsdom.jsdom() with no arguments.

  • Fixed the innerHTML setter to no longer ignore undefined; instead it correctly sets the innerHTML to "undefined".

  • Fixed document.write to throw for XML documents as per the spec.

  • Fixed document.write to accept more than one argument (they get concatenated).

  • Fixed document.write("") to no longer try to write "<html><head></head><body></body></html>".


详细信息请查看更新日志

此版本现已提供下载:

https://github.com/tmpvar/jsdom/archive/5.0.1.zip

jsdom 是 WHATWG DOM 和 HTML 标准的 JavaScript 实现,主要用于 io.js 框架。

酷毙

雷人

鲜花

鸡蛋

漂亮
  • 快毕业了,没工作经验,
    找份工作好难啊?
    赶紧去人才芯片公司磨练吧!!

最新评论

关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号   

返回顶部