gecko-dev/dom/u2f/tests
Tooru Fujisawa 8a7e982608 Bug 1259822 - Part 2: Show property key in the error message when target object value is null or undefined. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D58104

--HG--
extra : moz-landing-system : lando
2020-01-11 05:10:54 +00:00
..
browser Bug 1596918: Part 4d - Fix callers which try to return non-clonable values. r=mccr8 2019-12-13 20:36:37 +00:00
pkijs
.eslintrc.js
README.md
frame_appid_facet.html
frame_appid_facet_insecure.html Bug 1259822 - Part 2: Show property key in the error message when target object value is null or undefined. r=jorendorff 2020-01-11 05:10:54 +00:00
frame_appid_facet_subdomain.html
frame_multiple_keys.html
frame_no_token.html
frame_override_request.html
frame_register.html
frame_register_sign.html
frame_utils.js
mochitest.ini
test_appid_facet.html
test_appid_facet_insecure.html
test_appid_facet_subdomain.html
test_bind.html
test_multiple_keys.html
test_no_token.html
test_override_request.html
test_polyfill_interaction.html
test_register.html
test_register_sign.html
test_u2f_replaceable.html
test_util_methods.html
u2futil.js

README.md

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.