Closed
Bug 1406565
Opened 7 years ago
Closed 7 years ago
[WebAuth] Abort on tab switch only cancels last pending verification
Categories
(Core :: DOM: Device Interfaces, defect, P2)
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
firefox58 | --- | affected |
People
(Reporter: mwobensmith, Assigned: ttaubert)
References
(Blocks 1 open bug)
Details
If you have two pending USB verifications and perform a tab switch, only the last pending verification will be aborted.
1. Navigate to test site https://webauthn.bin.coffee/
2. With USB token connected, perform create/get credentials as normal.
3. Verify correct test results.
4. Click on "create" button but do not verify.
5. Click on "get" button but do not verify.
6. Tab switch, or new tab.
7. Go back to test page.
Result:
The "get" operation has been aborted, but not the "create" operation.
Expected:
All pending verifications aborted.
Assignee | ||
Comment 1•7 years ago
|
||
We actually only support a single operation at a time in the backend, that means the "create" operation from step 4 should be aborted in step 5. Can you please elaborate on how you detect it's not being cancelled? Thanks!
Flags: needinfo?(mwobensmith)
Reporter | ||
Comment 2•7 years ago
|
||
If that is true, I would expect to see the "abort" error message in the text area designated for the "create" operation.
As is, both text areas display messages indicating they are waiting for verification.
Flags: needinfo?(mwobensmith)
Updated•7 years ago
|
Priority: -- → P2
Assignee | ||
Comment 3•7 years ago
|
||
It looks like this is going to be fixed by the patch I submitted for bug 1403818.
Assignee | ||
Comment 4•7 years ago
|
||
Checked again and this seems to be fixed indeed.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•