gecko-dev/modules
Bianca Danforth be31af02f5 Bug 1595244 - Use field labels and attributes to determine new-password field types r=MattN
* Add a new module, NewPasswordModel.jsm, which imports the Fathom library from Bug 1618956, and copies over the Fathom model at [bff6995c32e86...](bff6995c32/new-password/rulesets.js (L6-L272)) into it.
  * This module is intended to make it as easy as possible to import model updates from the upstream GitHub repo, though there are a couple extra steps beyond a simple copy and paste.
* The module is imported into LoginAutoComplete.jsm, which has a new helper, _isProbablyANewPasswordField, which runs the model against the provided input element and returns true if the element's confidence score is greater than or equal to a threshold.
  * The confidence threshold, specified by the new signon.generation.confidenceThreshold string preference, is currently set to 0.5 based on [this comment](https://bugzilla.mozilla.org/show_bug.cgi?id=1595244#c12).
  * This should result in a dramatic reduction in false negative rates compared to the existing implementation of this feature (at the expense of an increase in the false positive rate of the existing feature from ~0% to hopefully around 2%).
  * Use of the model is gated behind the same preference used for the confidence threshold, signon.generation.confidenceThreshold.
    * This is a string pref that disables the model if its value is "-1". Otherwise, its value should be a string representation of a float [0,1] (e.g. "0.5") which indicates that the model should be enabled with the given confidence threshold.
    * Using the model is enabled by default on desktop but disabled by default on mobile (GeckoView) due to Bug 1618058.
* Fixed some existing tests that were broken as a result of this change.
* New test(s) will be added in a subsequent commit.

Differential Revision: https://phabricator.services.mozilla.com/D67068

--HG--
extra : moz-landing-system : lando
2020-03-21 20:53:09 +00:00
..
brotli
fdlibm Bug 1439659 - Make |MOZ_{LITTLE,BIG}_ENDIAN| into function macros so that invoking them inside |#if| conditions when they haven't been defined yet is a compile error. r=froydnj 2019-12-13 20:51:04 +00:00
freetype2 Bug 1562790 - Update to FreeType 2.10.1. r=jfkthame 2019-07-02 16:31:09 +00:00
libjar Bug 1616400 - Do not recreate the inner reader for nested omni.ja archives if the Omnijar already has it. r=aklotz 2020-03-06 20:35:53 +00:00
libmar Bug 1583854: Fix a build issue that prevented builds with the macOS 10.15 SDK from succeeding. Based on a patch by Pete Collins. r=mstange 2020-02-27 19:26:18 +00:00
libpref Bug 1595244 - Use field labels and attributes to determine new-password field types r=MattN 2020-03-21 20:53:09 +00:00
woff2
xz-embedded Bug 1609278 - Replace bugzilla product and component assignment 'Firefox for Android :: General' with 'GeckoView :: General'. r=kbrosnan DONTBUILD 2020-03-06 17:54:58 +00:00
zlib Bug 1574058 - Backout changeset c5acba2f11e0 (bug 1418425). r=froydnj 2019-08-15 13:17:39 +00:00
moz.build