Open Bug 1445242 Opened 6 years ago Updated 2 years ago

Can't use WebAuthn anymore from the DevTools Web Console

Categories

(Core :: DOM: Web Authentication, defect, P3)

59 Branch
defect

Tracking

()

Tracking Status
firefox59 --- unaffected
firefox60 --- affected
firefox61 --- affected

People

(Reporter: ttaubert, Unassigned)

References

Details

The active document check introduced by bug 1409202 checks at the very end whether the root window == nsIFocusManager.activeWindow.

Unfortunately, activeWindow=null whenever the Web Console is focused, e.g. I paste some lines of JavaScript to test WebAuthn behavior.

I'm not sure how to fix this... There seems to be no indication that the call originates from the console, it's made in the context of the active web page after all.
Olli, do you have any idea how to make this work with our "active tab" check? Is this maybe something you have come across before?
Flags: needinfo?(bugs)
I don't recall anything quite similar. Other APIs just check the background-ness, which is different.
Flags: needinfo?(bugs)
Priority: -- → P3
Assignee: ttaubert → nobody
Component: DOM: Device Interfaces → DOM: Web Authentication
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.