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

Unified Diff: LayoutTests/fast/frames/resources/sandboxed-iframe-storage-disallowed.html

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/resources/sandboxed-iframe-storage-disallowed.html
diff --git a/LayoutTests/fast/frames/resources/sandboxed-iframe-storage-disallowed.html b/LayoutTests/fast/frames/resources/sandboxed-iframe-storage-disallowed.html
index caad86dc89a8b5e946d58ca68b220ce2c44e2452..9ff0288260ce40d5d3fa8e78c4664e54b2e3615a 100644
--- a/LayoutTests/fast/frames/resources/sandboxed-iframe-storage-disallowed.html
+++ b/LayoutTests/fast/frames/resources/sandboxed-iframe-storage-disallowed.html
@@ -57,6 +57,7 @@ window.onload = function() {
shouldThrow("window.openDatabase('SandboxedIframeStorageDisallowed', '1.0', '', 1)");
shouldThrow("window.localStorage", '"SecurityError: Access to \'localStorage\' is denied for this document. The document is sandboxed and lacks the \'allow-same-origin\' flag."');
shouldThrow("window.sessionStorage", '"SecurityError: Access to \'sessionStorage\' is denied for this document. The document is sandboxed and lacks the \'allow-same-origin\' flag."');
+ shouldThrow("document.cookie",'"SecurityError: Access to \'cookie\' is denied for this document. The document is sandboxed and lacks the \'allow-same-origin\' flag."') ;
}
</script>

Powered by Google App Engine
This is Rietveld 408576698