WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
UNCONFIRMED
106876
HTML5 Body OnLoad event is not firing for application
https://bugs.webkit.org/show_bug.cgi?id=106876
Summary
HTML5 Body OnLoad event is not firing for application
ank.cpp
Reported
2013-01-14 23:26:00 PST
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Lucas Forschler
Comment 1
2019-02-06 09:18:37 PST
Mass move bugs into the DOM component.
Karl Dubost
Comment 2
2024-05-09 01:19:42 PDT
Without a test case this is hard to know if there is a bug or if other browsers are behaving differently.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug