files/en-us/mozilla/firefox/releases/70/index.md
This article provides information about the changes in Firefox 70 that will affect developers. Firefox 70 was released on October 22, 2019.
let, with, or if/else) (Firefox bug 1448166)debugger statements can be now disabled in the Debugger by setting a breakpoint on them and switching the breakpoints to "Never pause here" (Firefox bug 925269).browser.storage.local from the Extension Storage item under the Storage tab (Firefox bug 1585499).autocomplete="new-password" attribute value.Opacity values like for {{cssxref("opacity")}} or {{SVGAttr("stop-opacity")}} can now be percentages (Firefox bug 1562086).
{{cssxref("grid-auto-columns")}} and {{cssxref("grid-auto-rows")}} now accept multiple track-size values (Firefox bug 1339672).
A number of text-related CSS properties have been enabled by default (Firefox bug 1573631):
auto, which means that by default underlines and overlines are now interrupted where they would otherwise cross over a {{Glossary("glyph")}}.The {{cssxref("display")}} property now accepts two keyword values representing the inner and outer display type (Firefox bug 1038294, WebKit bug 1105868 and WebKit bug 1557825).
The {{cssxref("font-size")}} property now accepts the new keyword value xxx-large. (Firefox bug 1553545).
The {{cssxref(":visited")}} pseudo-class no longer matches {{htmlelement("link")}} elements, for logic and performance reasons (Firefox bug 1572246; see Intent to ship: Make <link> elements always unvisited and [selectors] :link and <link> for more reasoning as to why).
We now support an auto value for the {{cssxref("quotes")}} property (Firefox bug 1421938).
Stylesheets contained in {{htmlelement("style")}} elements are now cached for reuse, to improve performance (Firefox bug 1480146). Note that this currently doesn't include stylesheets that contain @import rules.
The <ratio> type now accepts <number>/<number> or a single <number> as a value. (Firefox bug 1565562).
none value is now invalid in {{cssxref("counter", "counter()")}} / {{cssxref("counters", "counters()")}} — a change which makes the Level 3 spec match CSS 2.1 Firefox bug 1576821).mode attribute on {{MathMLElement("math")}} elements has been removed (Firefox bug 1573438).5 for 500%, are no longer supported.2. or 34.px, are also unsupported now.locales and options parameters per the ECMAScript 402 Intl API. Also, {{jsxref("Intl/NumberFormat/format", "Intl.NumberFormat.format()")}} and {{jsxref("Intl/NumberFormat/formatToParts", "Intl.NumberFormat.formatToParts()")}} now accept {{jsxref("BigInt")}} values (Firefox bug 1543677).08n and 09n invalid similar to the existing error when legacy octal numbers like 07n are used. Always use a leading zero with the letter "o" (lowercase or uppercase) for octal BigInt numbers (i.e., 0o755n instead of 0755n). See Firefox bug 1568619.numberingSystem (Firefox bug 1521819).Document.captureEvents, and {{domxref("Document.clear")}} (Firefox bug 1558570, Firefox bug 1558571).true since the {{domxref("MediaTrackConstraints.groupId")}} property is now supported (Firefox bug 1561254).channelCount and channelCountMode to invalid values (Firefox bug 1456263).strict-origin-when-cross-origin when Enhanced Tracking Protection is turned on (Firefox bug 1569996).allow-from uri directive has been removed. Use the {{HTTPHeader("Content-Security-Policy")}} header with the {{CSP("frame-ancestors")}} directive instead (Firefox bug 1301529).WebDriver:TakeScreenshot command to be Fission compatible. It means that content from cross-origin iframes is now included in a page's screenshot. Or when using it from chrome scope that the active tab's content is visible now inside the browser window. (Firefox bug 1559592).WebDriver:TakeScreenshot no longer accepts a list of DOM elements as used for highlighting (Firefox bug 1575511).WebDriver:ExecuteScript and WebDriver:ExecuteAsyncScript no longer sets window.onunload in ways that are web-exposed (Firefox bug 1568991).topSites.get() method that causes the method to return the list of pages that appear when the user opens a new tab (Firefox bug 1568617).privacy.network property's webRTCIPHandlingPolicy sub-property's permitted values have been amended (in Firefox bug 1452713) to match the behavior seen in Chrome as follows:
disable_non_proxied_udp previously prevented the use of WebRTC if no proxy was configured. Now a proxy is always used if one is configured, but otherwise a non-proxied connection is permitted.proxy_only can be used to provide the old behavior; this has the effect of only allowing ICE negotiation over TURN on TCP using a proxy; no other connections are allowed.The following theme key properties, which provided aliases for theme keys used in chromium-based browsers, were removed:
images property headerURL, themes should now use theme_frame.colors properties:
accentcolor, themes should now use frame.textcolor, themes should now use tab_background_text.