blob: e3aa7a05a5327f0522bd62b1e8dbda8249e3b8ad [file] [log] [blame]
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: '<!--framePath //<!--frame0-->-->'
--------
PASS window.openDatabase('SandboxedIframeStorageDisallowed', '1.0', '', 1) threw exception Error: SecurityError: DOM Exception 18.
PASS window.localStorage threw exception Error: SecurityError: DOM Exception 18.
PASS window.sessionStorage threw exception Error: SecurityError: DOM Exception 18.
--------
Frame: '<!--framePath //<!--frame1-->-->'
--------
PASS window.openDatabase('SandboxedIframeStorageAllowed', '1.0', '', 1) != null is true
PASS window.localStorage != null is true
PASS window.sessionStorage != null is true