Closed Bug 1803245 Opened 2 years ago Closed 2 years ago

Add Timeout nsiTimer onto the Document to track active IdentityCredential requests

Categories

(Core :: DOM: Credential Management, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
110 Branch
Tracking Status
firefox110 --- fixed

People

(Reporter: bvandersloot, Assigned: bvandersloot)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

No description provided.

This will make it so the timer works when we pass on rejecting the promise.

Blocks: 1803629
No longer blocks: 1788211

This doesn't actually move the timer onto the document.
Instead it is the correct manual juggling of pointers via .forget() and NS_RELEASE() and some additional testing to make sure it works properly.
This passes tests where we resolve, reject immediately, and reject on timeout and has no leaks in all of those cases.
Putting the timer on the document also required putting the pending promise onto the document with it and that had further wrinkles.
I call that good enough.

Assignee: nobody → bvandersloot
Status: NEW → ASSIGNED
Pushed by bvandersloot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1b54637116ca Add Timeout nsiTimer onto the Document to track active IdentityCredential requests, r=timhuang
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 110 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: