Title: [150492] trunk/LayoutTests
Revision
150492
Author
[email protected]
Date
2013-05-21 17:07:07 -0700 (Tue, 21 May 2013)

Log Message

Check in the test and result I forgot to 'git add' before committing r150490.

* http/tests/security/cross-origin-session-storage-third-party-blocked-expected.txt: Added.
* http/tests/security/cross-origin-session-storage-third-party-blocked.html: Added.

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (150491 => 150492)


--- trunk/LayoutTests/ChangeLog	2013-05-22 00:07:02 UTC (rev 150491)
+++ trunk/LayoutTests/ChangeLog	2013-05-22 00:07:07 UTC (rev 150492)
@@ -1,5 +1,12 @@
 2013-05-21  Andy Estes  <[email protected]>
 
+        Check in the test and result I forgot to 'git add' before committing r150490.
+
+        * http/tests/security/cross-origin-session-storage-third-party-blocked-expected.txt: Added.
+        * http/tests/security/cross-origin-session-storage-third-party-blocked.html: Added.
+
+2013-05-21  Andy Estes  <[email protected]>
+
         Allow session storage for third-party origins even if third-party data access is blocked.
         https://bugs.webkit.org/show_bug.cgi?id=116532
 

Added: trunk/LayoutTests/http/tests/security/cross-origin-session-storage-third-party-blocked-expected.txt (0 => 150492)


--- trunk/LayoutTests/http/tests/security/cross-origin-session-storage-third-party-blocked-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/http/tests/security/cross-origin-session-storage-third-party-blocked-expected.txt	2013-05-22 00:07:07 UTC (rev 150492)
@@ -0,0 +1,16 @@
+This iframe should not return any errors:
+
+
+This iframe should not return any errors:
+
+
+
+--------
+Frame: '<!--framePath //<!--frame0-->-->'
+--------
+No exception
+
+--------
+Frame: '<!--framePath //<!--frame1-->-->'
+--------
+No exception

Added: trunk/LayoutTests/http/tests/security/cross-origin-session-storage-third-party-blocked.html (0 => 150492)


--- trunk/LayoutTests/http/tests/security/cross-origin-session-storage-third-party-blocked.html	                        (rev 0)
+++ trunk/LayoutTests/http/tests/security/cross-origin-session-storage-third-party-blocked.html	2013-05-22 00:07:07 UTC (rev 150492)
@@ -0,0 +1,24 @@
+<html>
+<head>
+<script>
+var frames = 2;
+if (window.testRunner) {
+	testRunner.dumpAsText();
+	testRunner.dumpChildFramesAsText();
+	internals.settings.setStorageBlockingPolicy('BlockThirdParty');
+}
+
+function decrement() {
+	--frames;
+	if (!frames && window.testRunner)
+		internals.settings.setStorageBlockingPolicy('AllowAll');
+}
+</script>
+</head>
+<body>
+<p>This iframe should not return any errors:</p>
+<iframe src="" _onload_="decrement()"></iframe>
+<p>This iframe should not return any errors:</p>
+<iframe src="" _onload_="decrement()"></iframe>
+</body>
+</html>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to