OLD | NEW |
1 CONSOLE WARNING: line 1: indexedDB.webkitGetDatabaseNames() is deprecated and wi
ll be removed in M60, around August 2017. See https://www.chromestatus.com/featu
res/5725741740195840 for more details. | |
2 This test verifies that a sandboxed iframe does not have access to any session s
torage, local storage or database. | 1 This test verifies that a sandboxed iframe does not have access to any session s
torage, local storage or database. |
3 | 2 |
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
5 | 4 |
6 | 5 |
7 Most of the PASS messages appear in frames, presented by DumpRenderTree after th
e main window. | 6 Most of the PASS messages appear in frames, presented by DumpRenderTree after th
e main window. |
8 | 7 |
9 | 8 |
10 PASS successfullyParsed is true | 9 PASS successfullyParsed is true |
11 | 10 |
12 TEST COMPLETE | 11 TEST COMPLETE |
13 PASS successfullyParsed is true | 12 PASS successfullyParsed is true |
14 | 13 |
15 TEST COMPLETE | 14 TEST COMPLETE |
16 | 15 |
17 | 16 |
18 -------- | 17 -------- |
19 Frame: '<!--framePath //<!--frame0-->-->' | 18 Frame: '<!--framePath //<!--frame0-->-->' |
20 -------- | 19 -------- |
21 PASS window.openDatabase('SandboxedIframeStorageDisallowed', '1.0', '', 1) threw
exception "SecurityError: Failed to execute 'openDatabase' on 'Window': Access
to the WebDatabase API is denied in this context.". | 20 PASS window.openDatabase('SandboxedIframeStorageDisallowed', '1.0', '', 1) threw
exception "SecurityError: Failed to execute 'openDatabase' on 'Window': Access
to the WebDatabase API is denied in this context.". |
22 PASS window.indexedDB.webkitGetDatabaseNames() threw exception "SecurityError: F
ailed to execute 'webkitGetDatabaseNames' on 'IDBFactory': access to the Indexed
Database API is denied in this context.". | |
23 PASS window.indexedDB.open('foo') threw exception "SecurityError: Failed to exec
ute 'open' on 'IDBFactory': access to the Indexed Database API is denied in this
context.". | 21 PASS window.indexedDB.open('foo') threw exception "SecurityError: Failed to exec
ute 'open' on 'IDBFactory': access to the Indexed Database API is denied in this
context.". |
24 PASS window.indexedDB.deleteDatabase('foo') threw exception "SecurityError: Fail
ed to execute 'deleteDatabase' on 'IDBFactory': access to the Indexed Database A
PI is denied in this context.". | 22 PASS window.indexedDB.deleteDatabase('foo') threw exception "SecurityError: Fail
ed to execute 'deleteDatabase' on 'IDBFactory': access to the Indexed Database A
PI is denied in this context.". |
25 PASS window.localStorage threw exception "SecurityError: Failed to read the 'loc
alStorage' property from 'Window': The document is sandboxed and lacks the 'allo
w-same-origin' flag.". | 23 PASS window.localStorage threw exception "SecurityError: Failed to read the 'loc
alStorage' property from 'Window': The document is sandboxed and lacks the 'allo
w-same-origin' flag.". |
26 PASS window.sessionStorage threw exception "SecurityError: Failed to read the 's
essionStorage' property from 'Window': The document is sandboxed and lacks the '
allow-same-origin' flag.". | 24 PASS window.sessionStorage threw exception "SecurityError: Failed to read the 's
essionStorage' property from 'Window': The document is sandboxed and lacks the '
allow-same-origin' flag.". |
27 PASS document.cookie threw exception "SecurityError: Failed to read the 'cookie'
property from 'Document': The document is sandboxed and lacks the 'allow-same-o
rigin' flag.". | 25 PASS document.cookie threw exception "SecurityError: Failed to read the 'cookie'
property from 'Document': The document is sandboxed and lacks the 'allow-same-o
rigin' flag.". |
28 | 26 |
29 | 27 |
30 -------- | 28 -------- |
31 Frame: '<!--framePath //<!--frame1-->-->' | 29 Frame: '<!--framePath //<!--frame1-->-->' |
32 -------- | 30 -------- |
33 PASS successfullyParsed is true | 31 PASS successfullyParsed is true |
34 | 32 |
35 TEST COMPLETE | 33 TEST COMPLETE |
36 PASS window.openDatabase('SandboxedIframeStorageAllowed', '1.0', '', 1) != null
is true | 34 PASS window.openDatabase('SandboxedIframeStorageAllowed', '1.0', '', 1) != null
is true |
37 PASS window.localStorage != null is true | 35 PASS window.localStorage != null is true |
38 PASS window.sessionStorage != null is true | 36 PASS window.sessionStorage != null is true |
39 PASS document.cookie != null is true | 37 PASS document.cookie != null is true |
40 | 38 |
OLD | NEW |