Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/frames/sandboxed-iframe-storage-expected.txt

Issue 2964743002: Revert "Indexed DB: Remove nonstandard IDBFactory.webkitGetDatabaseNames()" (Closed)
Patch Set: Undeprecate Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 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.
2 2
3 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 ".
4 4
5 5
6 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.
7 7
8 8
9 PASS successfullyParsed is true 9 PASS successfullyParsed is true
10 10
11 TEST COMPLETE 11 TEST COMPLETE
12 PASS successfullyParsed is true 12 PASS successfullyParsed is true
13 13
14 TEST COMPLETE 14 TEST COMPLETE
15 15
16 16
17 -------- 17 --------
18 Frame: '<!--framePath //<!--frame0-->-->' 18 Frame: '<!--framePath //<!--frame0-->-->'
19 -------- 19 --------
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.". 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.".
21 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.".
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.". 22 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.".
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.". 23 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.".
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.". 24 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.".
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.". 25 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.".
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.". 26 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.".
26 27
27 28
28 -------- 29 --------
29 Frame: '<!--framePath //<!--frame1-->-->' 30 Frame: '<!--framePath //<!--frame1-->-->'
30 -------- 31 --------
31 PASS successfullyParsed is true 32 PASS successfullyParsed is true
32 33
33 TEST COMPLETE 34 TEST COMPLETE
34 PASS window.openDatabase('SandboxedIframeStorageAllowed', '1.0', '', 1) != null is true 35 PASS window.openDatabase('SandboxedIframeStorageAllowed', '1.0', '', 1) != null is true
35 PASS window.localStorage != null is true 36 PASS window.localStorage != null is true
36 PASS window.sessionStorage != null is true 37 PASS window.sessionStorage != null is true
37 PASS document.cookie != null is true 38 PASS document.cookie != null is true
38 39
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698