Title: [134439] trunk/LayoutTests
- Revision
- 134439
- Author
- [email protected]
- Date
- 2012-11-13 10:45:34 -0800 (Tue, 13 Nov 2012)
Log Message
IndexedDB: storage/indexeddb/mozilla/add-twice-failure.html is flaky following r134252
https://bugs.webkit.org/show_bug.cgi?id=101996
Reviewed by Dimitri Glazkov.
Error being tested may cause transaction to abort, which could happen before or after
test output is captured. Prevent default behavior of the error so this doesn't happen.
* storage/indexeddb/mozilla/resources/add-twice-failure.js:
(addSecondExpectedError):
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (134438 => 134439)
--- trunk/LayoutTests/ChangeLog 2012-11-13 18:26:38 UTC (rev 134438)
+++ trunk/LayoutTests/ChangeLog 2012-11-13 18:45:34 UTC (rev 134439)
@@ -1,3 +1,16 @@
+2012-11-13 Joshua Bell <[email protected]>
+
+ IndexedDB: storage/indexeddb/mozilla/add-twice-failure.html is flaky following r134252
+ https://bugs.webkit.org/show_bug.cgi?id=101996
+
+ Reviewed by Dimitri Glazkov.
+
+ Error being tested may cause transaction to abort, which could happen before or after
+ test output is captured. Prevent default behavior of the error so this doesn't happen.
+
+ * storage/indexeddb/mozilla/resources/add-twice-failure.js:
+ (addSecondExpectedError):
+
2012-11-13 Erik Arvidsson <[email protected]>
Update DOMException name: HierarchyRequestError
Modified: trunk/LayoutTests/storage/indexeddb/mozilla/resources/add-twice-failure.js (134438 => 134439)
--- trunk/LayoutTests/storage/indexeddb/mozilla/resources/add-twice-failure.js 2012-11-13 18:26:38 UTC (rev 134438)
+++ trunk/LayoutTests/storage/indexeddb/mozilla/resources/add-twice-failure.js 2012-11-13 18:45:34 UTC (rev 134439)
@@ -35,5 +35,6 @@
function addSecondExpectedError()
{
shouldBe("event.target.errorCode", "IDBDatabaseException.CONSTRAINT_ERR");
+ event.preventDefault();
finishJSTest();
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes