Tests that dump delegate calls are flaky because of cached redirects
authorap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 10 Aug 2013 00:01:53 +0000 (00:01 +0000)
committerap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 10 Aug 2013 00:01:53 +0000 (00:01 +0000)
commit8fc529d583a2f950d88df1eeeb7d7072f6a8ab81
tree7c75d248790b8c4c28151f527361bcdf72aa58aa
parent9c10c71bb04f64c424788925538d382f95b561e8
Tests that dump delegate calls are flaky because of cached redirects
https://bugs.webkit.org/show_bug.cgi?id=119641

Reviewed by Brady Eidson.

Made redirect.php emit Cache-Control: no store as a workaround for bug 77538.
Removed several reimplementations of it, and changed the test to use the
central copy.

* http/tests/permissionclient/resources/redir.php: Removed.
* http/tests/resources/redirect.php:
* http/tests/security/beforeload-iframe-server-redirect-expected.txt:
* http/tests/security/beforeload-iframe-server-redirect.html:
* http/tests/security/cannot-read-cssrules-redirect.html:
* http/tests/security/canvas-remote-read-redirect-to-remote-image.html:
* http/tests/security/canvas-remote-read-remote-image-redirect.html:
* http/tests/security/contentSecurityPolicy/frame-src-redirect-blocked.html:
* http/tests/security/contentSecurityPolicy/resources/multiple-iframe-test.js:
* http/tests/security/contentSecurityPolicy/resources/redir.php: Removed.
* http/tests/security/contentSecurityPolicy/script-src-redirect-expected.txt:
* http/tests/security/contentSecurityPolicy/script-src-redirect.html:
* http/tests/security/cross-origin-css.html:
* http/tests/security/cross-origin-script-window-onerror-redirected.html:
* http/tests/security/mixedContent/redirect-http-to-https-iframe-in-main-frame-expected.txt:
* http/tests/security/mixedContent/redirect-http-to-https-script-in-iframe-expected.txt:
* http/tests/security/mixedContent/redirect-https-to-http-iframe-in-main-frame-expected.txt:
* http/tests/security/mixedContent/resources/frame-with-redirect-http-to-https-frame.html:
* http/tests/security/mixedContent/resources/frame-with-redirect-http-to-https-script.html:
* http/tests/security/mixedContent/resources/frame-with-redirect-https-to-http-frame.html:
* http/tests/security/mixedContent/resources/frame-with-redirect-https-to-http-script.html:
* http/tests/security/redirect-BLOCKED-to-localURL.html:
* http/tests/security/resources/cross-origin-xsl-redirect.xml:
* http/tests/security/resources/redir.php: Removed.
* http/tests/security/resources/xsl-using-document-redirect.xsl:
* http/tests/security/resources/xsl-using-external-entity-redirect.xsl:
* http/tests/security/stylesheet-href-redirect-expected.txt:
* http/tests/security/stylesheet-href-redirect.html:
* http/tests/security/xssAuditor/block-does-not-leak-referrer.html:
* http/tests/security/xssAuditor/resources/redir.php: Removed.
* http/tests/security/xssAuditor/script-tag-open-redirect.html:
* http/tests/security/xssAuditor/script-tag-redirect.html:
* http/tests/xmlhttprequest/redirect-cross-origin-2.html:
* http/tests/xmlhttprequest/redirect-cross-origin-post-sync.html:
* http/tests/xmlhttprequest/redirect-cross-origin-post.html:
* http/tests/xmlhttprequest/redirect-cross-origin-sync-double.html:
* http/tests/xmlhttprequest/redirect-cross-origin-sync.html:
* http/tests/xmlhttprequest/redirect-cross-origin.html:
* http/tests/xmlhttprequest/resources/redirect.php: Removed.
* http/tests/xmlhttprequest/xmlhttprequest-unsafe-redirect.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@153915 268f45cc-cd09-0410-ab3c-d52691b4dbfc
41 files changed:
LayoutTests/ChangeLog
LayoutTests/http/tests/permissionclient/resources/redir.php [deleted file]
LayoutTests/http/tests/resources/redirect.php
LayoutTests/http/tests/security/beforeload-iframe-server-redirect-expected.txt
LayoutTests/http/tests/security/beforeload-iframe-server-redirect.html
LayoutTests/http/tests/security/cannot-read-cssrules-redirect.html
LayoutTests/http/tests/security/canvas-remote-read-redirect-to-remote-image.html
LayoutTests/http/tests/security/canvas-remote-read-remote-image-redirect.html
LayoutTests/http/tests/security/contentSecurityPolicy/frame-src-redirect-blocked.html
LayoutTests/http/tests/security/contentSecurityPolicy/resources/multiple-iframe-test.js
LayoutTests/http/tests/security/contentSecurityPolicy/resources/redir.php [deleted file]
LayoutTests/http/tests/security/contentSecurityPolicy/script-src-redirect-expected.txt
LayoutTests/http/tests/security/contentSecurityPolicy/script-src-redirect.html
LayoutTests/http/tests/security/cross-origin-css.html
LayoutTests/http/tests/security/cross-origin-script-window-onerror-redirected.html
LayoutTests/http/tests/security/mixedContent/redirect-http-to-https-iframe-in-main-frame-expected.txt
LayoutTests/http/tests/security/mixedContent/redirect-http-to-https-script-in-iframe-expected.txt
LayoutTests/http/tests/security/mixedContent/redirect-https-to-http-iframe-in-main-frame-expected.txt
LayoutTests/http/tests/security/mixedContent/resources/frame-with-redirect-http-to-https-frame.html
LayoutTests/http/tests/security/mixedContent/resources/frame-with-redirect-http-to-https-script.html
LayoutTests/http/tests/security/mixedContent/resources/frame-with-redirect-https-to-http-frame.html
LayoutTests/http/tests/security/mixedContent/resources/frame-with-redirect-https-to-http-script.html
LayoutTests/http/tests/security/redirect-BLOCKED-to-localURL.html
LayoutTests/http/tests/security/resources/cross-origin-xsl-redirect.xml
LayoutTests/http/tests/security/resources/redir.php [deleted file]
LayoutTests/http/tests/security/resources/xsl-using-document-redirect.xsl
LayoutTests/http/tests/security/resources/xsl-using-external-entity-redirect.xsl
LayoutTests/http/tests/security/stylesheet-href-redirect-expected.txt
LayoutTests/http/tests/security/stylesheet-href-redirect.html
LayoutTests/http/tests/security/xssAuditor/block-does-not-leak-referrer.html
LayoutTests/http/tests/security/xssAuditor/resources/redir.php [deleted file]
LayoutTests/http/tests/security/xssAuditor/script-tag-open-redirect.html
LayoutTests/http/tests/security/xssAuditor/script-tag-redirect.html
LayoutTests/http/tests/xmlhttprequest/redirect-cross-origin-2.html
LayoutTests/http/tests/xmlhttprequest/redirect-cross-origin-post-sync.html
LayoutTests/http/tests/xmlhttprequest/redirect-cross-origin-post.html
LayoutTests/http/tests/xmlhttprequest/redirect-cross-origin-sync-double.html
LayoutTests/http/tests/xmlhttprequest/redirect-cross-origin-sync.html
LayoutTests/http/tests/xmlhttprequest/redirect-cross-origin.html
LayoutTests/http/tests/xmlhttprequest/resources/redirect.php [deleted file]
LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-unsafe-redirect.html