[Webkit-unassigned] [Bug 70421] V8 bindings: event listener can be garbage collected, causing events loss

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 14 17:03:44 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=70421





--- Comment #13 from Adam Barth <abarth at webkit.org>  2011-11-14 17:03:44 PST ---
(From update of attachment 115043)
View in context: https://bugs.webkit.org/attachment.cgi?id=115043&action=review

> LayoutTests/media/audio-garbage-collect.html:31
> +function forceGC() {
> +    if (window.GCController)
> +        return GCController.collect();
> +
> +    // Force garbage collection
> +    for (var ndx = 0; ndx < 99000; ndx ++)
> +        var str = new String("1234");
> +}

We have a fancy new gc.js script somewhere you can use for this.

> LayoutTests/media/audio-garbage-collect.html:47
> +            a.currentTime = a.duration - 0.5;

Can we make 0.5 smaller?  Is this test racy?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list