Fix adoptRef usage violations (mostly in chromium)
Created attachment 60893 [details]
Created attachment 60896 [details]
patch v1.1: actually add relax call to IDBDatabaseRequest
It’s best to do this without any calls to relaxOptionRequirement. Instead, code that needs to ref the object can be moved out of constructors into create functions. It’s OK to leave things like this, but better if we could eliminate the relaxAdoptionRequirement calls. Ideally we’d use that only in CrossThreadRefCounted.
Thanks for fixing this all, by the way. I really appreciate it. I think that long-term this adoptRef discipline will help us avoid storage leaks.