Bug 22592 - Add a test to verify that onload handler is only called once
Summary: Add a test to verify that onload handler is only called once
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Pam Greene (IRC:pamg)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-02 11:07 PST by Pam Greene (IRC:pamg)
Modified: 2008-12-05 15:48 PST (History)
0 users

See Also:


Attachments
New test + result (2.29 KB, patch)
2008-12-02 11:11 PST, Pam Greene (IRC:pamg)
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pam Greene (IRC:pamg) 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.
Comment 1 Pam Greene (IRC:pamg) 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.
Comment 2 Darin Adler 2008-12-04 09:33:14 PST
Comment on attachment 25677 [details]
New test + result

r=me
Comment 3 Pam Greene (IRC:pamg) 2008-12-05 15:48:25 PST
Landed r39050.