[Webkit-unassigned] [Bug 82421] New: REGRESSION: audio elements can keep the DOM alive after the user has navigated away

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 27 20:30:40 PDT 2012


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

           Summary: REGRESSION: audio elements can keep the DOM alive
                    after the user has navigated away
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Unspecified
            Status: NEW
          Keywords: InRadar
          Severity: Normal
          Priority: P2
         Component: Media Elements
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: slewis at apple.com


Testing on Lion.  Regression occurred http://trac.webkit.org/projects/webkit/changeset/110064.  

I believe this change has a typo.  I think the ! needs to be eliminated.

-            if (!static_cast<HTMLAudioElement*>(node)->paused())
+            if (!static_cast<HTMLAudioElement*>(node)->hasPendingActivity())


As it stands an HTMLAudioElement is observable when it is not waiting for any events.  This means that the DOM can never be cleaned up when a user navigates away from the page.  Observed on http://twitter.com.

<rdar://problem/11135186> REGRESSION: audio elements with pending activity progressively slow down the PLT3.

-- 
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