Bug 86433 - script-src-redirect.html is flaky.
Summary: script-src-redirect.html is flaky.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Mike West
URL:
Keywords:
Depends on:
Blocks: 77556 86643
  Show dependency treegraph
 
Reported: 2012-05-14 21:23 PDT by Mike West
Modified: 2012-05-18 08:02 PDT (History)
5 users (show)

See Also:


Attachments
Patch (4.50 KB, patch)
2012-05-15 08:06 PDT, Mike West
no flags Details | Formatted Diff | Diff
Patch (12.74 KB, patch)
2012-05-18 02:11 PDT, Mike West
no flags Details | Formatted Diff | Diff
Patch (16.58 KB, patch)
2012-05-18 06:01 PDT, Mike West
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mike West 2012-05-14 21:23:43 PDT
From https://bugs.webkit.org/show_bug.cgi?id=86323:

(In reply to comment #22)
> (From update of attachment 141783 [details] [details])
> Clearing flags on attachment: 141783
> 
> Committed r117006: <http://trac.webkit.org/changeset/117006>

After this, script-src-redirect.html has been really flaky.
I wonder if we should roll it out.

---

Looks like `script-src-redirect.html` is another iframe ordering test. I'll rewrite it to use the same methodology as `source-list-parsing.html`.
Comment 1 Mike West 2012-05-15 08:06:15 PDT
Created attachment 141971 [details]
Patch
Comment 2 Mike West 2012-05-15 08:07:34 PDT
Can you take a look at this, Adam? :)
Comment 3 WebKit Review Bot 2012-05-15 12:51:01 PDT
Comment on attachment 141971 [details]
Patch

Clearing flags on attachment: 141971

Committed r117123: <http://trac.webkit.org/changeset/117123>
Comment 4 WebKit Review Bot 2012-05-15 12:51:06 PDT
All reviewed patches have been landed.  Closing bug.
Comment 7 Adam Barth 2012-05-15 18:49:49 PDT
Thanks really strange.

Maybe it's some kind of strange race where we're loading about:blank but it's using the URL of the parent document for the CSP check somehow?  Another possibility is that we're using "" as the src somehow and that's getting resolve to match the URL of the parent document.
Comment 8 Zoltan Arvai 2012-05-16 02:34:37 PDT
http/tests/security/contentSecurityPolicy/script-src-redirect.html
skipped on Qt in trac.webkit.org/changeset/117243 .
Please unskip the test when it works again.
Comment 9 Mike West 2012-05-18 01:58:09 PDT
Arg. It's not a strange race. It's a stupid typo. :/

I'll have a patch for review in a few minutes.
Comment 10 Mike West 2012-05-18 02:11:25 PDT
Created attachment 142669 [details]
Patch
Comment 11 jochen 2012-05-18 02:17:56 PDT
Comment on attachment 142669 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=142669&action=review

> LayoutTests/http/tests/security/contentSecurityPolicy/resources/multiple-iframe-test.js:2
> +  layoutTestController.waitUntilDone();

4 spaces indenting

> LayoutTests/http/tests/security/contentSecurityPolicy/resources/multiple-iframe-test.js:11
> +    var baseURL = 'http://127.0.0.1:8000/security/contentSecurityPolicy/';

please either use ' or "

> LayoutTests/platform/chromium/test_expectations.txt:-3724
> -BUGWK86433 : http/tests/security/contentSecurityPolicy/script-src-redirect.html = TEXT PASS

why not unskip it for the other platforms as well?
Comment 12 Mike West 2012-05-18 06:01:24 PDT
Created attachment 142698 [details]
Patch
Comment 13 Mike West 2012-05-18 06:02:41 PDT
Thanks, Jochen. I've addressed your comments.
Comment 14 WebKit Review Bot 2012-05-18 06:46:02 PDT
Comment on attachment 142698 [details]
Patch

Clearing flags on attachment: 142698

Committed r117583: <http://trac.webkit.org/changeset/117583>
Comment 15 WebKit Review Bot 2012-05-18 06:46:23 PDT
All reviewed patches have been landed.  Closing bug.
Comment 16 Mike West 2012-05-18 08:02:07 PDT
It looks like http://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=script-src-redirect.html is greening up nicely.