Firefox 74 for developers 编辑

This article provides information about the changes in Firefox 74 that will affect developers. Firefox 74 was released on March 10, 2020.

Changes for web developers

Developer tools

Web console

HTML

No changes.

CSS

Removals

SVG

No changes.

JavaScript

  • The Optional chaining operator has been implemented (bug 1566143).
  • When a JavaScript URL (javascript:) is evaluated and the result is a string, this string is parsed to create an HTML document, which is then presented. Previously, this document's URL (as reported by the document.location property, for example) was the originating javascript: URL; it is now correctly the URL of the document the javascript: URL was evaluated in (bug 836567).

Removals

APIs

DOM

DOM events

Canvas and WebGL

Removals

HTTP

Security

  • TLS 1.0 and 1.1 support has been removed from Firefox; you'll need to make sure your web server supports TLS 1.2 or 1.3 going forward. From now on, Firefox will return a Secure Connection Failed error when connecting to servers using the older TLS versions (bug 1606734).

Plugins

No changes.

Security

  • Starting in Firefox 74, when a site delegates permission to access a resource to embedded content in an <iframe> using the allow attribute, and the embedded page requests permission to use that resource, the parent page prompts the user for permission to use the resource and share it with the embedded domain, rather than both the outer and inner pages prompting the user for permission. If the outer page doesn't have the permission requested by the allow attribute, the <iframe> is immediately denied access without prompting the user bug 1483631.

WebDriver conformance (Marionette)

  • Added WebDriver:Print to print the current page as a PDF document (bug 1604506).
  • Webdriver:TakeScreenshot now always captures the top-level browsing context and not the currently-selected browsing context, if no element to capture has been specified (bug 1398087, bug 1606794).
  • Using Webdriver:TakeScreenshot's full argument causes the complete page to be captured (bug 1571424).

Changes for add-on developers

API changes

  • Shortcut keys can now be unassigned in Commands.update by passing an empty value of shortcut bug 1475043.
  • urlclassifications are now returned as part of the details in each event of webrequest, providing information on whether a request is classified as fingerprinting or tracking bug 1589494.

Manifest changes

No changes.

See also

Older versions

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:105 次

字数:15339

最后编辑:7年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文