Firefox Headlines (May 20th, 2022)

12 views
Skip to first unread message

Mike Conley

unread,
May 20, 2022, 10:10:44 AM5/20/22
to Firefox Dev
Hey firefox-dev,

A few weeks back, the Firefox Desktop engineering team got together to pool knowledge about the latest goings-on in the codebase. The notes from that meeting have been synthesized into the following email for your perusal.

Special thanks to Doug Thayer who put these notes together with me!

Highlights

  • Firefox 100 goes out today! A milestone release, but also business as usual!

    • Congratulations to contributors who helped get Firefox 100 out the door!

  • Initial support for subtitles and captions in the Picture-in-Picture video player goes out today in Firefox 100. Woohoo!

  • Starting from Firefox >= 101, when a WebExtension calls the browser.downloads.download API method, the download panel will be automatically opened if and only if the extension was handling user input when that API method has been called - Bug 1761828 / Bug 1762033 / Bug 1759231

    • This fixes the “Firefox :: Downloads Panel” issue reported from more than a few users due to the downloads panel opening and quickly closing automatically when one of the extensions installed uses the downloads API to periodically backup the extension settings (see Bug 1759231 and its duplicates)

    • Thanks to aminomancer for the work on the “Firefox :: Downloads Panel” part of this fix!

  • Raphaël improved the DevTools Inspector class autocomplete so that the selected class in the autocomplete is applied as you browse the autocomplete list. Super handy on website using CSS utility rules systems like Bootstrap (bug, gif)

    • [Animated GIF]

      • An animated GIF showing how the autocomplete field for adding a new class to a node in the Developer Tools Inspector will automatically apply that class as the autocomplete list is browsed.

  • We’ve implemented enough Webdriver BiDi commands to begin the process of shipping it! (bug, intent-to-ship) Congrats to Henrik, James, Julian and Sasha 🎉

Friends of the Firefox team

Resolved bugs (excluding employees)

Script to find new contributors from bug list

Volunteers that fixed more than one bug

  • F3n67u

  • kernp25

  • manisha.singh2019

  • Oriol Brufau [:Oriol]

  • Shane Hughes [:aminomancer]

New contributors (🌟 = first patch)

Project Updates

Add-ons / Web Extensions

Addon Manager & about:addons
  • Fixed a small visual regression related to the about:addons add-on card, due to the sitepermission row not hidden for non-sitepermission addon types  - Bug 1766167

WebExtensions Framework
  • As part of the ongoing ManifestVersion 3 work:

    • Manifest V3 “host_permissions” to be visible and user-controllable from “about:addons” add-on cards - Bug 1745820

    • Deprecated cross-origin requests from ManifestVersion 3 extension content scripts - Bug 1578405

    • Added support for the new “injectImmediately” option to browser.scripting.executeScript - Bug 1762366

WebExtension APIs

Developer Tools   

Toolbox
  • F3n67u simplified a few files which were violating eslint complexity rule (bug, bug, bug)

  • Sebo made progress on custom formatters support in DevTools by handling JsonML data in DevTools (bug)

  • Arai fixed console.table when it is called with unexpected arguments (bug)

  • Alex fixed setting breakpoints in HTML inline scripts in iframes (bug)

  • mach run takes a --jsdebugger argument that will automatically open the Browser Toolbox. The arg can be empty, or you can pass a path to a specific binary (e.g. ./mach run --jsdebugger /Applications/FirefoxDeveloperEdition.app/Contents/MacOS/firefox) that will be used for the Browser Toolbox, which can be handy if you’re trying to debug a broken local build. If you reload the main browser window, the Browser Toolbox will reload but keep using the binary you set in the first place. Thanks Alex! (bug)

  • Julian fixed a pretty nasty inspector bug impacting pages embedding Shopify chat UI (bug)

  • A few releases ago we added the ability to tweak any dimension in the inspector rule view by dragging the mouse over the value. Some people are not fan of this feature so Julian added an item in the Settings panel to disable it (bug)

WebDriver BiDi
  • Henrik made navigator.webdriver to be  true when Remote Agent is enabled (bug)

  • Julian implemented the browsingContext.create command, which enable opening tabs (bug)

Fluent

  • Thanks to Niklas who ported videocontrols.js to Fluent! This pulls out more DTDs (which is good), but should also help prevent Yellow Screen of Death frames from appearing on video elements.

Form Autofill

Lint, Docs and Workflow

Password Manager 

Picture-in-Picture

Performance Tools (aka Firefox Profiler)

  • Improve Firefox Profiler user docs (#3998). Take a look at https://profiler.firefox.com/docs/ for our user guide. More improvements are on the way as well.

  • Add a "Copy page URL" option to the right click context menu for markers (#3981)

    • [Screenshot]

      • In the Marker Chart for a profile in the Firefox Profiler tool, a next context menu is available for markers associated with a page URL that allows for copying that URL to the clipboard.

  • Add "Hide matching tracks" option to the track menu (#3955) It appears after searching something in the filter input and allows you to hide multiple tracks quickly.

    • [Screenshot]

      • A new "Hide all matching tracks" item in the track filter panel in the Firefox Profiler allows for quickly hiding all tracks matching the query.

  • Draw all interval markers as rectangles in the marker chart (#3996)

    • [Animated GIF]

      • An animated GIF of the Firefox Profiler Marker Chart showing that interval markers are now rendered as rectangles rather than ellipses. This makes their start and end times more visually precise.

Search and Navigation

  • Mark has updated the expiring version for the browser.searchinit.engine_invalid_webextension telemetry, that measures disabled or potentially invalid WebExtension search engines - Bug 1763528 

  • Drew has improved Firefox Suggest telemetry to measure dismissed or blocked Firefox Suggest entries - Bug 1764669 - and properly report reset impression counts - Bug 1765881 

Storybook / Reusable components

Below the fold

  • Gijs, Neil, mconley and jteow are this month's Firefox / Toolkit::General triagers!

  • [mcheang] This is a TIL from my teammate. During my pair programming session, I was using console.table() to log data. It displays data in a tabular format and can make information easier to read. Check it out if you didn’t know already: https://developer.mozilla.org/en-US/docs/Web/API/console/table

  • [mcheang] In another live pair programming session we had on the search team, I learned the command mach run -profile ~/p1 which creates a new profile quickly, and the profile interface does not pop up. In contrast, you can also use mach run -P to bring up the profile interface and manually create a profile. 

  • [mcheang] I couldn’t find any help docs on -profile or -P commands, I wouldn’t have known about these if I didn’t see it from our coding session. But does anyone know where to find more docs on these profile commands?

    • [mconley] These are much older commands that are being handled by the Firefox binary itself. Here is the full set of commands that the Firefox binary reportedly handles.

    • [mconley] I did find this old wiki page that might be worth porting to Firefox Source Docs…

    • [nchevobbe]  --temp-profile creates a new temp profile

      • [Mossop] note that that is mach specific, not a command line that standalone Firefox recognises.


This information, including all of the previous updates, are fully available in this doc: https://docs.google.com/a/mozilla.com/document/d/1u9YH3ULNRYg6G-fN-Udkvfkcvg0alJfzi_zIAfFNkL8/edit?usp=sharing


Also note that I'm really just synthesizing and humanizing the stuff that's on the Wiki, which is freely available from here: https://wiki.mozilla.org/Firefox/Meeting, so check that out if you want the source material. It'll also be posted (minus the Below the Fold stuff) to the Nightly blog.


Finally, if there's a Firefox-ish team that you feel isn't being represented here, please let them know about the above meeting so we can get their updates.


Keep on rockin' the free web,


-Mike

--
You received this message because you are subscribed to the Google Groups "firef...@mozilla.org" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firefox-dev...@mozilla.org.
To view this discussion on the web visit https://groups.google.com/a/mozilla.org/d/msgid/firefox-dev/CA%2B3p4uaT5Ls7N_7gEqwq_mcQMSPxYsuL3q5_AYBM1mf7sypBAg%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages