gecko-dev/dom/credentialmanagement
Benjamin VanderSloot c823b35008 Bug 1803245 - Add Timeout nsiTimer onto the Document to track active IdentityCredential requests, r=timhuang
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.

Differential Revision: https://phabricator.services.mozilla.com/D164260
2022-12-14 14:02:57 +00:00
..
identity Bug 1803245 - Add Timeout nsiTimer onto the Document to track active IdentityCredential requests, r=timhuang 2022-12-14 14:02:57 +00:00
tests Bug 1541508 - Use Services.env in dom/ r=emilio 2022-11-25 19:09:06 +00:00
Credential.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
Credential.h Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
CredentialsContainer.cpp Bug 1804347 - Add missing StaticPrefs header r=bvandersloot 2022-12-07 11:46:25 +00:00
CredentialsContainer.h Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
moz.build Bug 1782083 - Create skeleton IdentityCredential, r=dveditz,emilio 2022-09-14 02:02:44 +00:00