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)

58 Branch
defect

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.
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)
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)
Priority: -- → P2
It looks like this is going to be fixed by the patch I submitted for bug 1403818.
Assignee: jjones → ttaubert
Status: NEW → ASSIGNED
Depends on: 1403818
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.