Firefox Headlines (August 15th, 2017)

Johann Hofmann jhofmann at mozilla.com
Wed Aug 16 09:31:13 UTC 2017


Hello everyone,

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

A big thank you to Kit Cambridge for helping me format these meeting notes.

Here we go:
Highlights

   -

   Prathiksha added site permission settings for Location, Camera,
   Microphone and replaced the old permission dialog for Notifications
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1381401> in
   about:preferences.

[image: Screen Shot 2017-08-15 at 16.48.20.png]

   -

   jkt has improved the WebExtensions contextualIdentities APIs
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1344519> to the point
   where the Test Pilot Containers experiment can run as a WebExtension.
   -

   Legacy extensions, including classic and Add-on SDK extensions, are
now disabled
   by default in Nightly
   <https://mail.mozilla.org/pipermail/firefox-dev/2017-August/005696.html>.
   -

   Contributor UK92 made it possible to customize the position of the
   back/forward and reload/stop buttons.
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1363485>
   -

   Felipe landed a patch that moves random timeouts to idle callbacks and
   got some solid performance improvements
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1388145#c104>.


   -

   Activity Stream is rolling out in 56 to 10% of users on en-US builds,
   geolocated in USA and Canada. Up next is shipping to more users in more
   locales, and rolling out Pocket recommendations in Germany.
   -

   The Page Action now has a Pocket
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1367927> item. Code for a
   screenshots item has landed in screenshots’ GitHub repo
   <https://github.com/mozilla-services/screenshots/pull/3239>. Items can
   now be added/removed from the context menu
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1363188>. Finally, the Report
   Site Issue button <https://bugzilla.mozilla.org/show_bug.cgi?id=1373650>
   has now also made its way into the page action menu for Nightly/DevEdition.

[image: Screen Shot 2017-08-15 at 17.50.24.png]

   -

   The main toolbar now has 2 flexible spaces
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1383009>, one on either
   side of the url/search bar(s). The library button has also replaced
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1383009> the bookmarks
   menu button in the default toolbar set.

Friends of the Firefox team

   -

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

      More than one bug fixed:
      -

         Alejandro Rodriguez Salamanca
         -

         Dan Banner
         -

         Hossain Al Ikram [:ikram] (QA Contact)
         -

         Masatoshi Kimura [:emk]
         -

         Michael Kohler [:mkohler]
         -

         Michael Smith [:mismith]
         -

         Richard Marti (:Paenglab)
         -

         Rob Wu [:robwu]
         -

         Tomislav Jovanovic :zombie
         -

         flyingrub
         -

      New contributors (🌟 = First Patch!)
      -

         ♥ Ami ♥ refactored
         <https://bugzilla.mozilla.org/show_bug.cgi?id=1388283>
         `_handleMessage` in `UpdateTopLevelContentWindowIDHelper.jsm`.
         -

         Luciano I cleaned up unused variables
         <https://bugzilla.mozilla.org/show_bug.cgi?id=1371746> in Sync
         code.

Project UpdatesAdd-ons

   -

   Numerous bugs on out-of-process webextensions
   <https://bugzilla.mozilla.org/showdependencytree.cgi?id=1190679> have
   been fixed.
   -

   kmag has fixed a bunch of webextension performance
   <https://bugzilla.mozilla.org/show_bug.cgi?id=webext-perf> issues.
   -

   Sending a message to a tab no longer instantiates lazy tabs
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1377734>.
   -

   The browsingData API can now clear local storage
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1355576>.
   -

   ntim has added toolbar colors
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1347182> and per-window
   themes <https://bugzilla.mozilla.org/show_bug.cgi?id=1342712> to the
   themes API.
   -

   Little fixes to webRequest
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1386533>, optional
   permissions <https://bugzilla.mozilla.org/show_bug.cgi?id=1385864>,
   downloads <https://bugzilla.mozilla.org/show_bug.cgi?id=1383262>,
   experiments <https://bugzilla.mozilla.org/show_bug.cgi?id=1382819>, hybrid
   extensions <https://bugzilla.mozilla.org/show_bug.cgi?id=1372750>.
   -

   rpl fixed several <https://bugzilla.mozilla.org/show_bug.cgi?id=1387026>
   bugs <https://bugzilla.mozilla.org/show_bug.cgi?id=1386786> with browser
   actions, page actions
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1384964>, and options
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1382572> on Android.

Activity Stream

   -

   Landed pref'ed off in 56 Beta, with localization, snippets, performance
   telemetry, and Pocket recommendations.
   -

   Up next
   -

      Adding “Recent Bookmarks” and “Recently Visited” to Highlights.
      -

      Adding custom sections
      <https://github.com/mozilla/newtab-content-extension> via a Web
      Extension.
      -

      More customization for Top Sites: Pin/Dismiss, Show More/Less,
      Add/Edit Top Site.
      -

      Creating a site summary pipeline (high-res page icons -> Tippytop ->
      Screenshot + Favicon).
      -

      Optimizing metadata queries and Tippytop Icon DB improvements.

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

   -

   Installer
   -

      Profile cleanup option
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1369255> has landed in
      the stub installer for 57. Users who are running the stub installer and
      have an older version of Firefox installed will be presented with the
      option to clean up their profile.
      -

   Updater
   -

      LZMA/SHA384 changes have landed as of 56 beta 3.
      -

   Quantum & Photon Performance pile-on:
   -

      Felipe Gomes, Kirk Steuber, Adam Gashlin, Perry Jiang, Doug Thayer,
      Robert Strong closed 16 bugs
      <https://bugzilla.mozilla.org/buglist.cgi?v4=agashlin%40mozilla.com&j_top=OR&o5=equals&f1=assigned_to&o3=equals&v6=robert.strong.bugs%40gmail.com&list_id=13728334&v3=felipc%40gmail.com&o1=equals&resolution=FIXED&o2=equals&o6=equals&status_whiteboard_type=regexp&f4=assigned_to&v5=dothayer%40mozilla.com&query_format=advanced&f3=assigned_to&f2=assigned_to&o4=equals&status_whiteboard=%28qf%3Ap1%7Cqf%3Ap2%7Creserve-photon-performance%29&bug_status=RESOLVED&bug_status=VERIFIED&f5=assigned_to&v1=jiangperry%40gmail.com&f6=assigned_to&v2=ksteuber%40mozilla.com>
      and are currently on 11 more bugs
      <https://bugzilla.mozilla.org/buglist.cgi?v4=agashlin%40mozilla.com&j_top=OR&o5=equals&f1=assigned_to&o3=equals&v6=robert.strong.bugs%40gmail.com&list_id=13728342&v3=felipc%40gmail.com&o1=equals&resolution=---&o2=equals&o6=equals&status_whiteboard_type=regexp&f4=assigned_to&v5=dothayer%40mozilla.com&query_format=advanced&f3=assigned_to&f2=assigned_to&o4=equals&status_whiteboard=%28qf%3Ap1%7Cqf%3Ap2%7Creserve-photon-performance%29&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&f5=assigned_to&v1=jiangperry%40gmail.com&f6=assigned_to&v2=ksteuber%40mozilla.com>
      .

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

   -

   Planning to enable address autofill (with sync) on beta in the next two
   weeks for en-US builds geolocated in the U.S.. Please file any issues you
   see.
   -

   Address sync is enabled on Nightly. Enable it in about:preferences#sync
   -

   Landed the following bugs:
   -

      Delay formautofill system add-on updates until the next restart
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1387611>
      -

      Exclude "united" string when applying "address-level1" regular
      expression <https://bugzilla.mozilla.org/show_bug.cgi?id=1358960>
      -

      [Form Autofill] Handle filling in country field select element
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1375382>
      -

      3.08% ts_paint_webext (windows7-32) regression on push
      347ea0d06092d7fcd6c34e2c7ade389b0b71ae31 (Mon Aug 7 2017)
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1388078>
      -

      [Form Autofill] Enable the feature based on locale and geoip
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1385196>
      -

      Unhide addresses sync engine by default
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1385179>
      -

      Cache the matching result of select elements so we don't need to
      calculate it every time when previewing and filling
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1382148>
      -

      [Form Autofill] Edit dialog should not show horizontal and vertical
      scroll bars <https://bugzilla.mozilla.org/show_bug.cgi?id=1385813>
      -

      [Form Autofill] Collect information on how many people enable credit
      card Autofill <https://bugzilla.mozilla.org/show_bug.cgi?id=1387004>
      -

      [Form Autofill] Warn users on credit card fields that are not secure
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1371149>
      -

      The active area of the "Enable Profile Autofill" checkbox should
      expand to full width.
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1382954>
      -

      [Form Autofill] Autofill Options and Autofill phishing are not
      visible (w/o scrolling) in autofill dropdown when 6+ profiles
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1383707>
      -

      Flip "dom.forms.autocomplete.formautofill" according to the
      availability of Form Autofill feature
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1386120>
      -

      Make dom.forms.autocomplete.formautofill reflect actually supported
      autocomplete tokens
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1387634>
      -

      Preserve Form Autofill profiles during a Firefox Refresh/Reset
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1371195>

PhotonStructure

   -

   We’ve migrated any additions you made to the old hamburger panel to the
   overflow panel <https://bugzilla.mozilla.org/show_bug.cgi?id=1354117>,
   and removed some of the old code as well as the photon structure pref.
   -

      There’s still a lot more to remove, see this bug
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1388029> if you have
      cycles to help.
      -

   Lots of polish fixes: https://mzl.la/2x15jUZ - highlights:
   -

      WebExtension icons for sidebars now show up in the sidebar header
      -

      Panel styling has been tightened up, some icons swapped out
      -

      Keyboard navigation in panels was improved
      -

      Some overly narrow panels are now wider

Animation

   -

   The new tab loading indicator
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1352119> got r+, we will
   work on landing it this week pending Talos runs
   -

   Consolidated our blue accent colors
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1373341> to make sure that
   the same color is used throughout our animations
   -

   The Save to Pocket animation
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1387077> was re-landed now
   that it runs in the page action area
   -

   The Pin to Overflow animation was tweaked to not move the arrow as far
   low <https://bugzilla.mozilla.org/show_bug.cgi?id=1380139>
   -

   Minor bugs
   -

      Fixed a bug with entering/exiting Customize Mode causing the
      stop/reload animation to stop working
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1389621>
      -

      The Windows 10 Start Tile will now update with the new icon upon
      Firefox update <https://bugzilla.mozilla.org/show_bug.cgi?id=1291331>.
      It previously only updated the icon for new installs.

Visuals

   -

   We’re mostly fixing bugs and polishing things
   <https://bugzilla.mozilla.org/buglist.cgi?status_whiteboard_type=allwordssubstr&chfieldto=Now&chfield=resolution&query_format=advanced&chfieldfrom=2017-08-08&chfieldvalue=FIXED&status_whiteboard=photon-visual&list_id=13729828>
   right now.
   -

   ntim updated the close icon style to match the Photon spec
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1385702>.

[image: Screen Shot 2017-08-15 at 16.52.19.png]

   -

   Contributor Michael Kohler renamed the compact themes to just “Dark” and
   “Light” <https://bugzilla.mozilla.org/show_bug.cgi?id=1366363> and removed
   all the MOZ_PHOTON_THEME ifdefs
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1366555> (phew!).
   -

   Johann added a UI migration for compact dark/light themes to enable
   compact mode <https://bugzilla.mozilla.org/show_bug.cgi?id=1384541>.
   -

   Dao removed the tab title centering on Mac
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1389008>, making it
   consistent with our tab titles on the other platforms.

Preferences

   -

   Continuing on visual refresh and update for 57
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1357306>. Please file bugs
   for visual styles in Preferences, Add-on Manager, other in-content pages,
   etc.


Privacy/Security

   -

   Prathiksha made it that we hide the permission section in the identity
   popup on pages that display chrome UI
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1373487> (on about: pages).

[image: Screen Shot 2017-08-15 at 16.40.32.png]
Sync / Firefox Accounts

   -

   We’re wrapping up iOS bidirectional sync
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1380056> work!
   -

   Form Autofill Address sync is now enabled on Nightly. Enable it in
   about:preferences#sync


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

   -

   All Test Pilot experiments are off the Add-on SDK now!
   -

   All Test Pilot add-ons are getting signed through a new signing pipeline
   (not AMO) to allow for non-WebExtensions in the future.
   -

   Planning to roll out Screenshots to Release in the next couple of weeks.

Web Payments

   -

   Landed:
   -

      Open and close a stub dialog when PaymentUIService's showPayment and
      abortPayment are called (respectively)
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1381186>
      -

      Moved to a remote frame for the dialog
      -

   In Progress:
   -

      Add "abort" button in WebPayments dialog
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1382388>
      -

      Show origin and total roughly similar to the UX specs
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1383300>


Below the foldGeneral Topics / Roundtable

(tips/tricks/FYI, productivity improvements, industry news)

   -

   (felipe) Three new locations to schedule jank-free initialization tasks,
   from bug 1388145 <https://bugzilla.mozilla.org/show_bug.cgi?id=1388145>:
   -

      nsBrowserGlue:  scheduleStartupIdleTasks
      -

      browser.js: schedulePerWindowIdleTasks
      -

      nsBrowserGlue: scheduleArbitrarilyLateIdleTasks


Form Autofill In Progress

   -

      [Form Autofill] Add probe for form autofill availability
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1386959>
      -

      Autofill misdetects extra fields on page
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1388203>
      -

      Duplicate addresses stored because of numeric state
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1388152>
      -

      Various bugs for credit card support

This week I learned

   -

   [mconley] Did you pass a non-primitive Object (even one that only has
   primitives) to a JSM, and that JSM is holding onto it? You might be
   leaking a window! <https://bugzilla.mozilla.org/show_bug.cgi?id=1387583>
   !!
   -

      Is there a way we can Lint this?


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_
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,

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


More information about the firefox-dev mailing list