Firefox/Meeting/30-Nov-2021

From MozillaWiki
Jump to: navigation, search

Friends of the Firefox team

Introductions/Shout-Outs

  • [jaws] Introducing Chris Bellini, a new Engineering Manager for the Search / New Tab team!

Resolved bugs (excluding employees)

Fixed more than one bug

  • Ava Katushka
  • Evgenia Kotovich
  • Geoff Lankow (:darktrojan)
  • Mathew Hodson

New contributors (🌟 = first patch)

Project Updates

Add-ons / Web Extensions

Addon Manager & about:addons

  • As part of Fission related changes for the WebExtensions and AddonManager internals, one more of the remaining framescripts has been removed (and we got a small but still good improvement on the Base Content JS perftest \o/) - Bug 1708193

WebExtensions Framework

  • Fixed a leak due to the ExpandedPrincipal and nsCSPContext keeping a strong reference to each other - Bug 1741600
    • This leak was only happening with content scripts defined by a “manifest_version: 3” addon, and so never actually triggered in release, our tests caught it first.

WebExtension APIs

  • Starting from Firefox 96, a new “browser.runtime.getFrameId” method allows an extension content script to retrieve the frameId associated to a WindowProxy of an embedder DOM element (e.g. frame, object etc) - Bug 1733104
  • As part of the ongoing ManifestVersion 3 work, Will Durand landed in Firefox 96 the initial bits of the new “browser.scripting” API - Bug 1740601
    • This API requires the new “scripting” permission and it is currently only allowed in “manifest_version: 3” extension manifests (and so also locked behind the about:config preference "extensions.manifestV3.enabled")
    • The work for “scripting” API namespace is tracked by the Bug 1687764 meta

Downloads Panel

Fission

  • Rollout to 100% on release is almost done!

Form Autofill

High-Contrast Mode (MSU Capstone project)

Desktop Integrations (Installer & Updater)

Lint, Docs and Workflow

  • Standard8 enabled ESLint rules no-undef and no-unused-vars on xhtml files under dom/.
    • This also found a broken test which was largely not running due to errors which were caught and hidden due to the test's use of promise chaining and not checking the exceptions of thrown errors.

macOS Spotlight

  • Work is underway to support Apple’s Screen Time API. This lets you define time-based and/or parental control limits for certain webpages. When you’ve reached the limit, across all your devices, an overlay will occlude the webpage. Don’t worry: this is an opt-in feature at the OS level and the overlay can be dismissed.
  • We’re working on fixing issues where the video power consumption improvements from a few weeks ago were actually regressing power consumption on older Macs. Those improvements are disabled on affected Macs while we investigate.

PDFs & Printing

Picture-in-Picture

Performance

Performance Tools

  • We published the Performance Tools Newsletter for Q3 2021. You can find it here if you are curious about the things we’ve worked on in Q3.

Search and Navigation

  • Mandy Cheang [mcheang] improved copying partial URLs from the Address Bar so that the resulting url is encoded (note: there is a browser.urlbar.decodeURLsOnCopy pref to change the Address Bar behavior) - Bug 1539511
  • Drew has landed various improvements to Firefox Suggest and enabled the Merino service (Mozilla owned server for suggestions) for users who opted-in.

This week I learned

  • [harry] ./mach watch + Quick restart
    • ./mach watch watches the filesystem for changes and builds incrementally every time you save a file. If you’re working in-content, just reload the page in your local build to see your changes. If you’re working in chrome, Quick restart (Ctrl+Alt+R/Cmd+Opt+R) to see your changes.
      • [mconley] Quick restart keyboard shortcuts are preferred over Ctrl-C (since that immediately kills the process and can cause you to lose session data)
  • [gijs] Windows mozilla-build feedback wanted!