Lees weergave

Eyedropper Quick Action, geckodriver 0.37, and Tighter File Permissions – These Weeks in Firefox: Issue 205

Highlights

  • Dao added a new Eyedropper quick action! Check it out by typing “color” or “eyedropper” in the URL bar (Bug 1803575) on Nightly.

Firefox URL bar dropdown with "col" typed in, showing an eyedropper button labeled "Pick a color" below search suggestions.

  • Henrik Skupin released geckodriver 0.37.0, which includes support for several new APIs and various bug fixes. See the release page for details.
  • Starting from Firefox 153, access to local file: URLs is being restricted by default.
    • Extensions now require an explicit “Access local files on your computer” permission, separate from broad host permissions, that users must grant.
    • Extensions can call the extension.isAllowedFileSchemeAccess() API to determine whether they have been granted access to file: URLs (Bug 2034168).

Friends of the Firefox team

Resolved bugs (excluding employees)

Script to find new contributors from bug list

Volunteers that fixed more than one bug

  • :Vincent
  • Chris Vander Linden
  • DrSeed
  • Khalid AlHaddad
  • Sam Johnson

New contributors (🌟 = first patch)

Project Updates

Accessibility

Add-ons / Web Extensions

Addon Manager & about:addons
  • Migrated addon-page-header and addon-card action buttons to the reusable moz-button web component as part of the ongoing Nova restyling of about:addons – Bug 2042200 / Bug 2042204
  • Extended moz-page-nav-button with a forwarded title property to fix an accessibility issue where the component lacked a label in collapsed state; Landed in Firefox 153, and uplifted to Firefox 152 for about:settings which was already riding the 152 release train – Bug 2040971
  • Fixed a shutdown-timing bug where a pending GMP update-check timer could fire after XPCOMShutdownThreads started, causing a pref write assertion; Fixed in Firefox 153 – Bug 2043803
WebExtensions Framework
  • Fixed MV2 content scripts incorrectly injecting into guarded hosts because MozDocumentMatcher::MatchesURI was not consulting CheckGuarded when mCheckPermissions was false; Fixed in Firefox 153 – Bug 2041393
  • Added support for accessing ObservableArray attributes (such as adoptedStyleSheets) from XrayWrappers and extension content scripts, unblocking extensions that rely on this Web API; Fixed in Firefox 153 – Bug 1751346
  • Wired runtime_blocked_hosts and runtime_allowed_hosts enterprise policy settings through ExtensionSettings to allow administrators to restrict extension host permissions on managed devices, starting in Firefox 153 – Bug 1805205
    • Thanks to Mike Kaply for implementing this enterprise policy enhancement.
WebExtension APIs
  • Fixed promiseTabWhenReady blocking indefinitely on discarded tabs, preventing cleanup of associated resources and potentially causing memory leaks; Fixed in Firefox 153 – Bug 1653876
  • Fixed webNavigation.onCommitted being dispatched twice for cross-origin iframes loaded under Fission, caused by a redundant OnStateChange trigger firing in addition to OnLocationChange; Fixed in Firefox 153 – Bug 1750196

DevTools

Accessibility panel in Firefox DevTools showing a selected "heading (level 3)" node named "Backwards compatibility."

WebDriver

Search and Urlbar

  • Dharma updated context search actions to trigger search instead of entering search mode @ 1945080
  • Daisuke and Drew worked on a lot of Nova updates, including ensuring Nova is tested @ 2041255, 2030183, 2019168, 2044849, 2033583
  • Moritz has worked on several refactorings to allow the urlbar to be used in content @ 2039828, 2039298, 2041280
  • Middle click paste replaces content was fixed by Moritz @ 2042893
  • Michel added feature to show registrable domain on desktop after its implementation on mobile @ 1986161
  •  

Giving You More Control – These Weeks in Firefox: Issue 204

Highlights

Firefox context menu video controls like Pause, Unmute, Speed and Loop.

Tooltip in Firefox DevTools for mismatched syntax with attr()

Friends of the Firefox team

Resolved bugs (excluding employees)

Script to find new contributors from bug list

Volunteers that fixed more than one bug

  • Sam Johnson
  • Sebastian Zartner [:sebo]

New contributors (🌟 = first patch)

Project Updates

Add-ons / Web Extensions

Addon Manager & about:addons
  • As part of the work for the Project Nova about:addons page restyling, the about:addons sidebar has been migrated to the moz-page-nav and moz-page-nav-button reusable components, improving accessibility and visual consistency with the Firefox Desktop about:settings page – Bug 1881767
WebExtensions Framework
  • Implemented WebExtensions negative permissions infrastructure, providing the foundations for enterprise policy “blocked host permissions” features – Bug 1745823
  • Restricted host permission changes for MV3 extensions force-installed via enterprise policy (matching similar behaviors provided by Chrome enterprise policy behaviors) – Bug 1904054
    • Thanks to Mike Kaply for the implementation of this enterprise policy enforcement feature.
WebExtension APIs
  • Fixed handling of <all_urls> as an API permission in Manifest V3, ensuring the permission is correctly initialized on extension install – Bug 1758306

DevTools

WebDriver

Lint, Docs and Workflow

New Tab Page

Picture-in-Picture

Performance Tools (aka Firefox Profiler)

  • Firefox Profiler now has a CLI! We also added a profiler-analysis skill to the Firefox codebase. Once you capture a performance profile, you can ask Claude or an AI to analyze it by providing a link or local path. You can use it to analyze a performance regression or debug an issue if you have a profile at hand.

Search and Urlbar

Nova UI refresh
Suggest
  • Drew landed several Suggest improvements: realtime suggestions colors, sports suggestions received World Cup tweaks, and online Suggest via OHTTP was enabled for eligible users in Firefox 153.
  • 2040561, 2039753, 2035614, 2038843
Adaptive autofill
  • James fixed soft-block counting to track autofill dismisses, rather than consecutive backspaces on the same autofill, and added telemetry to measure URLs reintegration after blocking.
  • 2040819, 2037177
Quick actions
  • Dharma created a new Firefox Labs quick action, fixed the Update action button, and re-enabled ScotchBonnet in some tests that were not updated yet.
  • Caleb added Calculator support for certain unicode operators.
  • 2023169, 1928635, 1923383, 2033861
Multi Context Address Bar
  • Moritz continued refactoring the urlbar code: converted some of the js modules to not be system modules, fixed dynamic results templates, incorrect reuse of result rows, and keyboard shortcuts on the unified search button panel.
  • 2039297, 2036095, 2039844, 2037933, 2030050
Other
Search
  • Mark removed old WebExtension-based search engines from the source tree, removed loading of search add-ons from resource://search-extensions/.
  • Caleb fixed multiple documentation issues and added a test covering searches from a private window.
  • 1904613, 2035878, 2037942, 2033545, 2005724
Places
  • Marco removed some unnecessary database transactions, fixed the bookmarks panel folder dropdown on Windows, and resolved several intermittent test failures.
  • Thanks to Sam Johnson who fixed the bookmark edit panel showing “mobile” instead of “Mobile Bookmarks”.
  • 2039534, 1505800, 2008829, 2029541, 2035084
  •  

More Kit, More Control – These Weeks in Firefox: Issue 203

Highlights

Internet connection error page with an adorable Kit illustration

Two radio button controls for the Smart Window Memories feature, including "Chats in Smart Window" and "Browsing across Firefox"

 

Friends of the Firefox team

Resolved bugs (excluding employees)

Script to find new contributors from bug list

Volunteers that fixed more than one bug

  • Amin Amir
  • Pranjali Srivastava
  • Sam Johnson

New contributors (🌟 = first patch)

Project Updates

Add-ons / Web Extensions

Addon Manager & about:addons
  • Fixed long-standing regression on the autocomplete and datalist popups for extension inline options pages on about:addons (introduced in Firefox 68 by Bug 1532724, fix shipping in Firefox 152) – Bug 1595158
WebExtensions Framework
  • Fixed access to web-accessible resources declared with <all_urls> from sandboxed documents (null-principal URLs), restoring extension redirects from the context-menu search flow, starting in Firefox 152 – Bug 2033905
WebExtension APIs
  • Added exhaustive test coverage for tabs.move() against additional edge cases related to split-view tabs – Bug 2029092

DevTools

  • Andreas Farre improved the Session History tab in the Application panel (still behind devtools.application.sessionHistory.enabled)
    • added support for remote debugging (#2014064, #2016121)
    • made sure that calls to History.replaceState are reflected in the UI (#2037359)
  • Julian Descottes [:jdescottes] fixed the most frequent DevTools crash we were observing in Telemetry, adding a guard against IDBTransaction errors when retrieving breakpoints in the Debugger (#2030260)
  • Nicolas Chevobbe [:nchevobbe] fixed the image preview tooltip for relative URLs images in constructed stylesheet (#2035503)
  • Julian Descottes [:jdescottes] reduced the overhead we had because of network requests monitoring by only decoding response content when the user actually want to see the response (#2026228)

WebDriver

Lint, Docs and Workflow

New Tab Page

  • We did our first region-specific trainhop on May 11th (just 15% of the US), and turned on HNT Nova (and sometimes Widgets) for those clients to get some advance-data of its behaviour in the wild! A note that HNT Nova gets turned on for everybody when Firefox 151 ships on May 19th.
    • We’ll be launching a similar experiment in the DE, probably on May 12th, also at 15% population.
  • Most of the team is heads down building out a sports-tracking widget, attempting to get that ready in time to be generally available for the upcoming World Cup event.
  • Dre landed a new world clock widget, which is currently off by default, but pretty snazzy!

World clock widget in New Tab featuring different time zones for YTO, BER, SYD, and LAX.

Search and Urlbar

Smart Window

  • natural language starting with tab close/undo 2035343 with expandable action log 2031508

Tab close and undo actions in Smart Window accompanied by an expandable log of actions taken

Storybook/Reusable Components/Acorn Design System

  • Nova token updates occasionally, focused on SRD

UX Fundamentals

  • Added support for the “SEC_ERROR_CA_CERT_INVALID” certificate error to the Felt Privacy error pages. – 2035942

Settings Redesign

  • Settings redesign is being tested and will hopefully go out in Firefox 152!
  •  

Import-ant Updates – These Weeks in Firefox: Issue 201

Highlights

  • Import attributes will be supported for WebExtensions, starting in Firefox 150!
    • This allows WebExtension authors to import CSS module scripts and JSON into their JavaScript modules.
    • Examples:
      • import sheet from ‘./styles.css’ assert { type: ‘css’ };
      • import schema from “./policies-schema.json” with { type: “json” };
  • The Web Serial API is now available for testing in Firefox Nightly!
  • Dharma created a new quick action for Firefox Library
    • You can test this out in Firefox Nightly 151 by typing “library” in the URL bar

Word "library" typed out in the URL bar to see the Firefox Library quick action

Friends of the Firefox team

Resolved bugs (excluding employees)

Volunteers that fixed more than one bug

  • Chris Vander Linden
  • Chukwuka Rosemary
  • DrSeed
  • EJiro Oghenekome
  • Frédéric Wang Nélar
  • Itoro James
  • japandi
  • John Iweh
  • jonathancabera
  • Josh Aas
  • Justin Peter
  • Keji Bakare
  • kofoworola shonuyi
  • konyhéa
  • Noble Chinonso
  • Okhuomon Ajayi
  • Oluwatobi
  • Pranjali Srivastava
  • ROSHAAN
  • Sameeksha

New contributors (🌟 = first patch)

Project Updates

Add-ons / Web Extensions

Addon Manager & about:addons
  • Removed obsolete migration logic that forced distribution language packs to be reinstalled when upgrading from Firefox versions older than 67 – Bug 2000797
    • Thanks to Aloys for contributing the changes needed to cleanup this old XPIProvider migration logic
WebExtensions Framework
  • Fixed a regression where WebRTC permission popups were queued and suppressed while an extension popup was open – Bug 1982832
WebExtension APIs
  • Fixed an edge case where tabs.move would revert splitview tabs order while moving splitview tab to a new window  – Bug 2028832
  • Fixed windows API reporting window type normal instead of popup for windows opened via window.open() – Bug 2030631
    • Thanks to Brandon Lucier for contributing this small but very much appreciated fix to the windows WebExtensions API!

DevTools

Multi containers support in the Inspector panel

"hello section-container" name displayed in the container tooltip under the Inspector panel

An unmatched container rule in the Inspector panel

WebDriver

Lint, Docs and Workflow

New Tab Page

  • You can preview Nova on the New Tab browser.newtabpage.activity-stream.nova.enabled to true, and then opening a few tabs.
    • The browser.nova.enabled pref was just introduced to turn on the Nova design tokens. That’s still very much a work in progress.

Picture-in-Picture

Search and Urlbar

Search
  • Mandy updated the search-config-v2 schema for partnerCodes (2027191)
  • Florian fixed a high frequency intermittent test failure in the search code (2009494)
  • Standard8 fixed a bug with duplicate keywords for search engines, so that we now prefer the default search engine (2024714)
Nova
  • mconley made a rounder search input for about:newtab and about:privatebrowsing (2027144)
  • Drew is continuing his work on making Nova updates to the urlbar  (2026859)
New searchbar
Urlbar
  • Dharma also fixed a quick action telemetry error (1955058)
  • James has been working on Adaptive History for Autofill Improvements (2019695, 2019695, 2021079, 2019719, 2021036, 2028730, 2021039, 2019626)
  • Gijs landed a patch so that we use aria-notify instead of A11yUtils.announce for UrlbarView’s “special” announcements (2026753)
  • Dale added a tooltip to engines in the unified search panel (2028668)
  • Drew has been working on sports suggestions (2025052)
  • James fixed a bug where persisted search was not working for Fx versions prior to 148 (2025933)

Smart Window

Storybook/Reusable Components/Acorn Design System

UX Fundamentals

  • Felt Privacy error pages now support more NSS errors instead of falling through to the legacy page. Updated introductory text for the denied-port-access error. – 2024150
  • Fixed a test in browser_aboutCertError.js that was failing on Linux opt standalone and removed the platform skip. – 2028651
  • Added clock skew detection to the Felt Privacy error pages. When a certificate error is caused by a wrong system clock, the Felt Privacy error pages now show the same dedicated clock-skew message that the legacy error pages had, and helps guide users to correct their system time. – 2025049
  • ​​Fixed misaligned bullet points in the “What can you do?” section of Felt Privacy network error pages, restoring correct visual indentation for that list. – 2028632
  •  

Extension Theming Improvements and More – These Weeks in Firefox: Issue 198

  •  
❌