The u2f object is only registered within the "top" window.
In our software, we're running U2F registration/signing within an IFRAME.
The plugin works fine when all references to "window.u2f" are replaced by "top.u2f", or maybe by doing something like if (typeof window.u2f === 'undefined') window.u2f=top.u2f; (untested). So this issue is not critical (as we have this workaround), but maybe it's cleaner to register "window.u2f" in all frames (if possible).
The u2f object is only registered within the "top" window. In our software, we're running U2F registration/signing within an IFRAME. The plugin works fine when all references to "window.u2f" are replaced by "top.u2f", or maybe by doing something like
if (typeof window.u2f === 'undefined') window.u2f=top.u2f;
(untested). So this issue is not critical (as we have this workaround), but maybe it's cleaner to register "window.u2f" in all frames (if possible).