I can also reproduce this failure `./mach test toolkit/components/passwordmgr/test/mochitest/test_input_events_for_identical_values.html --headless --enable-fission --enable-xorigin-tests --verify`. So, that probably means that it's something related to the iframe. Looking into the test and adding some logs, I found [this `onfocus`](https://searchfox.org/mozilla-central/rev/44695ef057e422a8d6c6056972bdf32766c36187/toolkit/components/passwordmgr/test/mochitest/test_input_events_for_identical_values.html#42) was called twice and thus caused this issue. So, it looks like that something in `nsFocusManager` is wrong.
Bug 1696323 Comment 5 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
I can also reproduce this failure with `./mach test toolkit/components/passwordmgr/test/mochitest/test_input_events_for_identical_values.html --headless --enable-fission --enable-xorigin-tests --verify`. So, that probably means that it's something related to the iframe. Looking into the test and adding some logs, I found [this `onfocus`](https://searchfox.org/mozilla-central/rev/44695ef057e422a8d6c6056972bdf32766c36187/toolkit/components/passwordmgr/test/mochitest/test_input_events_for_identical_values.html#42) was called twice and thus caused this issue. So, it looks like that something in `nsFocusManager` is wrong.