Bug 52032 - fast/dom/Window/window-postmessage-clone-frames.html has some timing issues
Summary: fast/dom/Window/window-postmessage-clone-frames.html has some timing issues
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-06 15:39 PST by Martin Robinson
Modified: 2011-01-07 17:38 PST (History)
1 user (show)

See Also:


Attachments
Patch (3.70 KB, patch)
2011-01-06 15:53 PST, Martin Robinson
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Robinson 2011-01-06 15:39:40 PST
fast/dom/Window/window-postmessage-clone-frames.html has two issues:

1. It has the same file-input-after-console-output div problem as in this bug: https://bugs.webkit.org/show_bug.cgi?id=52027 . 
2. There is a timing issue where the test may finish before all messages have been passed to the worker context. Essentially if the original context processes a message from the worker context, before all messages are passed to the worker context, the test will end early. My guess is that this is not a problem on other platforms, because drag-and-drop happens on the main event loop in GTK+ and not on an inner event loop.
Comment 1 Martin Robinson 2011-01-06 15:53:38 PST
Created attachment 78182 [details]
Patch
Comment 2 Martin Robinson 2011-01-07 17:38:19 PST
Comment on attachment 78182 [details]
Patch

Clearing flags on attachment: 78182

Committed r75298: <http://trac.webkit.org/changeset/75298>
Comment 3 Martin Robinson 2011-01-07 17:38:23 PST
All reviewed patches have been landed.  Closing bug.