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

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

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 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 1db75e7c8f086045792727719b1fef7e4078e918..86b9de618d0a1296dd38f5b9c5d89a4c7b107749 100644
--- a/LayoutTests/fast/frames/resources/sandboxed-iframe-storage-disallowed.html
+++ b/LayoutTests/fast/frames/resources/sandboxed-iframe-storage-disallowed.html
@@ -54,9 +54,9 @@ function shouldThrow(_a, _e)
<script>
window.onload = function() {
- shouldThrow("window.openDatabase('SandboxedIframeStorageDisallowed', '1.0', '', 1)", "'Error: SecurityError: DOM Exception 18'");
- shouldThrow("window.localStorage", "'Error: SecurityError: DOM Exception 18'");
- shouldThrow("window.sessionStorage", "'Error: SecurityError: DOM Exception 18'");
+ shouldThrow("window.openDatabase('SandboxedIframeStorageDisallowed', '1.0', '', 1)", "'SecurityError: An attempt was made to break through the security policy of the user agent.'");
+ shouldThrow("window.localStorage", "'SecurityError: An attempt was made to break through the security policy of the user agent.'");
+ shouldThrow("window.sessionStorage", "'SecurityError: An attempt was made to break through the security policy of the user agent.'");
}
</script>

Powered by Google App Engine
This is Rietveld 408576698