Bug 22592

Summary: Add a test to verify that onload handler is only called once
Product: WebKit Reporter: Pam Greene (IRC:pamg) <pam>
Component: DOMAssignee: Pam Greene (IRC:pamg) <pam>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
New test + result darin: review+

Pam Greene (IRC:pamg)
Reported 2008-12-02 11:07:19 PST
Make sure the onload handler is only called once, even when there are multiple <body> nodes in the document.
Attachments
New test + result (2.29 KB, patch)
2008-12-02 11:11 PST, Pam Greene (IRC:pamg)
darin: review+
Pam Greene (IRC:pamg)
Comment 1 2008-12-02 11:11:50 PST
Created attachment 25677 [details] New test + result This test isn't well suited to using the JS test wrapper, because of timing issues with the onload handler; the output from the wrapper is more confusing than helpful.
Darin Adler
Comment 2 2008-12-04 09:33:14 PST
Comment on attachment 25677 [details] New test + result r=me
Pam Greene (IRC:pamg)
Comment 3 2008-12-05 15:48:25 PST
Landed r39050.
Note You need to log in before you can comment on or make changes to this bug.