Firefox 28 for developers 编辑

Firefox 28 was released on March 18, 2014. This article lists key changes that are useful not only for web developers, but also Firefox and Gecko developers as well as add-on developers.

Changes for Web developers

Developer Tools

  • The console.exception property has been added (bug 922214).
  • The console.assert property has been added (bug 760193).
  • App Manager: a new Manifest Editor was added.
  • App Manager: the toolbox used for debugging apps is now embedded in the app manager UI.
  • Web Console: added a "split console" mode - press Escape to quickly open the console in any other tool.
  • Web Console: added a dark theme for the output.
  • Debugger: pretty-print minified JavaScript.
  • Debugger: hover over any variable or click on it to bring up a pop-up that displays the current value.
  • Inspector: added a color picker in rules view and various tooltips.
  • Browser Toolbox: allows add-on and platform developers to use almost all of the developer tools while targeting the browser itself.

More details in this post.

CSS

HTML

  • <input type=color> and <input type=number> have been implemented, disabled by default.

JavaScript

Interfaces/APIs/DOM

MathML

  • Support of the mathvariant attribute has been added (bug 114365).

SVG

No change.

Audio/Video

Network

  • Support of SPDY/2 has been removed.

Changes for addon and Mozilla developers

  • The interface of DeferredTask.jsm has been changed, and the isPending(), start(), flush(), and cancel() methods have been removed (bug 940408).

Security

  • CSP was not enforced in sandboxed iframes. This has been fixed (bug 886164).
  • The CSP 1.1 experimental script-nonce directive has been implemented. The preference security.csp.experimentalEnabled should be set to true to enable this functionality (bug 855326).

See also

Older versions

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:58 次

字数:13373

最后编辑:6 年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文