Changeset 139625 in webkit


Ignore:
Timestamp:
Jan 14, 2013 10:51:13 AM (11 years ago)
Author:
commit-queue@webkit.org
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 <michael@68k.org> 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:
Location:
trunk/LayoutTests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r139624 r139625  
     12013-01-14  Michael Pruett  <michael@68k.org>
     2
     3        IndexedDB: Fix test for error message in storage/indexeddb/transaction-complete-workers.html
     4        https://bugs.webkit.org/show_bug.cgi?id=106805
     5
     6        Reviewed by Tony Chang.
     7
     8        V8 prepends "Uncaught " to uncaught exceptions, while JSC does not.
     9        Either form of the error message should be acceptable.
     10
     11        * storage/indexeddb/transaction-complete-workers.html:
     12
    1132013-01-14  Levi Weintraub  <leviw@chromium.org>
    214
  • trunk/LayoutTests/storage/indexeddb/transaction-complete-workers.html

    r121492 r139625  
    1515var orig_onerror = worker.onerror;
    1616worker.onerror = function (event) {
    17     if (event.message === "Uncaught Error: ignore this") {
     17    if (event.message === "Uncaught Error: ignore this" || event.message === "Error: ignore this") {
    1818        debug("Got expected error from worker, ignoring");
    1919        evalAndLog("event.preventDefault()");
Note: See TracChangeset for help on using the changeset viewer.