Title: [139625] trunk/LayoutTests
Revision
139625
Author
[email protected]
Date
2013-01-14 10:51:13 -0800 (Mon, 14 Jan 2013)

Log Message

IndexedDB: Fix test for error message in storage/indexeddb/transaction-complete-workers.html
https://bugs.webkit.org/show_bug.cgi?id=106805

Patch by Michael Pruett <[email protected]> on 2013-01-14
Reviewed by Tony Chang.

V8 prepends "Uncaught " to uncaught exceptions, while JSC does not.
Either form of the error message should be acceptable.

* storage/indexeddb/transaction-complete-workers.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (139624 => 139625)


--- trunk/LayoutTests/ChangeLog	2013-01-14 18:28:46 UTC (rev 139624)
+++ trunk/LayoutTests/ChangeLog	2013-01-14 18:51:13 UTC (rev 139625)
@@ -1,3 +1,15 @@
+2013-01-14  Michael Pruett  <[email protected]>
+
+        IndexedDB: Fix test for error message in storage/indexeddb/transaction-complete-workers.html
+        https://bugs.webkit.org/show_bug.cgi?id=106805
+
+        Reviewed by Tony Chang.
+
+        V8 prepends "Uncaught " to uncaught exceptions, while JSC does not.
+        Either form of the error message should be acceptable.
+
+        * storage/indexeddb/transaction-complete-workers.html:
+
 2013-01-14  Levi Weintraub  <[email protected]>
 
         Unreviewed gardening. Marking editing/spelling/spellcheck-sequencenum.html

Modified: trunk/LayoutTests/storage/indexeddb/transaction-complete-workers.html (139624 => 139625)


--- trunk/LayoutTests/storage/indexeddb/transaction-complete-workers.html	2013-01-14 18:28:46 UTC (rev 139624)
+++ trunk/LayoutTests/storage/indexeddb/transaction-complete-workers.html	2013-01-14 18:51:13 UTC (rev 139625)
@@ -14,7 +14,7 @@
 
 var orig_onerror = worker.onerror;
 worker._onerror_ = function (event) {
-    if (event.message === "Uncaught Error: ignore this") {
+    if (event.message === "Uncaught Error: ignore this" || event.message === "Error: ignore this") {
         debug("Got expected error from worker, ignoring");
         evalAndLog("event.preventDefault()");
     } else if (orig_onerror) {
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to