Firefox/Meeting/09-May-2017: Difference between revisions

Add notes
(Add little note.)
 
(Add notes)
 
Line 1: Line 1:
To be filled in.
= Actions from last meeting =
* Select a new meeting leader for May 23rd meeting.
* Today’s meeting leader is: '''Tim Spurway'''
* Next meeting leader is: '''mconley'''
 
= General Topics / Roundtable =
 
(tips/tricks/FYI, productivity improvements, industry news)
* [mconley] [https://prepack.io/ ''https://prepack.io/''] ← a tool from Facebook that does JS optimizations, with an emphasis on runtime performance. Might be worth keeping an eye on this.
 
= Friends of the Firefox team =
(Give a shoutout/thanks to people for helping fix and test bugs. Introductions)
* [MattN] Welcome to intern JonathanGB who will be working on form history improvements. He landed his first patch on day 1!
* Resolved bugs (excluding employees): [https://mzl.la/2q0LGdq ''https://mzl.la/2q0LGdq'']
** More than one bug fixed:
*** Avikalpa Kundu [:kalpa]
*** Dan Banner
*** Kevin Jones
** New contributors (🌟 = First Patch!)
*** 🌟 Ashhar Hasan [https://bugzilla.mozilla.org/show_bug.cgi?id=234973 ''made it so that the password manager list doesn’t send you back to the top''] after a password is removed (13 year-old bug!)
 
= Project Updates =
 
== Add-ons ==
* About:addons now has a legacy tag to show when an extension '''is not''' a WebExtension
* Addons.mozilla.org now specifically tags WebExtensions as compatible on Firefox 57
* The WebExtensions API browser.sessions.restore [https://bugzilla.mozilla.org/show_bug.cgi?id=1359806 ''will now return an object instead of an array''].
* Quite a few performance fixes including: [https://bugzilla.mozilla.org/show_bug.cgi?id=1362225 ''localized message generation''], [https://bugzilla.mozilla.org/show_bug.cgi?id=1356828 ''stop calling getAddonById or getAddonList at startup''], [https://bugzilla.mozilla.org/show_bug.cgi?id=1359653 ''compiling scripts in a background thread'']
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1336908 ''browser.management.getAll and setEnabled for themes'']
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1330741 ''About:debugging for addons now shows the filesystem of the add-on'']
 
== Activity Stream ==
* Get Activity Stream ([https://s3.amazonaws.com/moz-activity-streams-dev/dist/latest.html ''Dev channel''])
* Pocket in Activity Stream experiment launched (Test Pilot version)
* Activity Stream is landing in nightly and is available behind pref (browser.newtabpage.activity-stream.enabled)
 
== Electrolysis (e10s) ==
* gabor [https://bugzilla.mozilla.org/show_bug.cgi?id=1341008 ''turned on the pre-allocated process manager''], which should improve the perceived performance of opening tabs and windows in new processes
* mconley is currently [https://bugzilla.mozilla.org/show_bug.cgi?id=1362866 ''fixing a regression''] in the tab switch spinner metric
* e10s-multi A/B test is currently underway on Beta
* e10s-a11y support still targeted for Firefox 55
 
==[https://wiki.mozilla.org/Firefox_Core_Engineering Firefox Core Engineering]==
* Shield Study defaulting to click-to-play (Plugin Safety) has begun on Release 53 and will run through June 15.
 
==[https://wiki.mozilla.org/Firefox/Features/Form_Autofill Form Autofill]==
* Productive Sync Team Work Week in MTV two weeks ago. Sync is on schedule to ship with our MVP this year.
* Resolved
** [https://bugzilla.mozilla.org/show_bug.cgi?id=1361244 ''[Form Autofill] Add a new pseudo class for preview which > highlight and change text color of form > elements.'']
** [https://bugzilla.mozilla.org/show_bug.cgi?id=1360374 ''Apply the field prediction heuristics for the elements added > after > DOMContentLoaded'']
** [https://bugzilla.mozilla.org/show_bug.cgi?id=1362911 ''[Form Autofill] Rename "profiles" to "addresses" in the > storage'']
** [https://bugzilla.mozilla.org/show_bug.cgi?id=1362584 ''Add autofill name fields to the management/preferences > UI'']
** [https://bugzilla.mozilla.org/show_bug.cgi?id=1362583 ''[Form Autofill] Autofill preferences should appear before > the master password > ones'']
** [https://bugzilla.mozilla.org/show_bug.cgi?id=1359696 ''[Form Autofill] Move form autofill preference to Forms & > Passwords > group'']
** [https://bugzilla.mozilla.org/show_bug.cgi?id=1325538 ''Add mochitest for form autofill > feature'']
** [https://bugzilla.mozilla.org/show_bug.cgi?id=1349489 ''Implement the test fixtures for the top 12 web > sites.'']
** [https://bugzilla.mozilla.org/show_bug.cgi?id=1359892 ''[Form Autofill] Support full-name > fields'']
** [https://bugzilla.mozilla.org/show_bug.cgi?id=1358943 ''[Form Autofill] Support "address-line*" > fields'']
** [https://bugzilla.mozilla.org/show_bug.cgi?id=1348751 ''[Form Autofill] A utility library for handling full name and > separated > names'']
** [https://bugzilla.mozilla.org/show_bug.cgi?id=1334037 ''[Form Autofill] Support name fields in > profiles'']
** [https://bugzilla.mozilla.org/show_bug.cgi?id=1352325 ''[Form Autofill] Profiles in the manage dialog should sort by > last > modified'']
* In Progress
** [https://bugzilla.mozilla.org/show_bug.cgi?id=990219 ''[Form Autofill] Auto-create new profiles based off submitted > form > data'']
** [https://bugzilla.mozilla.org/show_bug.cgi?id=1349490 ''Implement the first version of heuristic > algorithm.'']
** [https://bugzilla.mozilla.org/show_bug.cgi?id=1361560 ''Enable Form Autofill by default on > Nightly'']
** [https://bugzilla.mozilla.org/show_bug.cgi?id=1362937 ''[Form Autofill] autofill's autocomplete popup filtering is > broken'']
** [https://bugzilla.mozilla.org/show_bug.cgi?id=1341569 ''[Form Autofill] Collect information on how much time users > spent on page with forms (w/wo form > autofill)'']
** [https://bugzilla.mozilla.org/show_bug.cgi?id=1362290 ''Support non-experimental autocomplete > perf'']
** [https://bugzilla.mozilla.org/show_bug.cgi?id=556743 ''Implement the labels > attribute'']
** [https://bugzilla.mozilla.org/show_bug.cgi?id=1340477 ''Support feature detection on autocomplete > attribute'']
** [https://bugzilla.mozilla.org/show_bug.cgi?id=1359978 ''[Form Autofill] Implement the credit-card > storage'']
** [https://bugzilla.mozilla.org/show_bug.cgi?id=1360370 ''Field Prediction Heuristics for select > element.'']
** [https://bugzilla.mozilla.org/show_bug.cgi?id=990199 ''[Form Autofill] Collect information on how many people > opt-out of Form > Autofill'']
 
== Go Faster ==
* There’s an [https://github.com/mozilla/example-addon-repo/ ''example add-on repository''] that is intended to provide example integrations for legacy system-addons based in github. This includes taskcluster integration for unit tests. More testing functionality, e.g. mochitests, probably coming soon.
** This was originally based on ideas from Hello.
* There is also an [https://github.com/Standard8/example-webextension ''example web-extension repository''] that was based on that idea, but is intended as a more general add-on developer repo that can be used outside the Mozilla circle, e.g. doesn’t use taskcluster. More [https://blog.mozilla.org/standard8/2016/11/11/webextensions-an-example-add-on-repository-with-test-harnesses/ ''info here''].
 
== Lint ==
* We now [https://blog.mozilla.org/standard8/2017/05/04/running-eslint-on-commit-for-mozilla-central-git-mercurial/ ''have a git hook for ESLint''] (as well as the existing Mercurial hook).
* ESLint now uses file differences to work out if a setup is needed due to eslint-plugin-mozilla changes - we no longer need to bump the package.json version number each time.
* Work continues on spreading [https://bugzilla.mozilla.org/show_bug.cgi?id=1360166 ''mozilla/recommended across the whole tree'']
** Accessibility, services, tools & taskcluster are now covered
* Geoff Brown is working to [https://bugzilla.mozilla.org/show_bug.cgi?id=1357557 ''enable ESLint across more test files'']
** mobile/android/ and caps/ just landed
* Frederik Braun has enabled [https://bugzilla.mozilla.org/show_bug.cgi?id=1359350 ''no-eval across the tree''], but with follow-ups to be filed to fix existing instances.
 
== Photon ==
 
=== Performance ===
 
* [mconley] Published [https://developer.mozilla.org/en-US/Firefox/Performance_best_practices_for_Firefox_fe_engineers ''Performance best practices for Firefox front-end engineers''] 🔥
* We are working on deterministic perf tests for sync reflows and files loaded too early during startup
** Sync layout and style flush tests will be in > browser/base/content/test/performance. When these become > available, make sure to run these when you add Photon-y > things!
* Expect big patches to land to stop using Task.jsm in browser/ and toolkit/, and stop using the non standard Promise.defer from promise.jsm
** If you have WIP patches for these folders, consider landing them > soon to avoid bitrot.
 
=== Structure ===
* No updates.
 
=== Animation ===
* Looks like we now have SVG sprites for the various animations, will begin putting the animations in to the browser
* Jaws landed code to [https://bugzilla.mozilla.org/show_bug.cgi?id=1355507 ''transition the selected tab to its destination when reordering tabs'']
* The old download indicator - the seconds countdown and progressbar in the toolbar - was kept around when the new arrow-style indicator landed. [https://bugzilla.mozilla.org/show_bug.cgi?id=1329109 ''It is now gone''] as we prepare for photon changes.
 
=== Visuals ===
* Nihanth [https://bugzilla.mozilla.org/show_bug.cgi?id=1347543 ''changed all our toolbar button icons to use SVGs'']! 🎉🎉🎉🎉
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1352364 ''Johann shared our toolbarbutton code between platforms''] and we had a bit of fallout to fix
* Johann [https://bugzilla.mozilla.org/show_bug.cgi?id=1256754 incr][https://bugzilla.mozilla.org/show_bug.cgi?id=1256754 e][https://bugzilla.mozilla.org/show_bug.cgi?id=1256754 ased the spacing of context menu items] when accessed through touch.
* Dao [https://bugzilla.mozilla.org/show_bug.cgi?id=1361986 ''refreshed the about:privatebrowsing design''] for Photon
* Dao [https://bugzilla.mozilla.org/show_bug.cgi?id=1362083 ''updated our toolbarbuttons to be 16x16 px instead of 18x18'']
 
=== Onboarding ===
* [Fischer] We checked out the onboarding overlay prototype with the team members. And have a discussion with Activity-Stream team on how to integrate our onboarding overlay into Activity-Stream as well as how to communicate between the tour notification bar and the snippet using the pref. Then we are targeting to sort out how to approach the bug 1054947, bug 1361286 and more about the onboarding overlay as a System addon.
* [Rex]
** Scenario for onboarding overlay after sync account login: we > decided the behavior after user successfully logged in.
** Prototype for making onboarding overlay as a system add-on and > find out issues that need to be discussed further.
* [Fred] We checked out the automigration UX spec with UX and also the activity stream engineer.
** Figured out how to communicate with AutoMigrate moduels by > messaging.
** The actual implementation place is in discussion.
** Prototype based on the newtab page is on the way.
 
=== Preferences ===
* [timdream] Photon work week! We’ll have the scope of the Photon Preferences project finalized this week. The scope includes follow-up and ship preferences re-org, search, and updates visual design and content (graphics and wording). Check out [https://wiki.mozilla.org/Photon_Preference_Dashboard ''https://wiki.mozilla.org/Photon_Preference_Dashboard''] and please file bugs under meta bugs.
 
== Platform Audibles ==
* No updates.
 
== Privacy/Security ==
* jkt is looking into rewriting containers to use WebExtensions instead of the Addon SDK
* Our three Outreachy interns for May 30 - August 30 were announced last week:
** Prathiksha G - Site Permission Management UI 🎉
** Princiya Marina Sequeira & Bianca Danforth - Upgrade Lightbeam 🎉
 
== Project Mortar (PDFium) ==
* The team is still working on landing [https://bugzilla.mozilla.org/show_bug.cgi?id=1345330 ''the HUGE patches''] of Chromium PDFium source code into m-c.
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1329881 ''PDF printing''] integration is ongoing.
* [https://bugzilla.mozilla.org/show_bug.cgi?id=558184 ''JSPlugin architecture''] is broken by lately m-c changes, Peterv is fixing.
 
== [https://wiki.mozilla.org/Firefox/Search Search] ==
* A [https://bugzilla.mozilla.org/show_bug.cgi?id=1359118 ''new''] SHIELD study for unifying the search and location bars went live.
* The awesomebar now prefers https to http more [https://bugzilla.mozilla.org/show_bug.cgi?id=1341350 ''often''] than before.
* Some [https://bugzilla.mozilla.org/show_bug.cgi?id=1359887 ''Places''], [https://bugzilla.mozilla.org/show_bug.cgi?id=1343256 ''bookmarks''] and [https://bugzilla.mozilla.org/show_bug.cgi?id=1356641 ''one-off''] [https://bugzilla.mozilla.org/show_bug.cgi?id=1359278 ''search''] fixes.
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1360477 ''Some''] [https://bugzilla.mozilla.org/show_bug.cgi?id=1359456 ''followups''] [https://bugzilla.mozilla.org/show_bug.cgi?id=1360279 ''around''] [https://bugzilla.mozilla.org/show_bug.cgi?id=1360279 ''hi-res''] favicons.
 
== Sync / Firefox Accounts ==
* Form autofill sync engine on track to land along with autofill profiles. The teams had a productive work week in Mountain View last week, resolved tricky opt-in UX issues, and started prototyping the engine.
* :eoger refactored the Sync UI code, resulting in some impressive Talos improvements: [https://bugzilla.mozilla.org/show_bug.cgi?id=1353571#c69 ''https://bugzilla.mozilla.org/show_bug.cgi?id=1353571#c69'']
* Modernizing the codebase with async functions: [https://bugzilla.mozilla.org/show_bug.cgi?id=1210296 ''https://bugzilla.mozilla.org/show_bug.cgi?id=1210296''] This should eventually get unrelated Sync code out of profiler stacks.
 
== [https://wiki.mozilla.org/Test_Pilot Test Pilot] ==
* Screenshots in 54: some final perf issues with Talos tests ([https://bugzilla.mozilla.org/show_bug.cgi?id=1361792 ''https://bugzil.la/1361792'']) and some work still remaining to get tests working ([https://bugzil.la/1355569 ''https://bugzil.la/1355569''])
** Special thanks to Mark Banner and Kris Maglione for their help.
* Addon SDK deprecation: working to graduate experiments or migrate to WebExtensions before 57
* News Feed coming to the Test Pilot website soon: [https://mozilla.invisionapp.com/share/3SBLDS9Z4#/screens ''https://mozilla.invisionapp.com/share/3SBLDS9Z4#/screens'']
* MacOS hackers: help needed with a Min Vid windowing bug (player doesn’t always stay always-on-top): [https://github.com/meandavejustice/min-vid/issues/619 ''https://github.com/meandavejustice/min-vid/issues/619'']
 
== This week I learned ==
* [kit] `nsIConverterInputStream` reads 8192 bytes at a time, even if you pass a larger count to `readString`. Make sure to read the decoded output in a loop: [https://bugzilla.mozilla.org/show_bug.cgi?id=1362099 ''https://bugzilla.mozilla.org/show_bug.cgi?id=1362099'']
* [mconley] We should strive to batch all DOM writes into requestAnimationFrame where possible. This helps us to avoid sync style / layout flushes in event handlers.
Confirmed users, Bureaucrats and Sysops emeriti
998

edits