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

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

Issue 415753002: Deprecate the webkit-prefixed standard IndexedDB entry points (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
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 function test(method, args) { 7 function test(method, args) {
8 try { 8 try {
9 var request = window.webkitIndexedDB[method].call(window.webkitI ndexedDB, args); 9 var request = window.indexedDB[method].call(window.indexedDB, ar gs);
10 document.write('Successfully called window.webkitIndexedDB.' + m ethod + '().<br>'); 10 document.write('Successfully called window.indexedDB.' + method + '().<br>');
11 } catch (exception) { 11 } catch (exception) {
12 document.write('window.webkitIndexedDB.' + method + '() threw an exception: ' + exception.name + '<br>'); 12 document.write('window.indexedDB.' + method + '() threw an excep tion: ' + exception.name + '<br>');
13 } 13 }
14 } 14 }
15 test('deleteDatabase', 'testDBName'); 15 test('deleteDatabase', 'testDBName');
16 test('open', 'testDBName'); 16 test('open', 'testDBName');
17 test('webkitGetDatabaseNames'); 17 test('webkitGetDatabaseNames');
18 </script> 18 </script>
19 </body> 19 </body>
20 </head> 20 </head>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698