Index: third_party/WebKit/LayoutTests/fast/frames/resources/sandboxed-iframe-storage-disallowed.html |
diff --git a/third_party/WebKit/LayoutTests/fast/frames/resources/sandboxed-iframe-storage-disallowed.html b/third_party/WebKit/LayoutTests/fast/frames/resources/sandboxed-iframe-storage-disallowed.html |
index 00a592bb85ab49f5e282dcdd56541e25c6592b82..35f54e557d4540b34e4ce1f98f2729d87ec44cdf 100644 |
--- a/third_party/WebKit/LayoutTests/fast/frames/resources/sandboxed-iframe-storage-disallowed.html |
+++ b/third_party/WebKit/LayoutTests/fast/frames/resources/sandboxed-iframe-storage-disallowed.html |
@@ -55,6 +55,7 @@ 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 \'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: Failed to read the \'localStorage\' property from \'Window\': The document is sandboxed and lacks the \'allow-same-origin\' flag."'); |