Firefox 50 for developers

Pour tester les dernières fonctionnalités développeur de Firefox,
installez Firefox Edition Developpeur
Firefox 50 a été publié le 15 November 2016. Cet article relate les changements clés utiles non seulement aux développeurs web mais aussi aux développeurs travaillant sur Firefox et Gecko, ainsi que pour les développeurs d'extensions.

Changes pour les développeurs Web




Developer Tools






  • 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).


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).



Web Audio API


  • 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