红联Linux门户
Linux帮助

PhantomJS 2.0.0发布,服务器端JavaScript

发布时间:2015-02-03 09:41:31来源:红联作者:empast
PhantomJS 2.0.0 发布,此版本更新了基于 Qt 5.3 的 WebKit 库;不再支持 CoffeeScript,不能再运行 CoffeeScript 编写的脚本。

更新内容:

新特性:

* 切换到 Qt5,更新 WebKit (issue 10448)
* 完成内存缓存清理 (issue 10357)
* 添加对每个请求 HTTP header 修改的支持 (issue 11299)

改进

* Fixed rendering of CJK text by always linking the codecs (issue 10249)
* Ensured onResourceReceived is still fired on an error (issue 11163)
* Fixed possible crash in handling network requests (issue 11252)
* Removed hardcoded GhostDriver launching message (issue 12681)
* 允许硬盘缓存大于 2 GB (issue 12303)

示例

* Netsniff example should exit when fails to load (issue 11333)

KDAB repository: https://github.com/KDAB/phantomjs

Vitallium's repository: https://github.com/Vitallium/phantomjs

Phantom JS是一个服务器端的 JavaScript API 的 WebKit。其支持各种Web标准: DOM 处理, CSS 选择器, JSON, Canvas, 和 SVG。

软件详情:https://github.com/ariya/phantomjs

下载地址:http://phantomjs.org/download.html

来自:开源中国社区
文章评论

共有 0 条评论