Closed Bug 407259 Opened 17 years ago Closed 17 years ago

Leak changing contentEditable during onbeforecopy event

Categories

(Core :: DOM: Editor, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 407201

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: memory-leak, testcase)

Attachments

(1 file)

Attached file testcase
Loading the testcase makes Firefox leak one each of: nsBaseAppShell, nsComposerCommandsUpdater, nsRunnable, nsThread, nsTimerImpl, nsWeakReference.

Might be related to bug 315498, which also causes a nsComposerCommandsUpdater to leak.

Also, it makes Firefox output "An error occurred updating the cmd_copy command".
The leak is due to the type error "callbackType != TYPE_ONE_SHOT" in nsTimerImpl::Fire, which Bruno Calvignac mentioned in bug 330128 comment 39.  Dunno why sayrer hasn't fixed it yet.
(In reply to comment #1)
> The leak is due to the type error "callbackType != TYPE_ONE_SHOT" in
> nsTimerImpl::Fire, which Bruno Calvignac mentioned in bug 330128 comment 39. 
> Dunno why sayrer hasn't fixed it yet.

See bug 407201.
That bug report refers to Cancel() whereas the bug in question is in Fire()...
(In reply to comment #3)
> That bug report refers to Cancel() whereas the bug in question is in Fire()...

The patch in that bug fixes Fire(), I think the summary is just wrong.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: