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

Side by Side Diff: LayoutTests/fast/workers/storage/resources/interrupt-database-sync.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 = openDatabaseSync("InterruptDatabaseSyncTest", "1", "", 1);
2 db.transaction(function(tx) {
3 tx.executeSql("CREATE TABLE IF NOT EXISTS Test (Foo INT)");
4 var counter = 0;
5 while (true) {
6 // Put both statements on the same line, to make sure the exception is a lways reported on the same line.
7 tx.executeSql("INSERT INTO Test VALUES (1)"); tx.executeSql("DELETE FROM Test WHERE Foo = 1");
8 if (++counter == 100)
9 postMessage("terminate");
10 }
11 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698