[Webkit-unassigned] [Bug 22105] Removing a media element from the document may trigger last second load()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 4 09:05:03 PST 2008


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


tavestbo at trolltech.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #24946|0                           |1
        is obsolete|                            |
         AssignedTo|webkit-                     |tavestbo at trolltech.com
                   |unassigned at lists.webkit.org |
  Attachment #25740|                            |review?
               Flag|                            |




------- Comment #5 from tavestbo at trolltech.com  2008-12-04 09:05 PDT -------
Created an attachment (id=25740)
 --> (https://bugs.webkit.org/attachment.cgi?id=25740&action=view)
Patch with test case

Same check for networkState() != EMPTY but with test case. 

There's still a code path that can trigger this condition: if the element is
removed from the document while m_player is 0, but I'm not sure when that will
happen. 

We could guard for that too in removedFromDocument(), but would then miss out
on the timeupdateEvent and pauseEvent sent from pause() (if that's even a code
path we could hit). Any thoughts about this Antti?

Thanks!


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



More information about the webkit-unassigned mailing list