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

Side by Side Diff: LayoutTests/fast/workers/storage/resources/transaction-in-transaction-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("TransactionInTransactionTest", "1.0", "Test that tryi ng to run a nested transaction fails.", 1);
2 db.transaction(function(tx) {
3 try {
4 db.transaction(function(nestedTx) { });
5 postMessage("FAIL: Trying to run a nested transaction should throw an ex ception." + db.lastErrorMessage);
6 } catch (err) {
7 postMessage("PASS: Exception thrown while trying to run a nested transac tion (" + db.lastErrorMessage + ").");
8 }
9 });
10
11 postMessage("done");
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698