We have seen in some cases, a field is not visible but should still autofillable (state field in Bug 1835852, expiry month/year in Bug 1845321). Maybe we should use "isFocusable" instead of "isVisible"? If this is the right thing to do, can we use `elementIsFocusable`[1]? [1] https://searchfox.org/mozilla-central/rev/e4d8451468be3a0f8a9faa3d37cadf07200821ec/dom/interfaces/base/nsIFocusManager.idl#171
Bug 1847687 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
We have seen in some cases, a field is not visible but should still be autofilled (state field in Bug 1835852, expiry month/year in Bug 1845321). Maybe we should use "isFocusable" instead of "isVisible"? If this is the right thing to do, can we use `elementIsFocusable`[1]? [1] https://searchfox.org/mozilla-central/rev/e4d8451468be3a0f8a9faa3d37cadf07200821ec/dom/interfaces/base/nsIFocusManager.idl#171