Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(217)

Unified Diff: LayoutTests/fast/frames/sandboxed-iframe-storage-expected.txt

Issue 23163004: Improve 'document.cookie' access check exception messages. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/frames/sandboxed-iframe-storage-expected.txt
diff --git a/LayoutTests/fast/frames/sandboxed-iframe-storage-expected.txt b/LayoutTests/fast/frames/sandboxed-iframe-storage-expected.txt
index 751e828d3c39ed48c61d829c72382e7785f57a27..fc98835a2e943748cc66092ff15be2c4ca9a39ce 100644
--- a/LayoutTests/fast/frames/sandboxed-iframe-storage-expected.txt
+++ b/LayoutTests/fast/frames/sandboxed-iframe-storage-expected.txt
@@ -17,6 +17,7 @@ Frame: '<!--framePath //<!--frame0-->-->'
PASS window.openDatabase('SandboxedIframeStorageDisallowed', '1.0', '', 1) threw exception "SecurityError: An attempt was made to break through the security policy of the user agent.".
PASS window.localStorage threw exception "SecurityError: Access to 'localStorage' is denied for this document. The document is sandboxed and lacks the 'allow-same-origin' flag.".
PASS window.sessionStorage threw exception "SecurityError: Access to 'sessionStorage' is denied for this document. The document is sandboxed and lacks the 'allow-same-origin' flag.".
+PASS document.cookie threw exception "SecurityError: Access to 'cookie' is denied for this document. The document is sandboxed and lacks the 'allow-same-origin' flag.".
--------
@@ -25,4 +26,5 @@ Frame: '<!--framePath //<!--frame1-->-->'
PASS window.openDatabase('SandboxedIframeStorageAllowed', '1.0', '', 1) != null is true
PASS window.localStorage != null is true
PASS window.sessionStorage != null is true
+PASS document.cookie != null is true
« no previous file with comments | « LayoutTests/fast/frames/resources/sandboxed-iframe-storage-disallowed.html ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698