Title: [99321] trunk/LayoutTests
- Revision
- 99321
- Author
- [email protected]
- Date
- 2011-11-04 14:32:03 -0700 (Fri, 04 Nov 2011)
Log Message
Add a test for how CSP interacts with about:blank iframes
https://bugs.webkit.org/show_bug.cgi?id=71578
Reviewed by Dimitri Glazkov.
This issue came up in the discussion on
http://code.google.com/p/chromium/issues/detail?id=103038. This patch
just adds a test to make sure we don't regress.
* http/tests/security/contentSecurityPolicy/frame-src-about-blank-allowed-by-scheme-expected.txt: Added.
* http/tests/security/contentSecurityPolicy/frame-src-about-blank-allowed-by-scheme.html: Added.
Modified Paths
Added Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (99320 => 99321)
--- trunk/LayoutTests/ChangeLog 2011-11-04 21:27:20 UTC (rev 99320)
+++ trunk/LayoutTests/ChangeLog 2011-11-04 21:32:03 UTC (rev 99321)
@@ -1,3 +1,17 @@
+2011-11-04 Adam Barth <[email protected]>
+
+ Add a test for how CSP interacts with about:blank iframes
+ https://bugs.webkit.org/show_bug.cgi?id=71578
+
+ Reviewed by Dimitri Glazkov.
+
+ This issue came up in the discussion on
+ http://code.google.com/p/chromium/issues/detail?id=103038. This patch
+ just adds a test to make sure we don't regress.
+
+ * http/tests/security/contentSecurityPolicy/frame-src-about-blank-allowed-by-scheme-expected.txt: Added.
+ * http/tests/security/contentSecurityPolicy/frame-src-about-blank-allowed-by-scheme.html: Added.
+
2011-11-04 Tony Chang <[email protected]>
stop running perf LayoutTests in debug builds
Added: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/frame-src-about-blank-allowed-by-scheme-expected.txt (0 => 99321)
--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/frame-src-about-blank-allowed-by-scheme-expected.txt (rev 0)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/frame-src-about-blank-allowed-by-scheme-expected.txt 2011-11-04 21:32:03 UTC (rev 99321)
@@ -0,0 +1 @@
+This iframe should not be blocked by Content-Security-Policy:
Added: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/frame-src-about-blank-allowed-by-scheme.html (0 => 99321)
--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/frame-src-about-blank-allowed-by-scheme.html (rev 0)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/frame-src-about-blank-allowed-by-scheme.html 2011-11-04 21:32:03 UTC (rev 99321)
@@ -0,0 +1,7 @@
+<script>
+if (window.layoutTestController)
+ layoutTestController.dumpAsText();
+</script>
+<meta http-equiv="X-WebKit-CSP" content="frame-src about:">
+This iframe should not be blocked by Content-Security-Policy:
+<iframe src=""
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes