Firefox Headlines (August 23rd, 2018)

Mike Conley mconley at mozilla.com
Thu Aug 23 13:59:33 UTC 2018


Hello firefox-dev,

Not long ago, the Firefox Desktop team gathered to share news about what's
been going on lately in the codebase. The notes from that meeting have been
boiled down for your enjoyment.

Thanks to Johann Hofmann, Kit Cambridge and Andrei Oprea who put these
notes together with me!

Highlights

   - Today is the last day for Outreachy interns and GSoC students. Thank
   you for all your contributions! 🎉
   -

   The Tracking Protection UI has been replaced with our new “Content
   Blocking” UI (almost) everywhere (Metabug
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1461743>). You can check
   it out in Nightly right now.
   -

      [Screenshot]
      <https://screenshotscdn.firefoxusercontent.com/images/bc3bdaf4-6a23-4f86-bf2c-bc7782a93293.png>
      - [Screenshot]
      <https://screenshotscdn.firefoxusercontent.com/images/19d70c3c-281c-4366-bbab-d07374b5b703.png>


   -

   A new special kind of Topsites: Search Topsites. They emphasize to the
   user the option to search directly from the location bar with different
   search providers. Based on browser locale, relevant search providers will
   be pinned in the topsites area. There is also an option to add more search
   providers or remove them.
   -

      [Screenshot]
      <https://screenshotscdn.firefoxusercontent.com/images/07dbb303-a3a0-4e1c-9038-2b8a64002bcc.png>
      -

      Clicking on a search topsite will pre-fill the location bar with the
      provider keyword and you can start searching!
      - [Screenshot]
         <https://screenshotscdn.firefoxusercontent.com/images/b6818cdf-dd1d-4400-9255-62510d1d70f3.png>


   -

   Tab warming has been enabled by default on macOS
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1481519>, and is scheduled
   to ride the trains in Firefox 63! (This already rode out to Linux and
   Windows in Firefox 61)
   -

   A few issues with the new
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1477015> storage backend
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1481607> for WebExtensions
   were fixed, and it has been enabled on Nightly
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1474562> by default! This
   should improve performance for WebExtensions that make heavy use of the
   storage API - like AdBlock Plus.
   -

   Thank you to Trisha Gupta for her great work on revamping the user
   experience on certificate error pages (including a brand new page just for
   system clock skew). You can try out the new error pages in Nightly and read
   more about her work in her post to firefox-dev
   <https://groups.google.com/forum/?fromgroups=&hl=en#!topic/firefox-dev/cWlIkmAXoUI>
   .
   - [Screenshot]
      <https://screenshotscdn.firefoxusercontent.com/images/34f71983-06f2-499e-a1b0-e0ba4a7b373a.png>


   -

   Thank you as well to Kanika Saini for all of her excellent work on the
   new about:policies page, which should be landing today in Nightly!
   - [Screenshot]
      <https://screenshotscdn.firefoxusercontent.com/images/6508dfc1-d207-43ac-9851-a7879c2f2ea4.png>
      -

   Advance Test Pilot experiment launched!
   -

      Check out the blog post
      <https://medium.com/firefox-test-pilot/advancing-the-web-f9fe7ca810ec> to
      read what that’s all about.

Friends of the Firefox teamResolved bugs (excluding employees)
<https://mzl.la/2ny69FQ>

   -

   Fixed more than one bug
   -

      Abdoulaye O. LY
      -

      Jorg K (GMT+2)
      -

      Thi Huynh
      -

   New contributors (🌟 = first patch)
   -

      🌟 Corentin Noël improved how Firefox integrates with the GNOME
      notification system
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1438051>
      -

      Siddhant got rid of the deprecated callback API
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1478267> to
      getShortcutOrURIAndPostData
      -

      🌟 Sahil Bhosale refactored some PanelMultiView code
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1481401> to use a
      simpler way of getting element bounds without flushing

Project UpdatesAdd-ons / Web Extensions

   -

   Some issues with browser_style and checkboxes
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1371951> were fixed.
   -

   WebExtension keyboard shortcut handlers
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1408129> and menu onclick
   handlers <https://bugzilla.mozilla.org/show_bug.cgi?id=1454627> can now
   call other methods that require user input.
   -

   The tabs.onHighlighted
   <https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/tabs/onHighlighted>
   event now handles multi-select tabs
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1474440>
   -

   Inadvertent restrictions on extension managed proxies have been removed
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1476570>.

Fluent <https://projectfluent.org/>

   -

   Fluent now manages directionality of documents
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1480798>
   -

   Fluent has been updated to 0.6
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1480881>
   -

   Fluent 0.7 is in the second RFC Phase
   <https://discourse.mozilla.org/c/fluent>
   -

   Get ready for an increased rate of migration from September

Lint <https://firefox-source-docs.mozilla.org/tools/lint/index.html>

   -

   ESLint has now been upgraded to 5.3.0
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1456078>
   -

   ESLint has been enabled for dom/presentation
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1475004>

Mobile

   -

   Focus iOS launched 7.0 to our TestFlight beta testers last week

Performance

   -

   felipe
   -

      Finished Bug 1369466 - RemotePageManager
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1369466#c78>
      lazy-fication work!
      -

         3.5% cpstartup win, 1% memory (Base Content JS)
         -

      Landed Bug 1470324
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1470324> Don’t load
      EnterprisePolicies in the content process until a policy is checked
      -

   florian
   -

      Improved tab reordering performance
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1260036> by avoiding
      lots of style flushes when moving tabs with the keyboard!
      -

   Gijs
   -

      Landed a patch to avoid loading WebContentConverter.js too early
      during startup! <https://bugzilla.mozilla.org/show_bug.cgi?id=1369443>
      -

      Got rid of a place
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1358443> where we
      synchronously flush layout in the AwesomeBar dropdown
      -

         We expect, however, that this mostly moves the cost of the flushes
         to the horizontal overflow flushes.
         -

      Continuing work on removing about:blank loads
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1362774> for new
      windows etc.

Policy Engine

   -

   Policy uplifts to ESR 60.2 have finished and are now being verified by QA
   -

   Kanika Saini’s Outreachy internship last day is today
   -

      She worked on 19 bugs, from policy improvements, new policies and
      a=the brand new about:policies page
      -

      Big thanks to Kanika for her work on these past 3 months! 🎉🎉

Privacy/Security

   -

   After doing a Shield study we’re landing Firefox Monitor as a system
   add-on in m-c. You can find the Firefox Monitor metabug here
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1478521>.

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

   -

   Matt Brubeck fixed a regression where ‘http://x’ would incorrectly load
   a search bookmark with keyword ‘x’
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1481319>
   -

   Thi Huynh replaced this.DOMWindowUtils with window.windowUtils in
   urlbarBindings.xml <https://bugzilla.mozilla.org/show_bug.cgi?id=1480970>
   -

   Fixed a regression where rtl based text could overlay itself in the
   urlbar <https://bugzilla.mozilla.org/show_bug.cgi?id=1480355>

Places

   -

   Lina added a maintenance task to clean up duplicate URLs
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1478265>.
   -

   Annotations Feature Removal:
   -

      Removed nsIDownloadHistory
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1468980> (replaced by
      an option to PlacesUtils.history.update to add annotations).
      -

      PlacesUtils.setCharsetForURI has been replaced and a new function
      implemented which also avoids main thread sync io.
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1479722>
      -

      Removed more page annotation
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1479053> related
      functions from nsIAnnotationService
      -

      Removed nsIAnnotationObserver
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1479764> as it is no
      longer necessary
      -

   Removed PlacesUtils.mobileFolderId
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1481445> (all
   PlacesUtils.*FolderIds will likely be removed eventually).

Other

   -

   Dan Banner updated the favicons for the default bookmarks in Nightly
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1450923>
   -

   The QuantumBar meta bug
   <https://bugzilla.mozilla.org/show_bug.cgi?id=quantumbar> has been
   opened to track work on re-building the AwesomeBar dropdown panel to be
   more performant and useful

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

   -

   Screenshots
   -

      Bootstrap removal work is a Q3 goal (1422437
      <https://bugzil.la/1422437>)
      -

   Send Intern Emily Hou is done with her internship. She did a fabulous
   job working on the Send 2.0 update.

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

   -

   Completed
   -

      Added branding to the dialog <https://bugzil.la/1478175>, generic
      <https://bugzil.la/1477699> and merchant-supplied error
messages, and simple
      validation <https://bugzil.la/1476348>.
      -

      Checkbox for "Save credit card to Firefox" should be unchecked by
      default
      -

      Improvements to the required field asterisks
      -

   In Progress
   -

      Adding a card network dropdown
      -

      Working on nicer add/edit forms and improved error handling
      -

      DOM fixes thanks to Eden who has been re-hired!

Below the fold

   -

   [dmose] please install NodeJS using mach
   <https://groups.google.com/d/msg/mozilla.dev.platform/nNS961NjbVk/D1QmlNWuCAAJ>;
   it will be required by default on Thurs, Aug 17th
   -

   [mconley] You can get at nsIDOMWindowUtils directly in privileged scopes
   now via window.windowUtils
   -

   [mconley] The way that we communicate with the content processes is
   changing
   <https://mail.mozilla.org/pipermail/firefox-dev/2018-August/006719.html>
   - we’re starting to shift away
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1472491> from frame
   scripts towards an “IPC Actor” model. This is likely to land soonish.
   -

   [mconley] Reminder: Services.ppmm.sharedData is a great, light-weight
   way for the parent to share information with content processes (both
   existing processes, and future processes)
   -

   [jaws] ntim is finishing up his internship and will have his internship
   presentation next week on Tuesday August 21st from 2:15-2:30 PM Mountain
   View Time.
   -

   [jaws] Abdoulaye is finishing up his
   -

   [jaws] New Capstone project will be starting soon, migrating our UI from
   DTD/properties to Fluent. Project will run from first week of September to
   mid-December. Jared and Gijs will be mentoring, with help from Zibi and
   mconley.
   -

   [bgrins] For JS running in browser.xul, please use
   children/firstElementChild/lastElementChild instead of
   childNodes/firstChild/lastChild if you expect to receive elements
back (firefox-dev
   post
   <https://groups.google.com/d/msg/firefox-dev/JYVhqwhjy2A/evbteb1pDgAJ>)
   -

   [mconley] Florian discovered that accessing a hidden DOM node from JS in
   a XUL window is very expensive because it forces layout to do expensive
   style computations to check if an XBL binding needs to be attached
   synchronously. Example
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1478999> of bugs
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1478675>.
   -

      This might also be true for CustomElements. :/
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1478999>



This information, including all of the previous updates, are fully
available in this doc:
https://docs.google.com/a/mozilla.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,


-Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/firefox-dev/attachments/20180823/534d7e25/attachment-0001.html>


More information about the firefox-dev mailing list