Skip to content

TypeError: setting getter-only property "u2f" #283

@kasparsd

Description

@kasparsd

The window.u2f object in Firefox is now a native browser API which is read-only which is why it now triggers this error when the U2F polyfill tries to override the global u2f here:

https://github.com/georgestephanis/two-factor/blob/ebbdaf3692deff5794d181e21944679f2dd3fd2c/includes/Google/u2f-api.js#L17

This is error doesn't impact the functionality and the U2F process still works as expected.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions