Title: [122613] trunk/LayoutTests
Revision
122613
Author
dgro...@chromium.org
Date
2012-07-13 12:00:01 -0700 (Fri, 13 Jul 2012)

Log Message

IndexedDB: Add unexpectedUpgradeNeededCallback to shared.js
https://bugs.webkit.org/show_bug.cgi?id=91176

Reviewed by Tony Chang.

This is just used in our layout tests.  It's the simplest possible piece
I could break off of the upgradeneeded changes.

No tests because no change in behavior expected.

* storage/indexeddb/resources/shared.js:
(unexpectedBlockedCallback):
(unexpectedUpgradeNeededCallback):

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (122612 => 122613)


--- trunk/LayoutTests/ChangeLog	2012-07-13 18:50:01 UTC (rev 122612)
+++ trunk/LayoutTests/ChangeLog	2012-07-13 19:00:01 UTC (rev 122613)
@@ -1,3 +1,19 @@
+2012-07-13  David Grogan  <dgro...@chromium.org>
+
+        IndexedDB: Add unexpectedUpgradeNeededCallback to shared.js
+        https://bugs.webkit.org/show_bug.cgi?id=91176
+
+        Reviewed by Tony Chang.
+
+        This is just used in our layout tests.  It's the simplest possible piece
+        I could break off of the upgradeneeded changes.
+
+        No tests because no change in behavior expected.
+
+        * storage/indexeddb/resources/shared.js:
+        (unexpectedBlockedCallback):
+        (unexpectedUpgradeNeededCallback):
+
 2012-07-13  Zan Dobersek  <zandober...@gmail.com>
 
         Unreviewed GTK gardening, removing timeout expectations for a few

Modified: trunk/LayoutTests/storage/indexeddb/resources/shared.js (122612 => 122613)


--- trunk/LayoutTests/storage/indexeddb/resources/shared.js	2012-07-13 18:50:01 UTC (rev 122612)
+++ trunk/LayoutTests/storage/indexeddb/resources/shared.js	2012-07-13 19:00:01 UTC (rev 122613)
@@ -71,6 +71,12 @@
     finishJSTest();
 }
 
+function unexpectedUpgradeNeededCallback()
+{
+    testFailed("onupgradeneeded called unexpectedly");
+    finishJSTest();
+}
+
 function evalAndExpectException(cmd, exceptionCode, exceptionName)
 {
     debug("Expecting exception from " + cmd);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to