RESOLVED FIXED 22600
Add test to verify the timeout callback is executed in the right context.
https://bugs.webkit.org/show_bug.cgi?id=22600
Summary Add test to verify the timeout callback is executed in the right context.
Dmitry Titov
Reported 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.
Attachments
Proposed patch (3.20 KB, patch)
2008-12-02 13:37 PST, Dmitry Titov
ap: review+
Dmitry Titov
Comment 1 2008-12-02 13:37:18 PST
Created attachment 25680 [details] Proposed patch
Alexey Proskuryakov
Comment 2 2008-12-03 00:08:00 PST
Comment on attachment 25680 [details] Proposed patch r=me \ No newline at end of file Should be added when landing.
Alexey Proskuryakov
Comment 3 2008-12-03 00:30:24 PST
Committed revision 38933.
Note You need to log in before you can comment on or make changes to this bug.