PhantomJS 2.0.0 發布,服務器端 JavaScript
PhantomJS 2.0.0 發布,此版本更新了基于 Qt 5.3 的 WebKit 庫;不再支持 CoffeeScript,不能再運行 CoffeeScript 編寫的腳本。
PhantomJS 2.0.0 現已提供下載:http://phantomjs.org/download.html。
更新內容:
新特性:
* 切換到 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)
更多內容請看:
https://github.com/ariya/phantomjs
-
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
來自:http://www.oschina.net/news/59365/phantomjs-2-0-0