[Webkit-unassigned] [Bug 106876] New: HTML5 Body OnLoad event is not firing for application

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 14 23:24:13 PST 2013


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

           Summary: HTML5 Body OnLoad event is not firing for application
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows 7
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML Events
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ank.cpp at gmail.com


Hi,

I'm working on Webkit for win32 port.
For my application using HTML5 Video tag for videos, Body onLoad event is not firing.
The problem doesn't occur when I'm not providing any SRC value.

Error:
<video>    onload = onLoad()
   src = "E:/xyz.mp4"

No Error:
<video>    onload = onLoad()
   src =

I have debugged and found the problem also.
I modified in FrameLoader.cpp , for function void FrameLoader::checkCompleted()

commented the check:
    if (m_frame->document()->isDelayingLoadEvent())
        return;
also for fucntion void FrameLoader::checkCallImplicitClose()

commented the check:
|| m_frame->document()->isDelayingLoadEvent())

After doing above modification event started firing correctly.
Googled and found that the above code is added for "Bug 44013 - HTMLMediaElement should delay document load event".
Previously evnet was firing quite fine.

I'm a newbie in webkit , please let me know if someone has the solution.

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