Firefox 76 for developers 编辑
This article provides information about the changes in Firefox 76 that will affect developers. Firefox 76 was released on May 5, 2020.
See also the accompanying hacks post — Firefox 76: Audio worklets and other tricks.
Changes for web developers
Developer tools
Debugger
- You can now enable/disable blackboxing of source groups and folders listed in the Source list pane via context menu options (bug 1118152).
- The Call stack pane's Copy stack trace context menu option now copies full URLs, not just filenames (bug 1619039).
Network monitor
- In the network request list, you can now double-click a column divider to resize the column to the left of it to fit its contents (bug 1615102).
- The network request Copy > Copy as cURL context menu option has a new option available,
--globoff
, which suppresses cURL's globbing (wildcard matching) feature if the copied URL includes square bracket characters (bug 1549773). - The Messages tab of the details pane for web socket requests has a new filter — Control — for showing control frames, and the filters are now grouped together into a selection lst (bug 1566780).
Web console
- In multi-line mode, code snippets longer than five lines are abbreviated to five lines, preceded by a disclosure triangle (or "twistie"), and followed by an ellipsis (…). You can click anywhere in this area to show the code, and click again in that area to collapse it (bug 1578212).
- DOM element references outputted into the console now have a "Reveal in inspector" context menu option, which shows the element in the HTML pane of the Page inspector (bug 1612276).
Remote debugging
- Because of differences in DevTools versions, it is not possible to debug releases of Firefox for Android that are based on version 68, from desktop Firefox versions 69 or later. When attempting to do this, the Firefox desktop browser will now show a message informing the user of this problem, and offering possible next steps (bug 1625906). See Connection to Firefox for Android 68 for more information.
HTML
- The
<input>
element'smin
andmax
attributes now work correctly when the value ofmin
is greater than the value ofmax
for control types whose values are periodic (that is, values that wrap around at some point). This is particularly helpful, for example, with date and time inputs, where you might want to specify a time range of 11 PM to 2 AM (bug 1608010).
CSS
- Firefox now supports CSS4 system colors (bug 1590894).
SVG
No changes.
JavaScript
- The
numberingSystem
andcalendar
options of theIntl.NumberFormat
,Intl.DateTimeFormat
, andIntl.RelativeTimeFormat
constructors are now enabled by default (bug 1625975).
APIs
New APIs
- Firefox now supports audio worklets by default, with support for
AudioContext.audioWorklet
, which lets you use theAudioWorkletProcessor
andAudioWorkletNode
interfaces to process audio in real time off the main thread (bug 1616725).
DOM
- UI-parts related items in the
windowFeatures
parameter ofwindow.open()
can no longer control the visibility of each UI part separately, but become a condition for whether to open a popup or not (bug 1507375). - Attempts to navigate to an unknown protocol using methods such as
location.href
or<meta http-equiv="refresh">
are now blocked (see bug 1528305; also see Navigation to unknown protocol will be blocked for more information). - The
IntersectionObserver()
constructor now accepts aDocument
object as itsroot
, as well as anElement
object (bug 1623623). This lets you explicitly use a window's entire content area as the intersection bounds. - The Fetch API now supports the
audioworklet
destination
for requests. This causes received data to be dispatched to anAudioWorklet
(bug 1402784).
Removals
- We've completely removed the Window
appinstalled
event (and the associatedWindow.onappinstalled
handler property) — these were never shipped, and have now been removed from the Web Manifest spec (bug 1625384).
HTTP
No changes.
Security
No changes.
WebDriver conformance (Marionette)
- Firefox no longer reports
false
fornavigator.webdriver
when used for automation / testing via geckodriver (bug 1632556).
Changes for add-on developers
No changes.
See also
Older versions
- Firefox 75 for developers
- Firefox 74 for developers
- Firefox 73 for developers
- Firefox 72 for developers
- Firefox 71 for developers
- Firefox 70 for developers
- Firefox 69 for developers
- Firefox 68 for developers
- Firefox 67 for developers
- Firefox 66 for developers
- Firefox 65 for developers
- Firefox 64 for developers
- Firefox 63 for developers
- Firefox 62 for developers
- Firefox 61 for developers
- Firefox 60 for developers
- Firefox 59 for developers
- Firefox 58 for developers
- Firefox 57 for developers
- Firefox 56 for developers
- Firefox 55 for developers
- Firefox 54 for developers
- Firefox 53 for developers
- Firefox 52 for developers
- Firefox 51 for developers
- Firefox 50 for developers
- Firefox 49 for developers
- Firefox 48 for developers
- Firefox 47 for developers
- Firefox 46 for developers
- Firefox 45 for developers
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论