mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-14 20:22:00 +00:00
![Kris Maglione](/assets/img/avatar_default.png)
The old name no longer makes sense, since it no longer exports an spawn_task symbol, and add_task is what we really care about. MozReview-Commit-ID: IE7B8Czv8DH --HG-- rename : testing/mochitest/tests/SimpleTest/SpawnTask.js => testing/mochitest/tests/SimpleTest/AddTask.js extra : rebase_source : 03bca5aa69a7625a49b4455a6c96ce4c59de3a5a
Note:
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.