Does LockRequestChild need to call AbortFollower::Traverse
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
People
(Reporter: evilpie, Unassigned)
References
Details
I am looking into implementing my own AbortFollower and I noticed that LockRequestChild
doesn't seem to call AbortFollower::Traverse
or AbortFollower::Unlink
. I am wondering if it should do that.
Comment 1•3 years ago
|
||
Thanks for filing. At worst, this will just cause a leak, so it doesn't need to be a security issue.
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
LockRequestChild is refcounted but that's only for weakptr support. By design the lifetime of a LockRequest actor is the lifetime of its lock, and that lifetime is controlled by Lock and LockManagerParent. Since they will actively cut the cycle, I think there can't be a leak here.
But Olli, could you also double check?
Thanks, closing.
Thank you Tom for noticing this, though!
Comment 5•3 years ago
|
||
I wonder if some comment somewhere would be useful.
I can do that as a part of bug 1660555, since those traverse things are added as parts of that.
Description
•