--- title: Firefox 59 для разработчиков slug: Mozilla/Firefox/Releases/59 tags: - '59' - Firefox translation_of: Mozilla/Firefox/Releases/59 ---
Эта статья содержит информацию об изменениях в Firefox 59, которые затронут разработчиков. Firefox 59 был выпущен 13 марта 2018 года.
The {{HTMLElement("textarea")}} element's {{htmlattrxref("autocomplete", "textarea")}} attribute has been implemented. This lets you enable or disable form auto-fill for the element.
contents
has been updated as per spec ({{bug(1427292)}}). See Appendix B: Effects of display: contents on Unusual Elements for exactly what the specced behaviors are.sticky
is now supported on appropriate HTML table parts (e.g. {{htmlelement("th")}} elements) ({{bug(975644)}}).rgb()
, rgba()
, hsl()
, and hsla()
({{bug(984021)}}).Нет изменений.
Нет изменений.
{{domxref("PointerEvent","PointerEvents")}} have been enabled in Firefox Desktop ({{bug(1411467)}}).
null
value for its body
parameter, as per spec ({{bug(1303025)}}).The {{domxref("Event.composedPath()")}} method has been implemented ({{bug(1412775)}}).
Response.url
will be used to resolve any relative {{cssxref("@import")}} or {{domxref("WorkerGlobalScope.importScripts()","importScripts()")}} subresource loads ({{bug(1222008)}}).FetchEvent.respondWith()
will now trigger a network error if the {{domxref("Request.mode","FetchEvent.request.mode")}} is "same-origin"
and the provided {{domxref("Response.type")}} is "cors"
. ({{bug(1222008)}})muted
state indicates that the track is not currently able to provide media data.
muted
state of a track isn't useful for what's typically thought of as muting and unmuting a track. Instead, use the {{domxref("MediaStreamTrack.enabled", "enabled")}} property; setting enabled
to false
causes the track to output only empty frames.media.peerconnection.rtpsourcesapi.enable
({{bug(1363667)}}, {{bug(1430213)}}, and {{bug(1433236)}}.RTCPeerConnection
and other interfaces updated to use them per the latest specification.REGION
definition blocks whose settings list has one setting per line instead of all of the settings being on the same line of the WebVTT file ({{bug(1415821)}}.No changes.
The {{domxref("CSSNamespaceRule")}} interface and its namespaceURL
and prefix
properties have been implemented ({{bug(1326514)}}).
No changes.
data:
URIs has been blocked {{bug(1401895)}}. See Blocking Top-Level Navigations to data URLs for Firefox 59 for more details.SAMEORIGIN
directive of the {{httpheader("X-Frame-Options")}} header has been changed so that it checks not only the top-level IFrame is in the same origin, but all its ancestors as well ({{bug(725490)}}).utf-8
encoding for usernames and passwords (rather than ISO-8859-1
) for parity with other browsers, and to avoid potential problems as described in {{bug(1419658)}}..app
and .dev
. While they are new TLDs developers might have used them for local development and be surprised by this change. Note that reserved TLDs should be used for local development instead.No changes.
No changes.
Нестандартный параметр version
атрибута свойства {{htmlattrxref("type","script")}} элемента {{htmlelement("script")}} (например, type="application/javascript;version=1.8"
) был удалён ({{bug(1428745)}}).
mozmm
{{cssxref("<length>")}} была удалена ({{bug(1416564)}}).Event.getPreventDefault()
был удалён. Вам стоит использовать свойство {{domxref("Event.defaultPrevented")}} чтобы определять, вызывался ли {{domxref("Event.preventDefault", "preventDefault()")}} на событии {{domxref("Event")}}.Navigator.mozNotification
и интерфейс DesktopNotification
были удалены, в пользу стандартного Notifications API ({{bug(952453)}}).window.external.addSearchEngine()
был удалён ({{bug("862147")}}). Смотреть также {{domxref("Window.sidebar")}} для больших подробностей.mozAutoplayEnabled
было удалено.Поддержка для свойства SMIL accessKey
была удалена ({{bug(1423098)}}).
Поддержка для нестандартных протоколов pcast:
и feed:
была удалена ({{bug(1420622)}}).
colors.background_tab_text
, colors.toolbar_field_border
tabs
APIs:
contextMenus
API now supports a "bookmark" context.contentScripts
API enables runtime registration of content scripts.pageAction
, browserAction
, SidebarAction
APIs:
browserAction/pageAction/sidebarAction.set*
functions now accept null
to undo changes.browserAction.isEnabled()
, pageAction.isShown()
, sidebarAction.isOpen()
functions.page_action
to show page actions by default.protocol_handers
:
privacy.websites
setting "cookieConfig".cookies
API for first-party isolation.upgradeToSecure
in webRequest
.Совместимость сайтов с Firefox 59
{{Firefox_for_developers(58)}}