These Weeks in Firefox: Issue 56

  • 时间: 2019-04-06 02:39:04

Highlights

  • Firefox Lockbox now available on Android!Check it out!
  • Responsive Design Mode in Dev Tools supportsMeta Viewport, behind the devtools.responsive.metaViewport.enabled pref!

  • The autocomplete suggestion list has a spiffy new “View Saved Logins” button.

  • You can nowreload all your tabs when you change your cookie settings.

  • The Firefox Security team is trying out stronger restrictions on how often websites can show basic auth prompts.Please file a bug if anything breaks because of this.
  • The new, more discoverable Firefox Accounts button and doorhanger is now available in Nightly!

  • Rust-powered bookmark syncing landed in Nightly, behind the services.sync.bookmarks.buffer.enabled pref! This is an under-the-hood change that lets us share core sync logic between Desktop and mobile. Pleasefile a bug if you notice issues.

Friends of the Firefox team

Here’s a list of all resolved bugs .

Fixed more than one bug

  • akshitha shetty
  • Carolina Jimenez Gomez
  • Dhruvi Butti
  • Fanny Batista Vieira [:fanny]
  • Florens Verschelde :fvsch
  • Helena Moreno (aka helenatxu)
  • Hemakshi Sachdev [:hemakshis]
  • Heng Yeow (:tanhengyeow)
  • Ian Moody [:Kwan]
  • Jawad Ahmed [:jawad]
  • Mellina Y.
  • Monika Maheshwari [:MonikaMaheshwari]
  • Neha
  • Nidhi Kumari
  • Syeda Asra Arshia Qadri [:aqadri]

New contributors (:star2: = first patch)

Project Updates

Activity Stream

  • Preparing to launch the Pin Tabs CFR message globally in 68
    • Currently just en-US in Beta (around 10% of the people that open the message will also pin the tab)
  • We’re investigating Pocket New Tab startup performance
    • There is a regression on the reference hardware compared to the default (66) New Tab experience
    • The current theory is that it is caused by network calls/processing for fetching images
    • The target is to make Pocket New Tab the default experience in 68
    • Working on lazy loading images
    • Meta Bug for performance work

Add-ons / Web Extensions

Applications

Services (Firefox Accounts / Sync / Push)

  • Thom is working on an HTTP client abstraction for our Rust components. We’ll use Necko via GeckoView on Android, and system networking libraries on iOS.
  • Thom and Ryan are also working on a crypto abstraction, using NSS and OS-level crypto, for encrypting and decrypting sync records and push messages.

Browser Architecture

Developer Tools

  • Thanks to Fanny Batista Vieira (GSOC), Adrian Anderson (Outreachy) and nikitarajput360 (Outreachy) for working on bug 1115363 – Add a Copy context menu item to the Storage Inspector .
  • Thanks to Avi Mathur for working on bug 1291427 – Table headers are not removed when selecting an empty storage
  • Good number of external contributions for the Console :
    • Helena Moreno added support for Cmd+K to clear the console –Bug 1532939
    • Helena Moreno added support to open URL of network messages with Cmd/Ctrl + click in the console –Bug 1466040
    • Erik Carillo made the console less painful to navigate with the keyboard by adding a role=main attribute on the output –Bug 1530936
    • Bisola Omisore implemented NOT clearing the console input when evaluating, for the editor mode –Bug 1519313
      • lots of in progress bugs
  • Grouping of tracking protection messages in Console is in progress –Bug 1524276
  • Column breakpoints in the Debugger are faster and more polished , esp. on reload
  • Network Panel now has support for resizable columns (Bug 1533764). Kudos to Lenka, who finished this feature during her Outreachy internship and who already picked up the next feature.
  • Landed a blank markup view bug related to a CORS issue (Bug 1535661)
  • Landed a redesigned settings panel for RDM (thanks to our design contributors @KrisKristin ) and will soon land the ability to edit devices
  • You can now (remote) debug service workers in e10s multiprocess if you are also running the new ServiceWorkers implementation ( dom.serviceWorkers.parent_intercept ) (bug)
  • The all new and improved about:debugging is getting close to shipping (try it by enabling devtools.aboutdebugging.new-enabled or going to about:debugging-new ). This new version allows you to debug Gecko in USB devices without launching WebIDE, amongst many other improvements.
    • If you test it and find bugs, pleasefile them here and we’ll take care of them.
  • RemovedShader, Web audio ,Canvas andshared components (see Intent to Unship for reference)

Lint

  • Ian Moody isrolling out the ESLint rule no-throw-literal across the tree.
    • This will help improve our error messages and handling.
  • Gijs is working on enabling at least basic ESLint parsing for XUL files .
  • ESlint is now enabled for docshell/ , uriloader/ , dom/browser-element/ and dom/url/
  • (Hopefully) landing soon:
    • ‘Automatic’ ESLint configuration for test directories .
    • Less .eslintrc.js files will be needed.
    • Directories where the path is of the following formats will be automatically configured and not need a .eslintrc.js file:
    • xpcshell:
      **/test*/unit*/**/test*/xpcshell/
    • browser-chrome mochitests: **/test*/**/browser/
    • plain mochitests: **/test*/mochitest/
    • chrome mochitests: **/test*/chrome/
    • I’m planning more follow-up work in the future to reorganise non-matching test directories to fit these structures where possible. Things like browser/base/content/test may get special exceptions.

Mobile

Firefox for Echo Show

Android Components

Password Manager

Performance

  • See Firefox Front-End Performance Update #15
  • Development of the new tab animations have been put on hold until UR comes back with information on whether or not users perceive them as faster / smoother
  • Start-up cache Telemetry tests seem to havedetected an issue with how we read from the cache when the QuantumBar is enabled
  • The warm-up service is getting close to being something we can test in a lab setting. We have a pref writing to the Windows Registry, and now need to add a special mode to Firefox where it starts, loads its critical DLLs, and then shuts down
  • The hidden window is now loaded lazily – this resulted in a 3% ts_paint win

Performance tools

  • Added “Build Type” and “Update Channel” information to header metadata panel.

  • Added a “PID” label under the global tracks.

  • Working on PII sanitization before sharing a profile. Will be ready within a couple of weeks.

Privacy/Security