Bug 77849 - xss-DENIED-from-data-url-in-foreign-domain-subframe.html is flaky
Summary: xss-DENIED-from-data-url-in-foreign-domain-subframe.html is flaky
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Adam Barth
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-05 21:41 PST by Adam Barth
Modified: 2012-02-06 15:04 PST (History)
3 users (show)

See Also:


Attachments
Patch (6.96 KB, patch)
2012-02-05 21:44 PST, Adam Barth
haraken: review+
haraken: commit-queue+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Barth 2012-02-05 21:41:51 PST
xss-DENIED-from-data-url-in-foreign-domain-subframe.html is flaky
Comment 1 Adam Barth 2012-02-05 21:44:49 PST
Created attachment 125566 [details]
Patch
Comment 2 Adam Barth 2012-02-05 21:55:16 PST
Committed r106774: <http://trac.webkit.org/changeset/106774>
Comment 3 Alexey Proskuryakov 2012-02-06 15:00:51 PST
This test appears pretty simple. Was there actually a race condition in it, or is the problem in WebCore?
Comment 4 Adam Barth 2012-02-06 15:04:15 PST
> This test appears pretty simple. Was there actually a race condition in it, or is the problem in WebCore?

There's actually a race condition.  Notice that before this patch <p id='accessMe'> was below the <iframe>, but the iframe assumed that the accessMe id already existed in the document.