Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Firefox 50 for developers

我们的志愿者还没有将这篇文章翻译为 中文 (简体)加入我们帮助完成翻译!

Firefox 50, based on Gecko 50, will ship in November 2016. This article provides information about the changes in this release that will affect developers. Nightly builds of what will become Firefox 50 are currently available on the Beta channel. Some experimental features whose release dates are uncertain or undecided are discussed on the page Experimental features in Firefox. Some features described there may be available in Firefox 50.

Items listed here are tentatively slated for Firefox 50; however, they may be held for a future release if testing shows they're not ready by the time Firefox 50 is due to ship. Please keep an eye on this page to stay up to date on the plans for Firefox 50.

Changes for Web developers

HTML

CSS

JavaScript

Developer Tools

All devtools bugs fixed between Firefox 49 and Firefox 50.

HTTP

Security

Networking

DOM

SVG

  • The allowReorder attribute has been dropped and the behavior it was setting is now the default for SVG <switch> elements (bug 1279690).
  • The defer keyword for the preserveAspectRatio attribute on SVG <image> elements has been removed to follow the latest SVG2 specification (bug 1280425).

Drag and Drop API

Pointer Lock API

  • The Pointer Lock API is now unprefixed (bug 991899).
  • Before Firefox 50, requestPointerLock() asked for permission using a doorhanger, and pointer lock would not be enabled until the user granted permission. From Firefox 50, pointer lock is like the fullscreen API: it's granted immediately, but a notification is displayed explaining to the user how to exit (bug 1273351).

IndexedDB

Service Workers

  • The WindowClient.navigate() method has been implemented. This method lets you open a specified URL into a client window which is being controlled by the service worker (bug 1218148).

WebGL

WebRTC

Web Audio API

Audio/Video

  • The AlignSetting enum (representing possible values for VTTCue.align) incorrectly previously included the value "middle" instead of "center". This has been corrected (bug 1276130).
  • The non-standard and experimental method HTMLMediaElement.seekToNextFrame() now seeks to the next frame in the media asynchronously, rather than synchronously, and returns a Promise which resolves once the seek is complete.
  • The implementation of HTMLTrackElement has been corrected to allow <track> elements to load resources even if not in a document (bug 871747).

Battery API

Files and directories

See also

Older versions

文档标签和贡献者

 此页面的贡献者: wbamberg, fscholz, teoli, Sheppy, Sebastianz, yisibl, chrisdavidmills, arai
 最后编辑者: wbamberg,