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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/resources/cross-origin-iframe-for-indexeddb.html

Issue 2818173003: Indexed DB: Remove nonstandard IDBFactory.webkitGetDatabaseNames() (Closed)
Patch Set: Remove content_browsertest for wGDN Created 3 years, 7 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 </head> 4 </head>
5 <body> 5 <body>
6 <script> 6 <script>
7 if (window.testRunner) 7 if (window.testRunner)
8 testRunner.setDumpConsoleMessages(false); 8 testRunner.setDumpConsoleMessages(false);
9 function test(method, args) { 9 function test(method, args) {
10 try { 10 try {
11 var request = window.indexedDB[method].call(window.indexedDB, ar gs); 11 var request = window.indexedDB[method].call(window.indexedDB, ar gs);
12 document.write('Successfully called window.indexedDB.' + method + '().<br>'); 12 document.write('Successfully called window.indexedDB.' + method + '().<br>');
13 } catch (exception) { 13 } catch (exception) {
14 document.write('window.indexedDB.' + method + '() threw an excep tion: ' + exception.name + '<br>'); 14 document.write('window.indexedDB.' + method + '() threw an excep tion: ' + exception.name + '<br>');
15 } 15 }
16 } 16 }
17 test('deleteDatabase', 'testDBName'); 17 test('deleteDatabase', 'testDBName');
18 test('open', 'testDBName'); 18 test('open', 'testDBName');
19 test('webkitGetDatabaseNames');
20 </script> 19 </script>
21 </body> 20 </body>
22 </head> 21 </head>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698