Firefox Headlines (November 21st, 2017)

Johann Hofmann jhofmann at mozilla.com
Wed Nov 22 11:35:23 UTC 2017


Hello everyone,

The Firefox Desktop engineering team met yesterday, and we have prepared
another round of updates for your reading pleasure.

Thank you to Kit Cambridge, Mike Conley and Jared Wein for helping me
format these meeting notes.

Here we go:
Highlights

   -

      Too many New Tabs to contain
      <https://addons.mozilla.org/en-US/firefox/addon/multi-account-containers/>
      !
      -

   We turned on Pocket local personalization by default which takes the
   generic story feed and adjusts the ordering based on client-side
   computation of history / impressions
   -

   The Flash Click-to-Play UI has been restyled to match Photon styling
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1409148>! Landed for
   Firefox 58
   -

      Live demo <http://felipc.github.io/flashtest/>, specs demo
      <http://felipc.github.io/flashtest/fixedsizes.html>, before and after
      <https://bug1409148.bmoattachments.org/attachment.cgi?id=8920415>


   - The Test Pilot website is now Photonized! This was an intense sprint
   where we touched a huge percentage of the code, changing the styles and
   rearranging the directory structure of our react components so things are
   better componentized. The site was ready the day before the 57 launch, and
   it took a ton of effort from everybody.


   -

   High-speed scrolling in the tab strip
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1403563> is buttery smooth
   again!
   -

   Doug Thayer, while investigating reasons for slow migrations
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1332225>, largely improved
   the time needed to insert lots of visits at once
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1414892>. More
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1417266> fixes
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1418443> for migration
   performance incoming in the next weeks!

Friends of the Firefox team

   -

   Resolved bugs (excluding employees): https://mzl.la/2A1Fmaz
   -

      More than one bug fixed:
      -

         Aditya Bharti
         -

         Tim Nguyen :ntim
         -

         Tooru Fujisawa [:arai]
         -

      New contributors (🌟 = First Patch!)
      -

         🌟 86ecce74 helped us get rid of an unneeded XBL binding
         <https://bugzilla.mozilla.org/show_bug.cgi?id=1414020>! Great to
         see another binding bite the dust.
         <https://bgrins.github.io/xbl-analysis/>
         -

         🌟 QuanTakeuchi removed the unused mIconLoadingPricipal field
         <https://bugzilla.mozilla.org/show_bug.cgi?id=1415855>!

Project UpdatesAdd-ons

   -

   Fixed some <https://bugzilla.mozilla.org/show_bug.cgi?id=1411646> bugs
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1416872> with the
   browser.identity.launchWebAuthFlow API.
   -

   Fixed a crash with webRequest.filterResponseData
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1414549>.
   -

   The theme API now has support for colors.tab_text and
   colors.background_tab_text
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1415872> and can accept
   both Chrome arrays and CSS colors for all properties
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1415878>.
   -

   Custom context menus can now be added to bookmarks
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1370499>.
   -

   Extensions can now programmatically register content scripts
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1332273> from a background
   page.

Activity Stream

   -

   Running 2 experiments on release channel with 1% of new users and 2% of
   existing users getting old Tiles about:newtab.
   -

   Added tippy top rich icon service
   <https://github.com/mozilla/activity-stream/pull/3787> to show icons
   that are better quality but only advertised by the site to iOS devices
   (including twitch to avoid thumbnailing…)
   -

   Investigating background thumbnailing issues
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1417869> leading to twitch
   high CPU / MEDIA_ERR_SRC_NOT_SUPPORTED for youtube/twitch(/netflix?) for 57
   users
   -

   Preparing for 59 MIT-licensed React 16 update
   <https://github.com/mozilla/activity-stream/issues/3632> and other
   dependency greening

Browser Architecture
<https://mozilla.github.io/firefox-browser-architecture/>

   -

   Sync and storage team have completed a roadmap review, look for more
   details in our next newsletter.
   -

   XBL removal is proceeding. No more XBL bindings in mobile!
   -

      Are we XBL still! <https://bgrins.github.io/xbl-analysis/>

Firefox Core Engineering <https://wiki.mozilla.org/Firefox_Core_Engineering>

   -

   Support for CFI-based stackwalking has finally landed and stuck in 59
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1333126>. This affects
   only the minidump analyzer (and related tests) but will improve the quality
   of stacks especially for 64bit, and so we’re requesting uplift to 58 beta.
   -

   “Mozilla Firefox” -> “Firefox” rename riding on 58
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1415647>, assuming QA
   gives it a green.

Form Autofill <https://wiki.mozilla.org/Firefox/Features/Form_Autofill>

   -

   Credit card autofill is enabled by default on Fx58 beta 5, for users
   using en-US build and located in the US.
   -

   Ready to increase the availability of Address Autofill on Fx57 from 1%
   to 20%
   -

      Quantum release continues to get better! \o/
      -

   Implemented the credit card updating mechanism, including the door
   hanger and deduplication rules.
   -

   Fixed some site compatibility issues for credit card expiration dates.
   -

   Fixed bugs in the suggestion dropdown footer and preferences UIs.
   -

   Localization push: access keys in autofill doorhangers are now
   localized, implemented a parser of libaddressinput for knowing which
   address fields in preferences should be visible in different countries.
   -

   Refactored FormAutofillHandler to support multiple section mechanism.

PhotonStructure

   -

   Paolo updated the identity popup cert/security subview to the new photon
   styling <https://bugzilla.mozilla.org/show_bug.cgi?id=1409301>
   -

   Markus Stange worked around
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1400259> a layers/gfx
   issue the panel animations were running into just before the 57 release
   (woop!).
   -

   Jared & Gijs removed
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1410666> a bunch of dead
   code <https://bugzilla.mozilla.org/show_bug.cgi?id=1388029>.
   -

   Drew fixed an issue with disabling of page actions
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1413574>.

Animation

   -

   Sam is working on extracting/polishing some of the SVG utilities we
   bodged together for the SVG animation work. Includes some SVGO plugins.

Visuals

   -

   You can now <https://bugzilla.mozilla.org/show_bug.cgi?id=1299286> drag
   (selected) tabs and items in customize mode
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1299286> using touch.
   -

   Small finishing touches
   <https://bugzilla.mozilla.org/buglist.cgi?f10=OP&f1=OP&o7=greaterthan&list_id=13893667&f0=OP&f8=CP&j6=OR&resolution=FIXED&f13=CP&o2=substring&v7=2017-11-07&f9=CP&f4=CP&j11=OR&query_format=advanced&f12=cf_last_resolved&j1=OR&f3=CP&f2=status_whiteboard&v12=2017-11-21&f11=OP&bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&o12=lessthaneq&f5=OP&f14=CP&f6=OP&v2=photon-visual&f7=cf_last_resolved>
   .

Privacy/Security

   -

   The confirm repost prompt is no longer window modal
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1412559> as we start
   cracking down on window modal prompts to prevent DOS attacks.
   -

   Gijs fixed up clock skew warnings on the cert error pages
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1339329> so that they are
   only shown when we’re sure they’re correct.
   -

   We’ve started working on integrating haveibeenpwned.com warnings into
   Firefox, you can follow development here
   <https://github.com/nhnt11/BreachAlerts>.

Search and Navigation <https://wiki.mozilla.org/Firefox/Search>Address Bar
& Search

   -

   Investigating frequent intermittent failures in the omnibox WebExtension
   test <https://bugzilla.mozilla.org/show_bug.cgi?id=1415908> (there are
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1416103> more
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1416142>)
   -

   Removed the code to import old search engine settings
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1405670> from Firefox 44
   and before.

Places

   -

   Work continued on improving Places Async Transactions reliability
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1415522> and performance
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1413843>
   -

   Work continued on converting
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1402707> tests
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1415835> to the async
   Bookmarking APIs
   -

   Examined recent SUMO reports about bookmarks loss
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1417523>, identified
   various possible reasons to evaluate for our reliability project
   -

   Kit Cambridge is improving annotations and bookmarks performance by removing
   an annotations observer from the bookmarks service
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1417101>. (blocked on a
   static analysis problem)

Sync / Firefox Accounts

   -

   Edouard improved sync scheduling when we wake from sleep
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1416322>, reconnect to a flaky
   network <https://bugzilla.mozilla.org/show_bug.cgi?id=1416322> or a
   network behind a captive portal
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1416807>, and before sleep
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1416320>.
   -

   Edouard is also replacing Sync’s artisanal HTTP client
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1409534> with `fetch`.
   -

      You can now pass a `{ mozErrors: true }` option to `fetch
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1416842>` and `Request
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1419146>` in chrome
      code to access the underlying `nsresult` code if the request fails.
      -

   Thom fixed an issue
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1416313> where many sent
   tabs or bookmark repair responses would overflow the Sync client record
   size, causing all syncs for that client to permanently fail.
   -

   We’re working with Emily Toop from the Browser Architecture team on a
   prototype for new storage and sync.

Test Pilot <https://wiki.mozilla.org/Test_Pilot>

   -

   This sprint is focused on updating our dependencies which are very out
   of date, and cleaning up some old cruft.

Web Payments <https://wiki.mozilla.org/Firefox/Features/Web_Payments>

   -

   Made the dialog contents hackable from file: URIs for quick iteration
   -

   Implemented the first Custom Element (currency-amount)
   -

   Finishing up the store for dialog state that Custom Elements will listen
   to
   -

   Starting to implement the UX spec

Below the fold

   -

   Lint
   -

      Using the pre-push hooks should now work better in git-cinnibar
      repositories <https://bugzilla.mozilla.org/show_bug.cgi?id=1405588>.
      -

         Please install the hooks
         <https://firefox-source-docs.mozilla.org/tools/lint/usage.html#using-a-vcs-hook>
         if you haven’t already.
         -

         Working mozreview
         <https://bugzilla.mozilla.org/show_bug.cgi?id=1386351> support
         coming soon.
         -

      experimentalObjectRestSpread has been turned on in ESlint options - use
      Object Rest/Spread constructs
      <https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Object_initializer#Spread_properties>
      .
      -

      ESLint has been upgraded to v4
      <https://mail.mozilla.org/pipermail/firefox-dev/2017-November/005922.html>
      .
      -

      ESLint’s semi (semicolons required) rule
      <https://eslint.org/docs/rules/semi> is now enabled across the tree
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1367704>
      -

   Browser Architecture: We have two meetings in Austin you should attend
   if you’re interested.
   -

      Austin Y'all Hands 2017: Sync and Storage
      <https://austinyallhands2017.sched.com/event/CyOK/sync-and-storage>
      -

      Austin Y'all Hands 2017: XBL and XUL Removal
      <https://austinyallhands2017.sched.com/event/CyLC/xbl-and-xul-removal>
      -

   Join us for our elective in Austin for a retrospective of how we made
   Firefox faster, and discuss what we’ll do next: Photon Performance: How
   We Made Firefox Faster
   <https://austinyallhands2017.sched.com/event/CwGA/126-photon-performance-how-we-made-firefox-faster#>
   -

   Running mochitest-plain in headless mode is now supported on Windows,
   MacOS, and Linux. Use the “--headless” flag with “./mach test” to try it
   out.


This information, including all of the previous updates, are fully
available in this doc: https://docs.google.com/a/mozi
lla.com/document/d/1u9YH3ULNRYg6G-fN-Udkvfkcvg0alJfzi_zIAfFN
kL8/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,

Johann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/firefox-dev/attachments/20171122/013043d8/attachment-0001.html>


More information about the firefox-dev mailing list