Closed Bug 1718228 Opened 3 years ago Closed 2 years ago

Fix IDL for CollectedClientData

Categories

(Core :: DOM: Web Authentication, task, P2)

task

Tracking

()

RESOLVED FIXED
104 Branch
Tracking Status
firefox104 --- fixed

People

(Reporter: dveditz, Assigned: rmf)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

In our Implementation CollectedClientData has an optional DOMString member tokenBindingId. This is the wrong name and type. Instead it should look like

dictionary CollectedClientData {
    ...
    TokenBinding                 tokenBinding;
};

dictionary TokenBinding {
    required DOMString status;
    DOMString id;
};

enum TokenBindingStatus { "present", "supported" };

So far it hasn't caused a problem since we don't support it, and as an optional member no one has noticed that it would have been named wrong and have the wrong type.

We also have to get rid of three members that don't exist anymore:

    required DOMString           hashAlgorithm;
    AuthenticationExtensionsClientInputs clientExtensions = {};
    AuthenticationExtensionsAuthenticatorInputs authenticatorExtensions;
Severity: -- → N/A
Type: defect → task
Priority: -- → P2
Assignee: nobody → bugs
Pushed by bugs@rmf.io:
https://hg.mozilla.org/integration/autoland/rev/d45b16f97f9f
Make CollectedClientData follow the spec r=dveditz,baku
Pushed by bugs@rmf.io:
https://hg.mozilla.org/integration/autoland/rev/e2908f3e5373
Make CollectedClientData follow the spec r=dveditz,baku

Backed out for causing mochitest failure in test_webauthn_loopback.html

Pushed by bugs@rmf.io:
https://hg.mozilla.org/integration/autoland/rev/6807a13afdd9
Make CollectedClientData follow the spec r=dveditz,baku

Backed out for causing browser-chrome failures on browser_fido_appid_extension.js

Backout link

Push with failures

Failure log

There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:rmf, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit auto_nag documentation.

Flags: needinfo?(dveditz)
Flags: needinfo?(bugs)
Blocks: 1384776
Flags: needinfo?(bugs)
Flags: needinfo?(dveditz) → needinfo?(bugs)
Pushed by bugs@rmf.io:
https://hg.mozilla.org/integration/autoland/rev/f7b85c679074
Make CollectedClientData follow the spec r=dveditz,baku
Flags: needinfo?(bugs)
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: