Firefox 63 for developers

Cet article fournit des informations à propos des changements dans Firefox 63 qui affecteront les développeurs. Firefox 63 a été publié le 23 octobre 2018.

Changements pour les développeurs web

Outils de développeurs



  • Le lien de type sidebar (rel="sidebar") n'est plus supporté. Si une ancre contient cet attribut, elle sera ignorée (bug 1452645).



  • Removed offset-block-start, offset-block-end, offset-inline-start and offset-inline-end; these have been renamed to inset-*, as described above (bug 1464782).


Aucun changement.



  • Experimental WebAssembly Module IndexedDB serialization support has been removed (bug 1469395).


Nouvelles APIs


Evénements du DOM

  • Handling of the Alt key on the right side of the keyboard has been improved on Windows. If the user's current keyboard layout maps the Alt key to the AltGr modifier key, the value of KeyboardEvent.key is now reported as "AltGraph". This behavior matches the behavior recently introduced in Chrome (bug 900750).

Media, Web Audio, et WebRTC

Canvas et WebGL

  • A new powerPreference context attribute has been added to HTMLCanvasElement.getContext(). On macOS this allows WebGL non-performance-critical applications and applets to request the low-power GPU instead of the high-power GPU in multi-GPU systems (bug 1349799).



Aucun changement.



  • Site favicons are now subject to Content Security Policy, if one is configured for the site (bug 1297156).
  • CSP script-src directive's 'report-sample' expression now recognized when generating violation reports. This directive indicates that a short sample of where the violation occurred should be included in the report. Previously, Firefox always included this sample (bug 1473218).
  • Firefox now uses NSS 3.39 (bug 1470914).


Aucun changement.

Conformités WebDriver (Marionette)

Nouvelles fonctionnalités

  • Marionette now returns a setWindowRect capability in the WebDriver:NewSession response that is true if the browser window can be repositioned and resized, which e.g. is the case for Firefox but not any mobile applications (bug 1470659).
  • Added support for the unhandledPromptBehavior capability, which allows to define a specific prompt behavior of the WebDriver specification (bug 1264259).
  • Handling of user prompts has been added to the WebDriver:ExecuteScript and WebDriver:ExecuteAsyncScript commands (bug 1439995).

Changements API

  • Deprecated command end-points without the WebDriver: prefix have been removed (bug 1451725).
  • The WebDriver:NewSession command returns recommended strings (linux, mac, windows) for platformName as defined in the WebDriver specification (bug 1470646).

Corrections de bugs

  • Focus related events were missing on element interaction when Firefox was not running as the top-most application (bug 1398111).
  • Performing a pointerDown and pointerUp action in a subsequent action sequence could trigger a double click because WebDriver:ReleaseActions didn't reset the double click tracker (bug 1422583).
  • Executing pause actions repeatedly could cause an infinite hang (bug 1447449).
  • Fixed a bug where returning an element collection from WebDriver:ExecuteScript and WebDriver:ExecuteAsyncScript would cause a cyclic reference error (bug 1447977).
  • To prevent a race condition both the WebDriver:AcceptAlert and WebDriver:DismissAlert commands now wait until the user prompt has been closed (bug 1479368).
  • Log entries as emitted by the frame script were no longer limited by MarionettePrefs.logLevel but logged everything (bug 1482829).
  • WebDriver:TakeScreenshot raised an error when taking a screenshot of a window larger than 32767 pixels in width or height (bug 1485730).
  • WebDriver:SendAlertText didn't replace default user prompt value if text to send is an empty string (bug 1486485).


  • Corrected the behavior of PerformanceObserver.observe() to simply do nothing if no valid entry types are found in the specified array of entry types to observe, or if the array is empty or missing. Previously, Firefox was incorrectly throwing a TypeError (bug 1403027).
  • In OpenSearch, Firefox now accepts application/json as a search URL type, as an alias of application/x-suggestions+json (bug 1425827).

Changements des add-on développeurs

Changements API


  • The default text color for browserAction badges is now automatically set to black or white, to maximise contrast with the background (bug 1474110).
  • The accentcolor and textcolor properties of the theme manifest key are now optional (bug 1413144).
  • browserAction.getBadgeTextColor() and browserAction.setBadgeTextColor() enable you to get and set the text color of browser action badges (bug 1424620).
  • The theme colors key in manifest.json now supports the ntp_text property to set the text color in a new tab, and the ntp_background property to set the color of a new tab (bug 1347204).
  • Themes can now define the colors for sidebars, such as the bookmarks sidebar (bug 1418602). The relevant properties include:
    • sidebar: The background color for sidebars.
    • sidebar_text: The text color for sidebars.
    • sidebar_highlight: The background color of a selected item in a sidebar.
    • sidebar_highlight_text: The text color of a selected item in a sidebar.
  • The method management.install() allows web extensions to install and enable signed browser themes (bug 1369209).


  • The new search API enables you to retrieve the list of installed search engines and perform searches with them (bug 1352598).
  • topSites.get() now takes an options parameter enabling you to set various options for the list of sites returned (bug 1445836).


  • tabs.onHighlighted now supports multi-select (bug 1474440).
  • tabs.highlight now includes an optional field in the highlightInfo object — populate — which defaults to true. Setting it to false prevents the returned windows.Window object from being populated with a list of tabs, to improve performance (bug 1489814).
  • tabs.update now supports changing the selection status of a tab by including highlighted: true in the updateProperties parameter (bug 1479129).
  • tabs.update supports changing the selection status of a tab without changing the focused tab (bug 1486050) by including both highlighted: true and active: false in the updateProperties parameter.
  • tabs.query now returns an array of tabs.Tab objects if multiple tabs are selected (bug 1465170).
  • The tabs.Tab property now properly reflects which tabs in a browser window are selected (highlighted) and tabs.highlight supports changing the highlighted status of multiple tabs (bug 1464862).
  • The isarticle property in the extraParameters object passed into tabs.onUpdated has been renamed to isArticle. The old name is retained but deprecated. This change was uplifted to Firefox 62 (bug 1461695).
  • The tabs.onUpdated event can be used to track when a tab is drawing the user's attention with attention property of the changeInfo object (bug 1396684).


Voir aussi

Anciennes versions