browser/extensions/formautofill/test/browser/heuristics/browser_ignore_invisible_fields.js
0 → 100644
+114
−0
Loading
Bug 1833618 - P2. Replace checking hidden and display:none in formautofill visibility check with element.checkVisibility API r=credential-management-reviewers,sgalich This patch includes a preference setting that triggers the execution of element.checkVisibility only when a form contains fewer than 200 eligible address and credit card fields. This measure has been implemented to avoid potential performance impact that could occur due to the visibility check running on a large number of elements. Differential Revision: https://phabricator.services.mozilla.com/D178308