网易首页 > 网易数码 > 正文

Mozilla Firefox 40.0 Beta 2 发布

0
分享至
摘要:Mozilla今日发布Mozilla Firefox 40.0的Beta 2版本,基于Gecko 40内核开发,新设计的标签页可以自动判断和展示您认为感兴趣的内容,广受期待的多进程特性目前还没有带来,正式版本预计8月11日发布。

下载地址:

http://dm-download02.mozilla.org/pub/mozilla.org/mozilla.org/firefox/releases/40.0b2/

Changes for Web developersDeveloper Tools

Highlights:

  • Improvements to the Animations view

  • Get help from MDN for CSS property syntax

  • Edit filters in the Page Inspector

  • Web Console now shows messages from workers

  • Filter requests by URL in the Network Monitor

  • Many new context menu options in the Network Monitor

  • Show when network resources are fetched from the browser cache

  • Filter rules in the Page Inspector

More:

  • Break at debugger; statements in unnamed eval sources

  • Copy URL/Open in New Tab context menu items for Debugger source list pane

  • console.dirxml support in the Web Console

  • Style Editor: "Open Link In New Tab" item added to stylesheet list

  • Inspector selector search now includes class/id results even without css prefix

  • Tooltips in box-model view saying which CSS rule caused the value

  • Switch between color unit format in the Inspector using Shift+click

  • Implement "Scroll Into View" menu item for the Inspector

  • Linkify url/id/resource attributes in the Inspector

  • IP address tooltip in the Network Monitor

Everything: all devtools bugs fixed between Firefox 39 and Firefox 40.

CSS

  • Prefixed rules (-moz-) for text-decoration-color, text-decoration-line, and text-decoration-style have been removed (bug 1097922).

  • The property text-align now supports the match-parent value (bug 645642).

  • In Quirks Mode, empty-cells now defaults to show, like in standard mode (bug 1020400).

  • The -moz-orient non-standard property, used to style <meter> and <progress> element has been adapted for vertical writing-modes: the value auto has been dropped and the values inline and  block added, with inline being the new default value (bug 1028716).

HTML

No change.

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

  • The Push API has been implemented (bug 1038811).

Web Animations API

Improvement in our experimental Web Animations implementation, mostley to match latest spec changes:

  • AnimationPlayer.currentTime now can also be set (bug 1072037).

  • Animatable.getAnimationPlayers(), available on Element has been renamed to Element.getAnimations() (bug 1145246).

  • Animation and AnimationEffect have been merged into the newly created KeyframeEffectReadOnly (bug 1153734).

  • AnimationPlayer has been renamed to Animation (bug 1154615).

  • AnimationTimeline is now an abstract class, with DocumentTimeline its only implementation (bug 1152171).

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

  • WebRTC: the negotiationneeded event is now also sent for initial negotiations, not only for re-negotiations (bug 1149838).

DOM & HTML DOM

  • When unable to parse the srcset,  the HTMLImageElement.currentSrc method doesn't return null anymore but "", as requested by the latest specification (bug 1139560).

  • Like for images, Firefox now throttle Window.requestAnimationFrame() for non-visible <iframe> (bug 1145439).

  • Navigator.taintEnabled is no longer available for Web workers (bug 1154878).

  • The read-only properties MouseEvent.offsetX and MouseEvent.offsetY have been implemented bug 69787.

Web Audio API

New extensions to the Web Audio API:

  • The AudioContext.state and AudioContext.onstatechange properties as well as the methods AudioContext.suspend(), AudioContext.resume(), and AudioContext.close() have been added (bug 1094764).

  • AudioBufferSourceNode now implements the AudioBufferSourceNode.detunek-rate attribute (bug 1153783).

Web Workers

  • Slight improvement in our Service Worker API: the update() method has been moved from ServiceWorkerGlobalScope to ServiceWorkerRegistration (bug 1131350).

  • ServiceWorkerRegistration is now available in Web workers (bug 1131327).

  • DataStore is now available in Web workers (bug 949325).

IndexedDB

  • IDBTransaction are now non-durable by default (bug 1112702). This favors performance over reliability and matches what other browsers are doing. For more information, read our durability definition.

Dev Tools

  • The property Console.timeStamp has been added (bug 922221).

MathML

No change.

SVG

No change.

Audio/Video

No change.

Networking

No change.

Security

No change.

Changes for add-on and Mozilla developersXUL

No change.

JavaScript code modules

  • Dict.jsm has been removed bug 1123309. Use Map instead.

XPCOM

No change.

相关推荐
热点推荐
北京楼市“特色式”松绑,来了!

北京楼市“特色式”松绑,来了!

翔哥说地产
2024-04-26 11:33:30
詹库联手?湖人出局面临3大问题,勇媒:勇士选布朗尼再签詹姆斯

詹库联手?湖人出局面临3大问题,勇媒:勇士选布朗尼再签詹姆斯

球哥侃球
2024-04-26 14:07:05
陕西高二女生在校内产子,调查后发现,孩子父亲的身份不简单

陕西高二女生在校内产子,调查后发现,孩子父亲的身份不简单

纪实录
2023-12-25 19:22:17
太突然!外资百亿爆买A股,4800亿巨头涨停!“牛市旗手”大爆发,港股又狂飙

太突然!外资百亿爆买A股,4800亿巨头涨停!“牛市旗手”大爆发,港股又狂飙

中国基金报
2024-04-26 11:09:52
明星真不是谁都能当的,他们在现实中真的比普通人耀眼!

明星真不是谁都能当的,他们在现实中真的比普通人耀眼!

阿康四岁啦
2024-03-31 14:12:37
决战时刻,亚洲货币沦陷,韩日发出警告,人民币成亚洲唯一希望?

决战时刻,亚洲货币沦陷,韩日发出警告,人民币成亚洲唯一希望?

关权教授聊经济
2024-04-25 19:15:11
如何面对九二共识?赖清德给出终极答案,台军方助威,国台办回应

如何面对九二共识?赖清德给出终极答案,台军方助威,国台办回应

DS北风
2024-04-25 18:00:11
俄官员:莫斯科音乐厅恐袭事件组织工作有多国公民参与

俄官员:莫斯科音乐厅恐袭事件组织工作有多国公民参与

新京报
2024-04-25 16:38:14
我国首位女航天员刘洋,没生孩子就上太空,返回地球后消失人前

我国首位女航天员刘洋,没生孩子就上太空,返回地球后消失人前

搞笑的阿票
2024-04-25 07:55:03
广东大将伤情更新!一细节证明还有问题 杜锋面临缺兵少将局面

广东大将伤情更新!一细节证明还有问题 杜锋面临缺兵少将局面

胖子喷球
2024-04-26 13:54:17
鏖战4个小时惊险逆转!19岁商竣程创造历史,网友:夺大满贯

鏖战4个小时惊险逆转!19岁商竣程创造历史,网友:夺大满贯

体坛知识分子
2024-04-26 06:20:03
耶伦来访是善意的提醒,还是最后的警告?

耶伦来访是善意的提醒,还是最后的警告?

何毅商业财经
2024-04-14 10:31:01
女人在过夫妻性生活时,为什么总发出声音?医生:大多数人不了解

女人在过夫妻性生活时,为什么总发出声音?医生:大多数人不了解

皮皮讲文
2024-01-02 10:36:17
广东35分大胜3人受伤!杜锋赛后摊牌点名孙铭徽4人,许钟豪拒道歉

广东35分大胜3人受伤!杜锋赛后摊牌点名孙铭徽4人,许钟豪拒道歉

邮轮摄影师阿嗵
2024-04-26 03:02:23
“长城炮”网红提车!30w定制版外观曝光太用心,评论区不淡定了

“长城炮”网红提车!30w定制版外观曝光太用心,评论区不淡定了

户外小阿隋
2024-04-24 21:27:33
大清亡了,满语也随之消亡,汉语中保存的满语词汇,还有哪些?

大清亡了,满语也随之消亡,汉语中保存的满语词汇,还有哪些?

钟裹杂谈历史
2024-04-25 15:53:04
华为Pura 70系列华强北收货价曝光:黄牛看了直摇头

华为Pura 70系列华强北收货价曝光:黄牛看了直摇头

手机中国
2024-04-24 17:06:07
摊牌!威廉凯特回归让卡米拉感到困惑,承认私生子和孙辈入王室

摊牌!威廉凯特回归让卡米拉感到困惑,承认私生子和孙辈入王室

平祥生活日志
2024-04-26 12:58:56
好消息!深圳又暴雨,这次真不用中途接孩子回家了

好消息!深圳又暴雨,这次真不用中途接孩子回家了

九方鱼论
2024-04-26 09:21:02
涉嫌严重违纪违法!惠州市交通运输局副局长黄志军任上被查

涉嫌严重违纪违法!惠州市交通运输局副局长黄志军任上被查

南方都市报
2024-04-26 12:52:14
2024-04-26 14:42:44

头条要闻

中国女留学生在澳失联在泰国被找到 家人被骗超百万元

头条要闻

中国女留学生在澳失联在泰国被找到 家人被骗超百万元

体育要闻

库里当选最佳关键球员 10项数据联盟第一

娱乐要闻

金靖回应不官宣恋情结婚的原因

财经要闻

24年后再产纯净水 农夫山泉为何要打自己脸

科技要闻

中国车企“五常”激战北京车展

汽车要闻

2024北京车展 比亚迪的自驱力让对手紧追猛赶

态度原创

家居
艺术
数码
时尚
本地

家居要闻

光影之间 空间暖意打造生活律动

艺术要闻

艺术名画︱爱尔兰画家大卫·科因的刀画作品

数码要闻

酷冷至尊 Cooling X 台式电脑国行上市:水冷散热侧板,33999 元

减龄又清爽的夏季穿搭!爱美女人照着搭配真好看,优雅显气质

本地新闻

蛋友碰碰会空降西安!5.1山海境等你!

无障碍浏览 进入关怀版
×