Firefox Headlines (August 29th, 2018)

Mike Conley mconley at mozilla.com
Wed Aug 29 20:29:26 UTC 2018


Hello firefox-dev,

Yet another set of Firefox Headlines for you all to peruse! The Firefox
Desktop team met earlier this week, and here are the latest goings-on.
Enjoy!

Special thanks to Johann Hofmann who put these notes together with me.
Highlights

   -

   We added more of an explanation to the Symantec distrust cert errors
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1484246>.
   -

      [Screenshot]
      <https://screenshotscdn.firefoxusercontent.com/images/165ced48-0f87-48c6-bfc1-123db662ef8e.png>
      -

   Speaking of certificates, April King created an add-on for viewing
   security certificate details called Certainly Something
   <https://addons.mozilla.org/en-US/firefox/addon/certainly-something/>.
   Requires Firefox 62+, and now works on Firefox for Android!


   -

   The Activity Stream team just landed the first parts of the new CFR
   (Contextual Feature Recommender) system. Expect some UI tweaks over the
   next few weeks as the team iterates on feedback.
   -

      [Screenshot]
      <https://screenshotscdn.firefoxusercontent.com/images/98f2d18c-5260-4cf9-a3f1-973a03df6278.png>
      -

      [Screenshot]
      <https://screenshotscdn.firefoxusercontent.com/images/f712ffde-1c33-441f-927b-3868b915923e.png>
      -

      Full design spec
      <https://mozilla.invisionapp.com/share/YWLSGDZGUSF#/screens> - for
      the first iteration we will recommend useful add-ons
      -

   Thanks to nchevobbe and bgrins, we now have syntax highlighting
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1463669> in the Console
   for input and logged statements
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1463669>!
   -

      [Screenshot]
      <https://screenshotscdn.firefoxusercontent.com/images/75243df6-6db8-4d98-94ca-e3c4407586ed.png>

Friends of the Firefox team

   -

   Welcome DevTools to this meeting! DevTools contributors are now included
   in the lists below 🎉

Resolved bugs (excluding employees) <https://mzl.la/2MTn8AF>

   -

   Fixed more than one bug
   -

      Arshad Kazmi
      -

      Diego Pino
      -

      ExE Boss
      -

      Florens Verschelde
      -

      Sahil Bhosale
      -

      Thi Huynh
      -

   New contributors (🌟 = first patch)
   -

      🌟 Arshad Kazmi swapped out a promiseWaitForCondition with
      TestUtils.waitForCondition
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1443861>, and got rid
      of the unneeded BrowserOpenSyncTabs function
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1483073> in browser.js!
      -

      🌟 Christian Salinas got rid of an unnecessary fill rule
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1484904> in our Content
      Blocking CSS code!
      -

      🌟 Diego Pino got rid of an unneeded utility function in our search
      code <https://bugzilla.mozilla.org/show_bug.cgi?id=1482200>, and also
      made sure that the search service properly iterates elements in
       searchplugin XML
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1482230>!
      -

      🌟 Guangyu Song made the sidebar header text look much better
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1481091> on macOS!
      -

      🌟 Jennifer Wilde converted some of our DevTools code to use modern
      Promise semantics
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1482972>, rather than
      the “defer” model!
      -

      🌟 Sahil Bhosale added some ES6 default parameters
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1478855> to
      updateBrowserRemotenessByURL, and also got rid
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1481724> of some
      unneeded <https://bugzilla.mozilla.org/show_bug.cgi?id=1483813>
      styles!
      -

      🌟 Sriharsha also got rid of some unnecessary CSS rules!
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1484949>

Project UpdatesAdd-ons / Web Extensions

   -

   New (mozilla-only) WebExtension API for Telemetry
   <https://searchfox.org/mozilla-central/rev/55da592d85c2baf8d8818010c41d9738c97013d2/toolkit/components/extensions/schemas/telemetry.json#87>

Activity Stream

   -

   We added support for Remote Settings in Activity Stream Router
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1484039>
   -

      This offers us the possibility of pushing messages out of band to
      users (like we do with snippets)

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

   -

   Published the 7th XUL/XBL Replacement Newsletter
   <https://groups.google.com/d/msg/firefox-dev/Q19KiHk6VC4/Af7PCGIKAQAJ>.

Developer Tools

   -

   Thank you Florens Verschelde for making icons & alignment consistently
   styled in Console <https://bugzilla.mozilla.org/show_bug.cgi?id=1479750>
   -

      [Screenshot]
      <https://screenshotscdn.firefoxusercontent.com/images/f807d80c-c64a-4f2c-bdb4-992c66d4bdab.png>
      -

   :honza landed support in Network panel
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1333994> for marking
   resources that will be affected by content blocking.
   -

   :victoria called for UX contributors, and they came
   <https://twitter.com/violasong/status/1032740771764436992> to contribute
   designs <https://github.com/devtools-html/ux>!
   -

   First prefers-reduced-motion use to disable animation in devtools
   toolbox tabs <https://bugzilla.mozilla.org/show_bug.cgi?id=1480149> by
   :hiro & :mantaroh. Also used in Shadow DOM slot animation
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1460862> by :ladybenko.
   -

   :yulia wrote
   <https://blog.nightly.mozilla.org/2018/08/23/screenshots-from-the-console/>
   about about the new :screenshot command for console
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1464461> (Bonus: Eric
   Meyers did too
   <https://meyerweb.com/eric/thoughts/2018/08/24/firefoxs-screenshot-command-2018/>
   !)
   -

   :gl landed the new design for Responsive Design Mode (RDM)
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1467572>
   -

      New left-aligned viewport mode
      -

      Next: Updating device list & new manager interface
      -

   :jlast massively improved performance for opening the debugger
   <https://github.com/devtools-html/debugger.html/pull/6856>, and cutting
   out main thread impact when keeping it open in the background
   -

   :jimb fixed Open in Debugger
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1443923> link for Firefox
   frontend Custom Elements
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1473272>
   -

      [Animated GIF] <https://i.imgur.com/OWm5eeY.mp4>

Fluent <https://projectfluent.org/>

   -

   Work is continuing to implement document.l10n through webidl for UI pages
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1455649>. Patch is
   basically r+ but needs some changes to fix a performance regression before
   it can land.
   -

   A student project will be starting this week
   <http://www.capstone.cse.msu.edu/2018-08/projects/mozilla/> to migrate
   strings from dtd/properties to Fluent

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

   -

   As discussed on firefox-dev
   <https://mail.mozilla.org/pipermail/firefox-dev/2018-August/006749.html>,
   ESLint rule comma-dangle will be enabled on Friday (31st Aug) for browser/
   services/ taskcluster/ toolkit/
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1486739>, with commas
   being inserted where necessary (~1576 files). The rest will be enabled
   ahead of the 64 merges
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1486741>.

Performance

   -

   Harald
   -

      perf.html improvements:
      -

         Improved hiding-idle-threads landed based on category information
         <https://github.com/devtools-html/perf.html/pull/1218>, works
         better for Workers
         -

         Previews of WIP timeline features
         -

            Network track (preview
            <https://deploy-preview-1189--perf-html.netlify.com/public/70d85c3ff35a08d5f66217eec9b3dba659508647/network-chart/?globalTrackOrder=1-2-0-3-4&hiddenGlobalTracks=1-2&localTrackOrderByPid=27270-0-1-2-3-4~27273-0~51000-0~&thread=0&v=3>,
            pull request
            <https://github.com/devtools-html/perf.html/pull/1189>)
            -

            Screenshot track (preview
            <https://deploy-preview-1198--perf-html.netlify.com/public/62a6d6feb3d1d4fe6d0dd48d9ec4e1fb62a73998/calltree/?globalTrackOrder=0-1-2-3-4-5-6&hiddenGlobalTracks=3-4-5-6&localTrackOrderByPid=77399-0-1~79318-0~&range=13.6599_19.2571&thread=2&v=3>,
            pull request
            <https://github.com/devtools-html/perf.html/pull/1198>)
            -

            Sidebar for JIT optimizations (preview
            <https://deploy-preview-1202--perf-html.netlify.com/public/a0a0c25e3e896b8033ea165bf292c777ee59887f/calltree/?globalTrackOrder=0-1-2-3&hiddenGlobalTracks=0-1-2&hiddenLocalTracksByPid=12435-0-1-2~12437-0&implementation=js&localTrackOrderByPid=12435-0-1-2~12437-0~&range=5.1544_9.1862&thread=6&v=3>,
            pull request
            <https://github.com/devtools-html/perf.html/pull/1202>)
            -

   felipe
   -

      Has started research on implementing the Photon designs for tab
      opening <https://bugzilla.mozilla.org/show_bug.cgi?id=1355588> and
      closing <https://bugzilla.mozilla.org/show_bug.cgi?id=1355589>
      animations. This should move the animations off of the main thread, and
      onto the compositor, and should improve perceived performance in tab
      operations.
      -

   Gijs
   -

      Is making it so that the initial browser is inserted dynamically
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1486079>, which takes
      us a good chunk of the way towards avoiding the initial about:blank
      load when creating new windows
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1362774>
      -

      Browser adjustment research continues
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1480167> apace - a
      metabug has been filed.
      -

   mconley
   -

      Got writing metadata on downloaded files off of the main thread for
      macOS <https://bugzilla.mozilla.org/show_bug.cgi?id=1355346>
      -

      Is fiddling with re-organizing browser.xul so that the tabs and menu
      toolbars are inside the titlebar
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1356920>, in order to
      move as much of the layout work for tabs in titlebar into our
layout engine
      (and out of browser-tabsintitlebar.js where we’re flushing a bunch!)

Policy Engine

   -

   We will soon be prioritizing new policies.
   -

   Autoconfig Sandbox moved behind a pref for 63, no timeline for removal
   yet due to  Talos dependencies

Privacy/Security

   -

   Ehsan and Tanvi have been working
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1484312> on
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1484769> a new Content
   Blocking category that gives you more options for blocking third party
   cookies (such as only third party cookies from trackers).
   - [Screenshot]
      <https://screenshotscdn.firefoxusercontent.com/images/046d7363-b02e-4767-ba3c-bf70dd300c7a.png>


   -

   jkt has been digging deep into how we pass triggeringPrincipals
   (principals that are used to open websites) in the last months. The end
   goal is to avoid any implicitness in what principals we use and never fall
   back to system principal as default.
   -

      This means that you’ll see (and probably have already seen) a lot
      more “triggeringPrincipals” being required in your function calls.
      -

      A recent example: Bug 1362034 - Have addTab() provide the correct
      triggeringPrincipal
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1362034>
      -

      This bug is the final boss: Bug 1333030 - [meta] Assert
      nsDocShell::loadURIWithOptions receives a non null triggeringPrincipal
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1333030>

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

Address Bar & Search

   -

   Bug fixes:
   -

      Fixed tooltips of some Action Buttons
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1483167>
      -

      Fixed the url scheme box escaping the input box with invalid
      certificates <https://bugzilla.mozilla.org/show_bug.cgi?id=1483122>
      -

   Top Search feature from the New Tab Page:
   -

      keywords are now highlighted
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1480505>
      -

      Fixed empty Top Search queries
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1484067>
      -

   The follow-on system add-on has been removed
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1481442> (now part of the
   core code)
   -

   The Search from Address Bar Onboarding Study
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1462136> has been deployed
   to english locales (for now)

Places

   -

   Page annotations are now asynchronous and managed through the History API
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1468972>
   - Fixed a regression where the native menu bar bookmarks menu is not
   shown if there’s no browser window
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1484482>

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

   -

   Test Pilot server recently upgraded a ton
   <https://github.com/mozilla/testpilot/pull/3815> of old
   <https://github.com/mozilla/testpilot/pull/3816> dependencies
   <https://github.com/mozilla/testpilot/pull/3820>
   -

      Discovered that non-deterministic dependency resolution can be
      mitigated by only using exact dependency definitions in package.json (no
      carats), in addition to checking in our package-lock.json
      -

      Depcheck <https://www.npmjs.com/package/depcheck> was a useful tool
      for discovering unused and missing packages
      -

      Webpack 4 had many breaking changes for us, Les Orchard powered
      through those changes.
      -

      Flowtype updates forced us to fix a lot of our type definitions which
      exposed some bugs which were fixed in the process !!
      -

   Screenshots
   -

      Bootstrap removal continues; see this metabug on github
      <https://github.com/mozilla-services/screenshots/issues/3875>
      -

      Using the new Mozilla-only WebExtension Telemetry API
      <https://bugzil.la/1280234> to submit events to main ping
      <https://github.com/mozilla-services/screenshots/issues/3713>
      -

      Moved Page Action from Photon to WebExtension and back until 63
      branches, we discovered a few UI bugs late in the cycle (see these
      blockers) <https://bugzil.la/1466575>
      -

      UI redesign + FxA work continues on the server (see FxA bugs
      <https://github.com/mozilla-services/screenshots/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+FxA>
      on github)

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

   -

   Thanks to Prathiksha for finishing bug 1475760
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1475760> after her
   internship ended!
   -

   Completed
   -

      PaymentRequestService doesn't clear requests from closed documents
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1408234>
      -

      Address add/edit page error handling fixes
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1476345>
      -

      Fix scrollable area for the payment request page-body
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1483401>
      -

      Need to show in-field labels (small text and placeholder)
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1477100>
      -

      The standard shipping option (default) is “null” for the worldwide
      multi-option shipping without pre-selection
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1478029>
      -

      Form fields shouldn't be marked invalid immediately for an add form,
      only an edit form
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1483425>
      -

      paymentDetails attributes should default to an empty arrays
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1480872>
      -

      Payer/contact picker dropdown labels need to take @address-fields
      into account <https://bugzilla.mozilla.org/show_bug.cgi?id=1475760>
      -

      Figure out why add/edit form strings don't appear on Nightly builds
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1482220>
      -

      Perma TV dom/payments/test/test_currency_amount_validation.html |
      Currency of PaymentItem total should be 'USD', but got BOB.
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1483156>
      -

   In Progress
   -

      Bug 1477105 - Add a card network dropdown to the credit card add/edit
      screen <https://bugzilla.mozilla.org/show_bug.cgi?id=1477105>
      -

      Bug 1470207 - Finalize images for error screens
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1470207>
      -

      Bug 1480717 - Credit card form can be saved without a billing address
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1480717>
      -

      Bug 1472026 - Implement PaymentResponse.prototype.onpayerdetailchange
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1472026>
      -

      Bug 1483470 - Navigating during paymentRequest.show() crashes the
      parent process <https://bugzilla.mozilla.org/show_bug.cgi?id=1483470>
      -

      Bug 1435161 - Implement PaymentResponse.retry() method
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1435161>
      -

      Bug 1463545 - Replace grid layout of <rich-option> subclasses with
      new UI spec <https://bugzilla.mozilla.org/show_bug.cgi?id=1463545>

Below the fold

   -

   [MattN] page-break-after/page-break-before have new meaning in flexbox
   -

   [MattN] @media (prefers-reduced-motion) (
   https://css-tricks.com/introduction-reduced-motion-media-query/)
   -

   [johannh] Careful when using /g flags in regex
   https://stackoverflow.com/questions/1520800/why-does-a-regexp-with-global-flag-give-wrong-results
   -

      The RegExp object keeps track of the lastIndex
      <https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/RegExp/lastIndex>
      where a match occurred, so on subsequent matches it will start from the
      last used index, instead of 0.
      -

      If you don't want to manually reset lastIndex to 0 after every test,
      just remove the g flag.
      -

   [johannh] We have an amazing tool for viewing translations
   https://transvision.mozfr.org/
   -

   We’re in a soft code freeze until after the version bump to 64 on
   September 4th.
   -

   [bgrins] can you point me to any examples of xul flexbox and css flexbox
   interacting badly together? I have a couple
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1437302#c8> of examples
   <https://searchfox.org/mozilla-central/source/devtools/client/themes/inspector.css#137-144>
   but I know I’ve ran into this type of issue more often than that and am
   having trouble finding references.
   -

   nsISimpleEnumerator now works as a JS iterator!
   -

   Run `mach vcs-setup --update-only` regularly. Now with Git support!


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/20180829/4c407420/attachment-0001.html>


More information about the firefox-dev mailing list