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

Unified Diff: LayoutTests/http/tests/workers/resources/sync-operations.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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/workers/resources/sync-operations.js
diff --git a/LayoutTests/http/tests/workers/resources/sync-operations.js b/LayoutTests/http/tests/workers/resources/sync-operations.js
index 89554246ad085151303c78d8735529d9b686ef3f..242a031153f6c6032e93d01f4ee2f6ef146278f1 100644
--- a/LayoutTests/http/tests/workers/resources/sync-operations.js
+++ b/LayoutTests/http/tests/workers/resources/sync-operations.js
@@ -20,9 +20,7 @@ onmessage = function(evt)
// Increase the change of getting caught doing a sync operation
// by repeating the opration multiple times.
for (var i = 0; i < 10; ++i) {
- if (evt.data == 'openDatabaseSync')
- openDatabaseSync('', '', '', 1);
- else if (evt.data == 'requestFileSystemSync') {
+ if (evt.data == 'requestFileSystemSync') {
if (!this.webkitRequestFileSystemSync)
return;
webkitRequestFileSystemSync(this.TEMPORARY, 100);

Powered by Google App Engine
This is Rietveld 408576698