Bug 22600

Summary: Add test to verify the timeout callback is executed in the right context.
Product: WebKit Reporter: Dmitry Titov <dimich>
Component: DOMAssignee: Nobody <webkit-unassigned>
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Description Flags
Proposed patch ap: review+

Description Dmitry Titov 2008-12-02 13:33:37 PST
When a timeout is scheduled on a window from another frame, the specified callback is run either in the context of the main page (if specified as a function or a closure) and in the context of the frame (if specified as a string of JS code). The test runs 2 timeouts and verifies that they run in proper contexts.
Comment 1 Dmitry Titov 2008-12-02 13:37:18 PST
Created attachment 25680 [details]
Proposed patch
Comment 2 Alexey Proskuryakov 2008-12-03 00:08:00 PST
Comment on attachment 25680 [details]
Proposed patch


\ No newline at end of file

Should be added when landing.
Comment 3 Alexey Proskuryakov 2008-12-03 00:30:24 PST
Committed revision 38933.