Firefox 56 for developers
Зміни для розробників Web
Ця стаття надає інформацію щодо змін в Firefox 56, які стосуються розробників. Firefox 56 є поточною Beta версією Firefox, і буде довершено 26 вересня 2017.
Засоби розробника
Без змін.
HTML
- Реалізована властивість
labels
для елементів форми, які можуть мати мітки, наприкладHTMLInputElement.labels
(en-US) (bug 556743). - Реалізовано
<link rel="preload">
; див. Preloading content with rel="preload" для деталей (bug 1222633).
CSS
- Implemented the proprietary Mozilla-specific
<color>
(en-US) values-moz-win-accentcolor
and-moz-win-accentcolortext
(see bug 1344910), and the proprietary media query-moz-windows-accent-color-in-titlebar
(see bug 1379938).
SVG
No changes.
JavaScript
- The Intl API has been enabled on Firefox for Android (bug 1344625).
APIs
New APIs
No changes.
DOM
- On Mac,
Document.hidden
(en-US) is now true when the window is behind another non-translucent application bug 1236512. - The
Gamepad.displayId
(en-US) property has been implemented (bug 1375816). - The
CanvasRenderingContext2D.drawImage()
(en-US) method has been updated so that smoothing occurs when downscaling even ifimageSmoothingEnabled
isfalse
. This is not mandatory as per spec, but follows Chrome's behaviour. See bug 1360415. - The
PerformanceTiming.secureConnectionStart
(en-US) property has been implemented (bug 772589). - Firefox used to accept
iso-2022-jp-2
sequences silently when aniso-2022-jp
TextDecoder()
(en-US) was instantiated, however this has now been removed to simplify the API, as no other browsers support it and no pages seem to use it. (bug 715833). - The 4ms clamping behaviour of
setTimeout()
andsetInterval()
(en-US) has been updated to be more in line with other browsers, as described in Timeouts throttled to >=4ms (bug 1378586). - The Page Visibility API's
Document.onvisibilitychange
(en-US) handler has been added (bug 1333912).
DOM events
GlobalEventHandlers.onwheel
(en-US) is now available onHTMLElement
— it wasn't before (bug 1370550).
WebRTC
- Firefox now supports the
RTCPeerConnection
(en-US) properties which let you examine the current and pending configurations of the local and remote ends of the connection, to help manage changes in configuration:currentLocalDescription
(en-US),pendingLocalDescription
(en-US),currentRemoteDescription
(en-US), andpendingRemoteDescription
(en-US).
Security
No changes.
Plugins
No changes.
Other
- Gecko now encodes URLs internally as punycode, to avoid URL encoding problems (see bug 945240, also see discussion in bug 942074).
- Firefox on Windows and Mac OS X can now be made to run in headless mode using the
-headless
flag (see bug 1355150 and bug 1355147).
Removals from the web platform
HTML
- The <isindex> (en-US) element has been removed from the HTML parser, and from form submission (bug 1266495).
- The <applet> (en-US) element has been removed (bug 1279218).
APIs
- The
KeyframeEffectReadOnly.spacing
property has been removed from the Web Animations spec, and therefore has been removed from Gecko as well (bug 1339690).
SVG
No changes.
Changes for add-on and Mozilla developers
WebExtensions
No changes.
See also
Older versions
- Firefox 55 for developers (en-US)
- Firefox 54 for developers
- Firefox 53 for developers
- Firefox 52 for developers (en-US)
- Firefox 51 for developers (en-US)
- Firefox 50 for developers (en-US)
- Firefox 49 for developers (en-US)
- Firefox 48 for developers (en-US)
- Firefox 47 for developers (en-US)
- Firefox 46 for developers (en-US)
- Firefox 45 for developers (en-US)
- Firefox 44 for developers (en-US)
- Firefox 43 for developers (en-US)
- Firefox 42 for developers (en-US)
- Firefox 41 for developers (en-US)
- Firefox 40 for developers (en-US)
- Firefox 39 for developers (en-US)
- Firefox 38 for developers (en-US)
- Firefox 37 for developers (en-US)
- Firefox 36 for developers (en-US)
- Firefox 35 for developers (en-US)
- Firefox 34 for developers (en-US)
- Firefox 33 for developers (en-US)
- Firefox 32 for developers (en-US)
- Firefox 31 for developers (en-US)
- Firefox 30 for developers (en-US)
- Firefox 29 for developers (en-US)
- Firefox 28 for developers (en-US)
- Firefox 27 for developers (en-US)
- Firefox 26 for developers (en-US)
- Firefox 25 for developers (en-US)