Mozilla 发布 Mozilla Firefox 40.0 的 Beta 1 版本,基于 Gecko 40 内核开发,40 版本的最大改进是有望带来类似 Chrome 的多进程设计,这样可以提升内存的利用率从而提升性能和标签/窗口之间的稳定性(但最新的版本似乎并没有带来),新设计的标签页可以自动判断和展示您认为感兴趣的内容,正式版本预计8月11日发布。
![`Z20DI21P]{3CX0G}`EDZ0N.png](data/attachment/portal/201507/04/181833wtwopt38o65oytdt.png)
下载地址: http://dm-download02.mozilla.org/pub/mozilla.org/mozilla.org/firefox/releases/40.0b1/
Web developersDeveloper Tools 方面的改进:
值得关注的更新: 其他: 完整改进:all devtools bugs fixed between Firefox 39 and Firefox 40. CSS JavaScript Unreachable code after return statement (including unreachable expression after semicolon-less return statements) will now show a warning in the console (bug 1005110, bug 1151931). Symbol.match has been added (bug 1054755).
Passing an object which has a property named Symbol.match with a truthy value to String.prototype.startsWith , String.prototype.endsWith , and String.prototype.contains now throws a TypeError (bug 1054755). RegExp function returns pattern itself if called without new and pattern object has a property named Symbol.match with a truthy value, and the pattern object's constructor property equals to RegExp function. (bug 1147817).
Support for the non-standard JS1.7 destructuring for-in has been dropped (bug 1083498). Non-standard initializer expressions in for...in loops are now ignored and will present a warning in the console. (bug 748550 and bug 1164741). \u{xxxxxx} Unicode code point escapes have been added (bug 320500).
String.prototype.contains has been replaced with String.prototype.includes , String.prototype.contains is kept as an alias (bug 1102219).
If the DataView constructor is called as a function without the new operator, a TypeError is now thrown as per the ES6 specification. An issue regressed in Firefox 21, where proxyfied arrays without the get trap were not working properly, has been fixed. If the get trap in a Proxy was not defined, Array.length returned 0 and the set trap didn't get called. A workaround was to add the get trap even if was not necessary in your code. This issue has been fixed now (bug 895223). WeakMap.prototype and WeakSet.prototype have been updated to be just ordinary objects, per ES6 specification (bug 1055473).
Interfaces/APIs/DOMNew APIs Web Animations API Improvement in our experimental Web Animations implementation, mostley to match latest spec changes: CSSOM The CSS Font Loading API is now enabled by default in Nightly and Developer Edition releases (bug 1088437). It is still deactivated by default in Beta and Release browsers. The CSSCharsetRule interface has been removed and such objects are no longer available in CSSOM (bug 1148694). This matches the spec (recently adapted) and Chrome behavior.
WebRTC DOM & HTML DOM Web Audio API New extensions to the Web Audio API: Web Workers IndexedDB Dev Tools JavaScript 代码模块
|