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

Side by Side Diff: LayoutTests/fast/workers/storage/resources/use-same-database-in-page-and-workers.js

Issue 561093003: Remove worker support of Web SQL Database. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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
(Empty)
1 var db = openDatabase("UseSameDatabaseInPageAndWorkers", "", "", 1);
2 for (var i = 0; i < 100; i++) {
3 db.transaction(function(tx) {
4 tx.executeSql("INSERT INTO Test VALUES (?)", [i], null,
5 function(tx, error) { postMessage(error.message); });
6 }, function(error) { postMessage(error.message); },
7 function() { postMessage("transactionSuccessful"); });
8 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698