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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/resources/worker-for-indexeddb.js

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 self.onmessage = function() { 1 self.onmessage = function() {
2 function test(method, args) { 2 function test(method, args) {
3 try { 3 try {
4 var request = self.indexedDB[method].call(self.indexedDB, args); 4 var request = self.indexedDB[method].call(self.indexedDB, args);
5 return 'Successfully called self.indexedDB.' + method + '().<br>'; 5 return 'Successfully called self.indexedDB.' + method + '().<br>';
6 } catch (exception) { 6 } catch (exception) {
7 return 'self.indexedDB.' + method + '() threw an exception: ' + exce ption.name + '<br>'; 7 return 'self.indexedDB.' + method + '() threw an exception: ' + exce ption.name + '<br>';
8 } 8 }
9 } 9 }
10 self.postMessage({ 10 self.postMessage({
11 'result': [ 11 'result': [
12 test('deleteDatabase', 'testDBName'), 12 test('deleteDatabase', 'testDBName'),
13 test('open', 'testDBName'), 13 test('open', 'testDBName'),
14 test('webkitGetDatabaseNames')
15 ] 14 ]
16 }); 15 });
17 }; 16 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698