gecko-dev/toolkit/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
..
docs Bug 1598971 - codespell: Fix typos in the doc r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,ato 2019-11-25 10:06:12 +00:00
secondscreen
sessionstore Bug 1623664 - Remove unused Utils.serializeInputStream, Utils.shallowCopy. r=mikedeboer 2020-03-20 14:31:44 +00:00
subprocess Bug 1622328 - add license info to all eslintrc files r=Standard8,webcompat-reviewers,miketaylr 2020-03-19 13:47:51 +00:00
tests Bug 1620185 - Remove usage of .openCollection() in other modules r=glasserc 2020-03-17 20:21:54 +00:00
third_party Bug 1623646 - Update Fathom to 3.3.0 to get element(). r=MattN 2020-03-19 21:05:41 +00:00
AboutPagesUtils.jsm
ActorChild.jsm
ActorManagerChild.jsm
ActorManagerParent.jsm Bug 1558520, rework remote controller to use JSWindowActor instead of having the browser have a controller, r=smaug 2020-03-12 16:47:57 +00:00
AppConstants.jsm Bug 1515451 Part 2 - Build update agent in-tree r=firefox-build-system-reviewers,mhowell,rstewart 2020-03-11 22:32:26 +00:00
AppMenuNotifications.jsm
AsyncPrefs.jsm Bug 1612091 - Add mobile callout to the ETP card. r=fluent-reviewers,johannh,flod 2020-02-27 22:01:34 +00:00
BinarySearch.jsm
BrowserUtils.jsm Bug 1623330 - Use BrowsingContext in BrowserUtils.getRootWindow() instead of nsIDocShellTreeItem::sameTypeRootTreeItem. r=mconley 2020-03-18 20:58:53 +00:00
CanonicalJSON.jsm
CertUtils.jsm
CharsetMenu.jsm Bug 1620556 - Automatic code fixes for Prettier 1.19.1 upgrade. r=Standard8,remote-protocol-reviewers,marionette-reviewers,webcompat-reviewers,perftest-reviewers,sparky,whimboo,denschub 2020-03-13 23:38:52 +00:00
Color.jsm
Console.jsm
ContentDOMReference.jsm Bug 1602898: Rename Window.getWindowGlobalChild() to .windowGlobalChild. r=farre 2020-01-21 21:32:28 +00:00
CreditCard.jsm
DateTimePickerPanel.jsm
DeferredTask.jsm Bug 1608281 - Automated rewrite away from reading properties on the global `this` in JSM files - round 1 r=mossop 2020-01-29 21:50:04 +00:00
Deprecated.jsm
E10SUtils.jsm Bug 1618445 - pt 6. Add some logging to shouldLoadUri r=mattwoodrow 2020-03-20 03:17:16 +00:00
EventEmitter.jsm
FileUtils.jsm
FindBarContent.jsm
Finder.jsm Bug 1623222 - Remove the charset parameter from nsITextToSubURI::UnEscapeURIForUI. r=hsivonen 2020-03-19 10:45:28 +00:00
FinderHighlighter.jsm Bug 1620556 - Automatic code fixes for Prettier 1.19.1 upgrade. r=Standard8,remote-protocol-reviewers,marionette-reviewers,webcompat-reviewers,perftest-reviewers,sparky,whimboo,denschub 2020-03-13 23:38:52 +00:00
FinderIterator.jsm Bug 1620218 - Automatic code fixes for Prettier 1.18.2 upgrade. r=mossop,webcompat-reviewers 2020-03-08 21:45:16 +00:00
FinderParent.jsm Bug 1620556 - Automatic code fixes for Prettier 1.19.1 upgrade. r=Standard8,remote-protocol-reviewers,marionette-reviewers,webcompat-reviewers,perftest-reviewers,sparky,whimboo,denschub 2020-03-13 23:38:52 +00:00
FirstStartup.jsm Bug 1608281 - Stop unintenionally reading a property off of the global `this` in FirstStartup r=rhelmer 2020-01-16 19:55:00 +00:00
FormLikeFactory.jsm
GMPExtractorWorker.js
GMPInstallManager.jsm Bug 1620242 - Basic implementation for HTTPS Only Mode. r=ckerschb,mixedpuppy 2020-03-17 19:24:31 +00:00
GMPUtils.jsm
Geometry.jsm
HiddenFrame.jsm Bug 1601093, Rename the remaining .xul files to .xhtml in toolkit/ r=marionette-reviewers,mossop,whimboo 2019-12-11 17:44:54 +00:00
Http.jsm
IgnoreLists.jsm Bug 1620185 - Remove usage of .openCollection() in other modules r=glasserc 2020-03-17 20:21:54 +00:00
IndexedDB.jsm
InlineSpellChecker.jsm
InlineSpellCheckerContent.jsm
Integration.jsm Bug 1608281 - Automated rewrite away from reading properties on the global `this` in JSM files - round 1 r=mossop 2020-01-29 21:50:04 +00:00
JSONFile.jsm
LightweightThemeConsumer.jsm Bug 1601664 - Increase toolbar_field_focus minimum opacity to 90%. r=mikedeboer 2019-12-05 21:07:33 +00:00
Log.jsm
NLP.jsm
NewTabUtils.jsm Bug 1617333 - Show appropriately-sized favicons in the Urlbar for Top Sites with history visits. r=mak,Mardak 2020-03-12 13:31:19 +00:00
ObjectUtils.jsm
PageMenu.jsm
PermissionsUtils.jsm
PopupNotifications.jsm Bug 1536728 - Reset anchorElement (icon) extraAttr when showing notification icons. r=MattN 2020-02-13 22:09:14 +00:00
Preferences.jsm
PrivateBrowsingUtils.jsm
ProfileAge.jsm
Promise-backend.js
Promise.jsm
PromiseMessage.jsm
PromiseUtils.jsm
PropertyListUtils.jsm
RemoteSecurityUI.jsm Bug 1599046 - P1. Remove ContentBlockingLog from the child r=timhuang,Ehsan 2020-01-27 10:39:41 +00:00
RemoteWebProgress.jsm Bug 1602581: Don't report errors for unimplemented WebProgressListener methods. r=Gijs 2019-12-09 21:46:50 +00:00
ResetProfile.jsm Bug 1601093, Rename the remaining .xul files to .xhtml in toolkit/ r=marionette-reviewers,mossop,whimboo 2019-12-11 17:44:54 +00:00
ResponsivenessMonitor.jsm
ServiceRequest.jsm
Services.jsm
ShortcutUtils.jsm
Sqlite.jsm Bug 1620218 - Automatic code fixes for Prettier 1.18.2 upgrade. r=mossop,webcompat-reviewers 2020-03-08 21:45:16 +00:00
Timer.jsm Bug 1608278 - Declare clearTimeout and clearInterval as locally scoped variables in Timer.jsm r=mconley 2020-01-16 20:07:18 +00:00
Troubleshoot.jsm Bug 1602819 - Expose desktop environment (e.g. GNOME, KDE) on Linux. r=jrmuizel,fluent-reviewers 2020-02-10 14:21:30 +00:00
UpdateUtils.jsm Bug 1615136 - Make the Update URL formatter more robust r=mhowell,bhearsum,mkaply 2020-03-05 17:44:44 +00:00
WebChannel.jsm Bug 1608281 - Automated rewrite away from reading properties on the global `this` in JSM files - round 1 r=mossop 2020-01-29 21:50:04 +00:00
WindowsRegistry.jsm
jar.mn Bug 1601093, Rename the remaining .xul files to .xhtml in toolkit/ r=marionette-reviewers,mossop,whimboo 2019-12-11 17:44:54 +00:00
moz.build Bug 1595244 - Use field labels and attributes to determine new-password field types r=MattN 2020-03-21 20:53:09 +00:00
offlineAppCache.jsm
win.xhtml Bug 1601093, Rename the remaining .xul files to .xhtml in toolkit/ r=marionette-reviewers,mossop,whimboo 2019-12-11 17:44:54 +00:00