blob: af316b214fc76e1243fa03c5c9450c3b9a5b141c [file] [log] [blame]
CONSOLE MESSAGE: line 1: Web SQL is deprecated. Please use IndexedDB instead.
CONSOLE MESSAGE: line 1: Web SQL is deprecated. Please use IndexedDB instead.
This test verifies that a sandboxed iframe does not have access to any session storage, local storage or database.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Most of the PASS messages appear in frames, presented by DumpRenderTree after the main window.
PASS successfullyParsed is true
TEST COMPLETE
--------
Frame: '<!--frame1-->'
--------
PASS window.openDatabase('SandboxedIframeStorageDisallowed', '1.0', '', 1) threw exception SecurityError: The operation is insecure..
PASS window.localStorage threw exception SecurityError: The operation is insecure..
PASS window.sessionStorage threw exception SecurityError: The operation is insecure..
--------
Frame: '<!--frame2-->'
--------
PASS window.openDatabase('SandboxedIframeStorageAllowed', '1.0', '', 1) != null is true
PASS window.localStorage != null is true
PASS window.sessionStorage != null is true