Bug 1735191 Comment 33 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

(In reply to Jan Varga [:janv] from comment #31)
> Jens, IDBTransaction is a content process only object. It can be kept alive from JavaScript even though its actor has been destroyed.

Thanks for the hint, actually what we have here is failing XPCSHELL tests shutdown where we execute JS in the parent process, IIUC. In fact the PID of the asserting process is marked as parent process here.

Could it be that we create a reference cycle when we use IDB within the parent process (as in XPCSHELL tests) that otherwise will not ever exist?
(In reply to Jan Varga [:janv] from comment #31)
> Jens, IDBTransaction is a content process only object. It can be kept alive from JavaScript even though its actor has been destroyed.

Thanks for the hint, actually what we have here is failing XPCSHELL tests shutdown where we execute JS in the parent process, IIUC. In fact the PID of the asserting process is marked as parent process here.

Could it be that we create a reference cycle when we use IDB within the parent process (as in XPCSHELL tests) that otherwise will never exist?

Back to Bug 1735191 Comment 33