STR: 1. In a clean profile in Firefox 80, go to https://www.virustotal.com/gui/sign-in 2. Enter a single character into the password field Actual results: There is no dismissed login capture doorhanger Expected results: There is a dismissed login capture doorhanger Attached are the logs. Additional notes: * This page is a Case 1 example for the Meta Bug 1629226 Shadow DOM work; see the Description for that bug for how different Shadow DOM cases are defined. * Initial debugging indicates that, while the `"DOMContentLoaded"` listener is added in `_processDOMInputPasswordAddedEvent`, it never fires, so the `"input"` event listeners are never added[2] before the password field is edited. * Since we don't receive the `"input"` event in LoginManagerChild.jsm, we never call `_passwordEditedOrGenerated`, and the dismissed login capture doorhanger does not show. The question to answer here is: **Why doesn't the `"DOMContentLoaded"` event fire?** There are no `<iframe>`s on the page (based on a search in the Inspector DevTools page). [1]: https://searchfox.org/mozilla-central/rev/82c04b9cad5b98bdf682bd477f2b1e3071b004ad/toolkit/components/passwordmgr/LoginManagerChild.jsm#874-883 [2]: https://searchfox.org/mozilla-central/rev/82c04b9cad5b98bdf682bd477f2b1e3071b004ad/toolkit/components/passwordmgr/LoginManagerChild.jsm#900
Bug 1653138 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.
STR: 1. In a clean profile in Firefox 80, go to https://www.virustotal.com/gui/sign-in 2. Enter a single character into the password field Actual results: There is no dismissed login capture doorhanger Expected results: There is a dismissed login capture doorhanger Attached are the logs. Additional notes: * This page is a Case 1 example for the Meta Bug 1629226 Shadow DOM work; see the Description for that bug for how different Shadow DOM cases are defined. * Initial debugging indicates that, while the `"DOMContentLoaded"` listener is added in `_processDOMInputPasswordAddedEvent`[1], it never fires, so the `"input"` event listeners are never added[2] before the password field is edited. * Since we don't receive the `"input"` event in LoginManagerChild.jsm, we never call `_passwordEditedOrGenerated`, and the dismissed login capture doorhanger does not show. The question to answer here is: **Why doesn't the `"DOMContentLoaded"` event fire?** There are no `<iframe>`s on the page (based on a search in the Inspector DevTools page). [1]: https://searchfox.org/mozilla-central/rev/82c04b9cad5b98bdf682bd477f2b1e3071b004ad/toolkit/components/passwordmgr/LoginManagerChild.jsm#874-883 [2]: https://searchfox.org/mozilla-central/rev/82c04b9cad5b98bdf682bd477f2b1e3071b004ad/toolkit/components/passwordmgr/LoginManagerChild.jsm#900