Replacing all RANDOMBLOB calls with ZEROBLOB calls in preparation
authordumi@chromium.org <dumi@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 9 Jan 2010 00:05:52 +0000 (00:05 +0000)
committerdumi@chromium.org <dumi@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 9 Jan 2010 00:05:52 +0000 (00:05 +0000)
for denying RANDOMBLOB calls in HTML5 DB transactions.

Reviewed by Eric Seidel.

https://bugs.webkit.org/show_bug.cgi?id=33396

* storage/open-database-while-transaction-in-progress.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53021 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/storage/open-database-while-transaction-in-progress.html

index ff7960d41f2e2fade7da2107cadfec756c0b2816..e5c52e513c07bc794b00abfd1532ce6eefee2b60 100644 (file)
@@ -1,3 +1,14 @@
+2010-01-08  Dumitru Daniliuc  <dumi@chromium.org>
+
+        Reviewed by Eric Seidel.
+
+        Replacing all RANDOMBLOB calls with ZEROBLOB calls in preparation
+        for denying RANDOMBLOB calls in HTML5 DB transactions.
+
+        https://bugs.webkit.org/show_bug.cgi?id=33396
+
+        * storage/open-database-while-transaction-in-progress.html:
+
 2010-01-08  Alexey Proskuryakov  <ap@apple.com>
 
         Reviewed by Eric Seidel.
index faa63b604402ec1fdad0a3fc3cc0f8e2accbe89b..691f6fefa0f745a0a2969c3a3f88ed9f4a8acc0f 100644 (file)
@@ -44,7 +44,7 @@ function runTest()
         db1.transaction(function(tx) {
             // Create the Test table if it does not exist
             tx.executeSql("CREATE TABLE IF NOT EXISTS Test (Foo BLOB);");
-            tx.executeSql("INSERT INTO Test VALUES (RANDOMBLOB(2097152));", [],
+            tx.executeSql("INSERT INTO Test VALUES (ZEROBLOB(2097152));", [],
                           function(result) {
                               var db2 = openTestDatabase();
                               log("openDatabase() succeeded.");