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 d5cae0bca36f775217f4fc7fb2ec31d330c98b0b..35f54e557d4540b34e4ce1f98f2729d87ec44cdf 100644 |
--- a/LayoutTests/fast/frames/resources/sandboxed-iframe-storage-disallowed.html |
+++ b/LayoutTests/fast/frames/resources/sandboxed-iframe-storage-disallowed.html |
@@ -55,12 +55,12 @@ function shouldThrow(_a, _e) |
window.onload = function() { |
shouldThrow("window.openDatabase('SandboxedIframeStorageDisallowed', '1.0', '', 1)", '"SecurityError: Failed to execute \'openDatabase\' on \'Window\': Access to the WebDatabase API is denied in this context."'); |
- shouldThrow("window.indexedDB.webkitGetDatabaseNames()", '"SecurityError: Failed to execute \'getDatabaseNames\' on \'IDBFactory\': access to the Indexed Database API is denied in this context."'); |
+ shouldThrow("window.indexedDB.webkitGetDatabaseNames()", '"SecurityError: Failed to execute \'webkitGetDatabaseNames\' on \'IDBFactory\': access to the Indexed Database API is denied in this context."'); |
shouldThrow("window.indexedDB.open('foo')", '"SecurityError: Failed to execute \'open\' on \'IDBFactory\': access to the Indexed Database API is denied in this context."'); |
shouldThrow("window.indexedDB.deleteDatabase('foo')", '"SecurityError: Failed to execute \'deleteDatabase\' on \'IDBFactory\': access to the Indexed Database API is denied in this context."'); |
- 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."') ; |
+ shouldThrow("window.localStorage", '"SecurityError: Failed to read the \'localStorage\' property from \'Window\': The document is sandboxed and lacks the \'allow-same-origin\' flag."'); |
+ shouldThrow("window.sessionStorage", '"SecurityError: Failed to read the \'sessionStorage\' property from \'Window\': The document is sandboxed and lacks the \'allow-same-origin\' flag."'); |
+ shouldThrow("document.cookie",'"SecurityError: Failed to read the \'cookie\' property from \'Document\': The document is sandboxed and lacks the \'allow-same-origin\' flag."') ; |
} |
</script> |