Categories: News

These Weeks in Firefox: Issue 70

Highlights

  • Multi-Account Containers Sync is live and people seem to really like it!
    • Thank you to our Outreachy intern Kendall for implementing it!
  • Instant Evaluation in the DevTools Console is being tested in Nightly, and currently targeted for rollout for Firefox 75
  • A new Initiator column in the Network Inspector shows the stack trace of the JavaScript that caused the network request! Thanks to tranfusion for the patch.
  • In Nightly, it’s now possible to enable the profiler UI without having to install an add-on
    • Just visit https://profiler.firefox.com and click “Enable Profiler Menu Button”
      • The profiler.firefox.com page showing a button to enable the profiler menu. That button is highlighted to draw attention to it.

        This should make it even easier for users to provide profiles to us, which helps us investigate and fix performance problems!

  • Web developers can now block URLs using wildcard (*) patterns in the DevTools network monitor
  • The mobile team has finished the Fennec Nightly migration to Fenix!

 

Friends of the Firefox team

Resolved bugs (excluding employees)

Fixed more than one bug

  • aarushivij
  • Florens Verschelde :fvsch
  • Itiel
  • Pranav pandey
  • Vitalii

New contributors (🌟 = first patch)

Project Updates

Add-ons / Web Extensions

Addon Manager & about:addons
  • As part of the QA verification on Bug 1602839 (meta issue related to locking down the add-ons sideload locations) we noticed that we were still accepting sideloading of extensions dropped into the application directory, Shane fixed this in Bug 1616545 (currently landed in Firefox 75, may be uplifted to 74 beta).
  • The initial webpage that originated an addon installation is now stored in the addon db and sent as part of the abuse reports submitted by a user for the related extension (Bug 1610844)
WebExtensions Framework
  • In Bug 1493620 Tomislav removed the creation of about:blank in the windowless browsers created to load the extension background pages
  • In Bug 1614966 Shane moved the RemoteSettings prefs overriding out of ExtensionXPCShellUtils.jsm, which should make it simpler to re-use ExtensionTestUtils in xpcshell tests that would need RemoteSettings prefs to not be overwritten (e.g. see Bug 1612416)
Bugs fixed by contributors
  • saroyanm fixed a bug that was preventing browser.permissions.request to work correctly when called from an extension popup (Bug 1432083)

Developer Tools

Debugger
  • The newly added “beforeinput” event is now also available as “Event Listener Breakpoints”, thanks to farooqbckk
  • The secondary footer in the Debugger was removed to save some space
  • File tabs in Debugger can now be reordered with drag & drop, thanks to transfusion
  • Command-Click to highlight and jump to a location, thanks to janelledement
Console
  • Instant Evaluation keeps getting better (scheduled for 75)
    • Oriol added support for Proxy and Reflect methods in bug 1615861
    • Logan added support for side-effects free DOM method (like querySelector for example)
    • Highlight DOM element results (bug 1614549)
    • Fixed issue with autocomplete case-insensitive matching in bug 1614841
    • [WIP] Display the autocomplete above the input so it doesn’t cover the instant evaluation result (bug 1609942)
  • `print`  and `pprint` console helpers were removed, as they’re not standard, provided little values in comparison to console APIs and are not defined in other browser DevTools (Bug 1613845 and 1613843 )
  • There’s now a way to disable autocomplete directly in the UI (Bug 1593607)
  • Autoclose brackets – The Console panel input now respects the Autoclose brackets option. Console automatically inserts the corresponding closing element for quotes & brackets (bug).
  • Eugene added proper rendering of ES6 classes in the console and debugger (bug 1592277)
    • The DevTools Console showing ES6 classes named "A" and "B" being logged to the console as classes.

      Avec classe!

  • Alex made the Multiprocess Browser Console faster to open (bug 1605763)
  • Console also got a boost when dealing with lots of new messages at once (bug 1612571)
  • Added autocompletion support for optional chaining operator (?.) that landed in Firefox 74 (bug 1594009)
Network Monitor
  • WebSocket Inspector supports WAMP protocol, including JSON, MsgPack and CBOR (bug). Available in the Network panel
      • Multiple new protocols being displayed in the WebSocket Network Monitor tool, including JSON, MsgPack and CBOR.

        It’s easier to inspect traffic being sent over WebSockets now.

  • Resend request doesn’t forget headers anymore, thanks to thiago.arrais
  • The left sidebar (request blocking and full text search) is now accessible with a side bar toggle, thanks to pranavpandey1998official
  • Focused filter buttons now look less `active` to avoid confusion, thanks to  vtsty.dev
  • Blocking network URLs now allows wildcard (*) patterns, thanks to duncangleeddean
  • Borders got added between columns in network requests list for readability
      • The Network Monitor showing a series of requests, where each column of request data is separated by clear borders.

        This will make reading the Network Monitor easier.

Remote Debugging
  • Temporary extensions loaded in GeckoView apps now also appear in about:debugging when connected to the device. Implemented by Luca Greco in bug 1596867.
DEBTools
  • Historically, the framework part of the code that deals with client to server communication for DevTools has been called DebuggerClient and DebuggerServer.
    This likely comes from the fact that the Debugger was probably the first tool to be based on a remote (client-server) architecture.
    These objects have now been renamed to the more self-explanatory DevToolsClient and DevToolsServer.
Documentation
  • Julian tracked down an issue that had made the build for our documentation website fail for some time now (bug 1613368). The site was fine, but the latest updates were not being pushed to it. This is now fixed!
    We’ll continue improving the onboarding docs on that site, and turn it into a simple, easy to digest, single page that points to other up-to-date resources wherever possible, to avoid duplication.
  • Honza improved the table of content for the DevTools docs on https://firefox-source-docs.mozilla.org/devtools/index.html
    In time, we plan on moving our internal technical documentation over to this site instead of https://docs.firefox-dev.tools . Our firef-dev.tools site will only contain a one pager getting started guide for new contributors.

Fission

  • Bernard Igiri has a patch up to port UnselectedTabHover to JSWindowActors
  • Neil has a patch up to port RemotePageManager, and many of the pages that rely on it, to JSWindowActors
  • hsivonen fixed the focus issue so you can click in form controls now.
  • Adding a general fission test that is useful as a base for other fission tests that need to check that functionality works in different iframe setups.

Lint

Mobile

  • Fenix has reached a big milestone, Feature Freeze, so in the next release you can check out:
    • Logins (big thanks to Emily Kager, Severin Rudie, Grisha Kruglov, Eugen Sawin and others)
    • Top Sites (Thanks to Gabriel Luong, Jeff Boek)
    • UBlock Origin extension (Thanks to Christian Sadilek)
    • Better error pages (Thanks to Sawyer Blatz)
    • Custom ETP controls (Thanks to Mihai Carare)
    • Language picker (Thanks to Mihai Brancescu)
    • UX, stability improvements (Thanks to David Walsh, Kate Glazko, many others)
    • And lots of other features!

New Tab Page

  • Working on Pocket story collections, almost done, just some telemetry and metrics stuff left.
  • Now ready to enable Pocket stories in the UK for 75

Password Manager

Performance

Performance Tools

  • Removed the loupe view from the tab panel.
  • Added “show active tab only” checkbox to see the active tab processes and threads only. We are trying to make the UI simpler for web developers, expect more changes soon. (example profile)
      • The Firefox Profiler UI showing a thread of execution, and a checkbox that allows the user to only show samples for the currently selected tab. That checkbox is highlighted.

        If there were many background tabs during capture, this will help to filter out the noise when examining profiles.

  • Storage migration for the profiler server is over now. The server was down for a while on Friday and Saturday, but it’s up and running again now.

Picture-in-Picture

Privacy/Security

Remote Debugging (Chromium Protocol)

Search and Navigation

Search

  • Search configuration modernization
    • Turning the new configuration on for Nightly users in the next few days. Full roll-out currently scheduled for 76.
    • Please watch out for regressions, e.g. unexpectedly missing engines, or re-appearing engines.

Address Bar

User Journey

  • Working on separating about:welcome from about:newtab to improve performance, adding JSWindowActors
  • Bernard helping us with separating ASRouter/Messaging System from New Tab
  • Launched Chrome Switchers experiment (New users on Windows that use Google Chrome): The onboarding card on about:home/newtab allows the user to start the import wizard
  • Upgraded to node 10
  • Starting up “Profile Migration Revamp” initially focusing on new users from Windows Chrome to contextually suggest importing passwords that exist in other browsers
      • An email field showing an autocomplete popup offering to import a set of credentials from another installed browser - in this case, Google Chrome.

        Migrating should be this easy!

No comments yet

Post a comment

Leave a Reply

Your email address will not be published. Required fields are marked *