author ffxbld <>
Mon, 10 Aug 2020 10:14:10 +0000
changeset 605814 7bf8ce68eb7981796d4e06fc6c75b3c9ffd5c2a1
parent 380270 456d27bbbe7429efb8c7df47820353af7dabd424
permissions -rw-r--r--
No Bug, mozilla-release repo-update remote-settings - a=repo-update r=RyanVM Differential Revision:


While conceptually similar to the tests for Web Authentication (dom/webauthn),
the tests for U2F require an iframe while `window.u2f` remains hidden behind a
preference, though WebAuthn does not. The reason is that the `window` object
doesn't mutate upon a call by SpecialPowers.setPrefEnv() the way that the
`navigator` objects do, rather you have to load a different page with a different
`window` object for the preference change to be honored.