Bug 77849

Summary: xss-DENIED-from-data-url-in-foreign-domain-subframe.html is flaky
Product: WebKit Reporter: Adam Barth <abarth>
Component: Tools / TestsAssignee: Adam Barth <abarth>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, eric, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch haraken: review+, haraken: commit-queue+

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.