Title: [164033] trunk/LayoutTests
Revision
164033
Author
[email protected]
Date
2014-02-13 10:05:11 -0800 (Thu, 13 Feb 2014)

Log Message

IDB: TestExpectations batch - "transaction-abort.html to versionchangerequest-activedomobject.html”

Unreviewed.

* platform/mac-wk2/TestExpectations:
* storage/indexeddb/transaction-active-flag-expected.txt:
* storage/indexeddb/transaction-after-close-expected.txt:
* storage/indexeddb/transaction-read-only-expected.txt:
* storage/indexeddb/transaction-storeNames-required-expected.txt:
* storage/indexeddb/version-change-abort-expected.txt:
* storage/indexeddb/version-change-exclusive-expected.txt:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (164032 => 164033)


--- trunk/LayoutTests/ChangeLog	2014-02-13 18:00:47 UTC (rev 164032)
+++ trunk/LayoutTests/ChangeLog	2014-02-13 18:05:11 UTC (rev 164033)
@@ -1,3 +1,17 @@
+2014-02-13  Brady Eidson  <[email protected]>
+
+        IDB: TestExpectations batch - "transaction-abort.html to versionchangerequest-activedomobject.html”
+
+        Unreviewed.
+
+        * platform/mac-wk2/TestExpectations:
+        * storage/indexeddb/transaction-active-flag-expected.txt:
+        * storage/indexeddb/transaction-after-close-expected.txt:
+        * storage/indexeddb/transaction-read-only-expected.txt:
+        * storage/indexeddb/transaction-storeNames-required-expected.txt:
+        * storage/indexeddb/version-change-abort-expected.txt:
+        * storage/indexeddb/version-change-exclusive-expected.txt:
+
 2014-02-13  Alexey Proskuryakov  <[email protected]>
 
         REGRESSION: fast/workers/use-machine-stack.html hits Heap::isMarked(cell) assertion

Modified: trunk/LayoutTests/platform/mac-wk2/TestExpectations (164032 => 164033)


--- trunk/LayoutTests/platform/mac-wk2/TestExpectations	2014-02-13 18:00:47 UTC (rev 164032)
+++ trunk/LayoutTests/platform/mac-wk2/TestExpectations	2014-02-13 18:05:11 UTC (rev 164033)
@@ -537,11 +537,33 @@
 storage/indexeddb/request-continue-abort.html [ Pass ]
 storage/indexeddb/request-event-propagation.html [ Pass ]
 storage/indexeddb/request-result-cache.html [ Pass ]
+storage/indexeddb/transaction-active-flag.html [ Pass ]
+storage/indexeddb/transaction-after-close.html [ Pass ]
+storage/indexeddb/transaction-complete-with-js-recursion-cross-frame.html [ Pass ]
+storage/indexeddb/transaction-complete-with-js-recursion.html [ Pass ]
+storage/indexeddb/transaction-coordination-across-databases.html [ Pass ]
+storage/indexeddb/transaction-crash-in-tasks.html [ Pass ]
+storage/indexeddb/transaction-crash-on-abort.html [ Pass ]
+storage/indexeddb/transaction-event-propagation.html [ Pass ]
+storage/indexeddb/transaction-ordering.html [ Pass ]
+storage/indexeddb/transaction-read-only.html [ Pass ]
+storage/indexeddb/transaction-readwrite-exclusive.html [ Pass ]
+storage/indexeddb/transaction-rollback.html [ Pass ]
+storage/indexeddb/transaction-starvation.html [ Pass ]
+storage/indexeddb/transaction-storeNames-required.html [ Pass ]
+storage/indexeddb/unblocked-version-changes.html [ Pass ]
+storage/indexeddb/unprefix.html [ Pass ]
+storage/indexeddb/value-undefined.html [ Pass ]
+storage/indexeddb/values-odd-types.html [ Pass ]
+storage/indexeddb/version-change-abort.html [ Pass ]
+storage/indexeddb/version-change-exclusive.html [ Pass ]
+storage/indexeddb/versionchangerequest-activedomobject.html [ Pass ]
 
 # Blink tests with unexplained timeouts
 storage/indexeddb/exceptions.html [ Skip ]
+storage/indexeddb/transaction-basics.html [ Skip ]
 
-# Blink tests with complicated text failures.
+# Blink tests with non-trivial text failures.
 storage/indexeddb/create-object-store-options.html [ Skip ]
 storage/indexeddb/cursor-advance.html [ Skip ]
 storage/indexeddb/cursor-basics.html [ Skip ]
@@ -579,12 +601,16 @@
 storage/indexeddb/request-leak.html [ Skip ] # Missing WKTR support? GC?
 storage/indexeddb/setversion-blocked-by-versionchange-close.html [ Skip ]
 storage/indexeddb/structured-clone.html [ Skip ] # Missing DRT file/blob support
+storage/indexeddb/transaction-and-objectstore-calls.html [ Skip ]
+storage/indexeddb/transaction-error.html [ Skip ]
+storage/indexeddb/transaction-scope-sequencing.html [ Skip ]
 
 # Blink tests that crash the WebProcess.
 storage/indexeddb/cursor-cast.html [ Skip ]
 storage/indexeddb/deleted-objects.html [ Skip ] # Crashes under WebCore::GetOperation::GetOperation
 storage/indexeddb/metadata.html [ Skip ] # Crashes under IDBDatabaseBackend::createIndex
 storage/indexeddb/persistence.html [ Skip ] # Crash under IDBDatabaseBackend::createObjectStore
+storage/indexeddb/transaction-abort.html [ Skip ] # IDBTransactionBackend::start()
 
 # Blink tests that crash the WebProcess under IDBDatabase::dispatchEvent or IDBRequest::dispatchEvent (possibly all related).
 storage/indexeddb/database-deletepending-flag.html [ Skip ]	  
@@ -614,6 +640,7 @@
 storage/indexeddb/deleteIndex.html [ Skip ] # Crashes under WebKit::UniqueIDBDatabase::deleteIndex
 storage/indexeddb/index-cursor.html [ Skip ] # Flaky crash under UniqueIDBDatabase::unregisterConnection
 storage/indexeddb/open-ordering.html [ Skip ] # DatabaseProcessIDBConnection::GetOrEstablishIDBDatabaseMetadata
+storage/indexeddb/transaction-coordination-within-database.html [ Skip ] # SQLiteTransaction::begin
 
 # Blink tests that crash the DatabaseProcess under DatabaseProcessIDBConnection::deleteDatabase.
 storage/indexeddb/database-closepending-flag.html [ Skip ]

Modified: trunk/LayoutTests/storage/indexeddb/transaction-active-flag-expected.txt (164032 => 164033)


--- trunk/LayoutTests/storage/indexeddb/transaction-active-flag-expected.txt	2014-02-13 18:00:47 UTC (rev 164032)
+++ trunk/LayoutTests/storage/indexeddb/transaction-active-flag-expected.txt	2014-02-13 18:05:11 UTC (rev 164033)
@@ -60,162 +60,162 @@
 PASS Exception was thrown.
 PASS code is 0
 PASS ename is 'TransactionInactiveError'
-Exception message: Failed to execute 'add' on 'IDBObjectStore': The transaction is not active.
+Exception message: TransactionInactiveError: DOM IDBDatabase Exception 0
 Expecting exception from store.put(0, 0)
 PASS Exception was thrown.
 PASS code is 0
 PASS ename is 'TransactionInactiveError'
-Exception message: Failed to execute 'put' on 'IDBObjectStore': The transaction is not active.
+Exception message: TransactionInactiveError: DOM IDBDatabase Exception 0
 Expecting exception from store.get(0)
 PASS Exception was thrown.
 PASS code is 0
 PASS ename is 'TransactionInactiveError'
-Exception message: Failed to execute 'get' on 'IDBObjectStore': The transaction is not active.
+Exception message: TransactionInactiveError: DOM IDBDatabase Exception 0
 Expecting exception from store.get(IDBKeyRange.only(0))
 PASS Exception was thrown.
 PASS code is 0
 PASS ename is 'TransactionInactiveError'
-Exception message: Failed to execute 'get' on 'IDBObjectStore': The transaction is not active.
+Exception message: TransactionInactiveError: DOM IDBDatabase Exception 0
 Expecting exception from store.delete(0)
 PASS Exception was thrown.
 PASS code is 0
 PASS ename is 'TransactionInactiveError'
-Exception message: Failed to execute 'delete' on 'IDBObjectStore': The transaction is not active.
+Exception message: TransactionInactiveError: DOM IDBDatabase Exception 0
 Expecting exception from store.delete(IDBKeyRange.only(0))
 PASS Exception was thrown.
 PASS code is 0
 PASS ename is 'TransactionInactiveError'
-Exception message: Failed to execute 'delete' on 'IDBObjectStore': The transaction is not active.
+Exception message: TransactionInactiveError: DOM IDBDatabase Exception 0
 Expecting exception from store.count()
 PASS Exception was thrown.
 PASS code is 0
 PASS ename is 'TransactionInactiveError'
-Exception message: Failed to execute 'count' on 'IDBObjectStore': The transaction is not active.
+Exception message: TransactionInactiveError: DOM IDBDatabase Exception 0
 Expecting exception from store.count(0)
 PASS Exception was thrown.
 PASS code is 0
 PASS ename is 'TransactionInactiveError'
-Exception message: Failed to execute 'count' on 'IDBObjectStore': The transaction is not active.
+Exception message: TransactionInactiveError: DOM IDBDatabase Exception 0
 Expecting exception from store.count(IDBKeyRange.only(0))
 PASS Exception was thrown.
 PASS code is 0
 PASS ename is 'TransactionInactiveError'
-Exception message: Failed to execute 'count' on 'IDBObjectStore': The transaction is not active.
+Exception message: TransactionInactiveError: DOM IDBDatabase Exception 0
 Expecting exception from store.clear()
 PASS Exception was thrown.
 PASS code is 0
 PASS ename is 'TransactionInactiveError'
-Exception message: Failed to execute 'clear' on 'IDBObjectStore': The transaction is not active.
+Exception message: TransactionInactiveError: DOM IDBDatabase Exception 0
 Expecting exception from store.openCursor()
 PASS Exception was thrown.
 PASS code is 0
 PASS ename is 'TransactionInactiveError'
-Exception message: Failed to execute 'openCursor' on 'IDBObjectStore': The transaction is not active.
+Exception message: TransactionInactiveError: DOM IDBDatabase Exception 0
 Expecting exception from store.openCursor(0)
 PASS Exception was thrown.
 PASS code is 0
 PASS ename is 'TransactionInactiveError'
-Exception message: Failed to execute 'openCursor' on 'IDBObjectStore': The transaction is not active.
+Exception message: TransactionInactiveError: DOM IDBDatabase Exception 0
 Expecting exception from store.openCursor(0, 'next')
 PASS Exception was thrown.
 PASS code is 0
 PASS ename is 'TransactionInactiveError'
-Exception message: Failed to execute 'openCursor' on 'IDBObjectStore': The transaction is not active.
+Exception message: TransactionInactiveError: DOM IDBDatabase Exception 0
 Expecting exception from store.openCursor(IDBKeyRange.only(0))
 PASS Exception was thrown.
 PASS code is 0
 PASS ename is 'TransactionInactiveError'
-Exception message: Failed to execute 'openCursor' on 'IDBObjectStore': The transaction is not active.
+Exception message: TransactionInactiveError: DOM IDBDatabase Exception 0
 Expecting exception from store.openCursor(IDBKeyRange.only(0), 'next')
 PASS Exception was thrown.
 PASS code is 0
 PASS ename is 'TransactionInactiveError'
-Exception message: Failed to execute 'openCursor' on 'IDBObjectStore': The transaction is not active.
+Exception message: TransactionInactiveError: DOM IDBDatabase Exception 0
 Expecting exception from index.get(0)
 PASS Exception was thrown.
 PASS code is 0
 PASS ename is 'TransactionInactiveError'
-Exception message: Failed to execute 'get' on 'IDBIndex': The transaction is not active.
+Exception message: TransactionInactiveError: DOM IDBDatabase Exception 0
 Expecting exception from index.get(IDBKeyRange.only(0))
 PASS Exception was thrown.
 PASS code is 0
 PASS ename is 'TransactionInactiveError'
-Exception message: Failed to execute 'get' on 'IDBIndex': The transaction is not active.
+Exception message: TransactionInactiveError: DOM IDBDatabase Exception 0
 Expecting exception from index.getKey(0)
 PASS Exception was thrown.
 PASS code is 0
 PASS ename is 'TransactionInactiveError'
-Exception message: Failed to execute 'getKey' on 'IDBIndex': The transaction is not active.
+Exception message: TransactionInactiveError: DOM IDBDatabase Exception 0
 Expecting exception from index.getKey(IDBKeyRange.only(0))
 PASS Exception was thrown.
 PASS code is 0
 PASS ename is 'TransactionInactiveError'
-Exception message: Failed to execute 'getKey' on 'IDBIndex': The transaction is not active.
+Exception message: TransactionInactiveError: DOM IDBDatabase Exception 0
 Expecting exception from index.count()
 PASS Exception was thrown.
 PASS code is 0
 PASS ename is 'TransactionInactiveError'
-Exception message: Failed to execute 'count' on 'IDBIndex': The transaction is not active.
+Exception message: TransactionInactiveError: DOM IDBDatabase Exception 0
 Expecting exception from index.count(0)
 PASS Exception was thrown.
 PASS code is 0
 PASS ename is 'TransactionInactiveError'
-Exception message: Failed to execute 'count' on 'IDBIndex': The transaction is not active.
+Exception message: TransactionInactiveError: DOM IDBDatabase Exception 0
 Expecting exception from index.count(IDBKeyRange.only(0))
 PASS Exception was thrown.
 PASS code is 0
 PASS ename is 'TransactionInactiveError'
-Exception message: Failed to execute 'count' on 'IDBIndex': The transaction is not active.
+Exception message: TransactionInactiveError: DOM IDBDatabase Exception 0
 Expecting exception from index.openCursor()
 PASS Exception was thrown.
 PASS code is 0
 PASS ename is 'TransactionInactiveError'
-Exception message: Failed to execute 'openCursor' on 'IDBIndex': The transaction is not active.
+Exception message: TransactionInactiveError: DOM IDBDatabase Exception 0
 Expecting exception from index.openCursor(0)
 PASS Exception was thrown.
 PASS code is 0
 PASS ename is 'TransactionInactiveError'
-Exception message: Failed to execute 'openCursor' on 'IDBIndex': The transaction is not active.
+Exception message: TransactionInactiveError: DOM IDBDatabase Exception 0
 Expecting exception from index.openCursor(0, 'next')
 PASS Exception was thrown.
 PASS code is 0
 PASS ename is 'TransactionInactiveError'
-Exception message: Failed to execute 'openCursor' on 'IDBIndex': The transaction is not active.
+Exception message: TransactionInactiveError: DOM IDBDatabase Exception 0
 Expecting exception from index.openCursor(IDBKeyRange.only(0))
 PASS Exception was thrown.
 PASS code is 0
 PASS ename is 'TransactionInactiveError'
-Exception message: Failed to execute 'openCursor' on 'IDBIndex': The transaction is not active.
+Exception message: TransactionInactiveError: DOM IDBDatabase Exception 0
 Expecting exception from index.openCursor(IDBKeyRange.only(0), 'next')
 PASS Exception was thrown.
 PASS code is 0
 PASS ename is 'TransactionInactiveError'
-Exception message: Failed to execute 'openCursor' on 'IDBIndex': The transaction is not active.
+Exception message: TransactionInactiveError: DOM IDBDatabase Exception 0
 Expecting exception from index.openKeyCursor()
 PASS Exception was thrown.
 PASS code is 0
 PASS ename is 'TransactionInactiveError'
-Exception message: Failed to execute 'openKeyCursor' on 'IDBIndex': The transaction is not active.
+Exception message: TransactionInactiveError: DOM IDBDatabase Exception 0
 Expecting exception from index.openKeyCursor(0)
 PASS Exception was thrown.
 PASS code is 0
 PASS ename is 'TransactionInactiveError'
-Exception message: Failed to execute 'openKeyCursor' on 'IDBIndex': The transaction is not active.
+Exception message: TransactionInactiveError: DOM IDBDatabase Exception 0
 Expecting exception from index.openKeyCursor(0, 'next')
 PASS Exception was thrown.
 PASS code is 0
 PASS ename is 'TransactionInactiveError'
-Exception message: Failed to execute 'openKeyCursor' on 'IDBIndex': The transaction is not active.
+Exception message: TransactionInactiveError: DOM IDBDatabase Exception 0
 Expecting exception from index.openKeyCursor(IDBKeyRange.only(0))
 PASS Exception was thrown.
 PASS code is 0
 PASS ename is 'TransactionInactiveError'
-Exception message: Failed to execute 'openKeyCursor' on 'IDBIndex': The transaction is not active.
+Exception message: TransactionInactiveError: DOM IDBDatabase Exception 0
 Expecting exception from index.openKeyCursor(IDBKeyRange.only(0), 'next')
 PASS Exception was thrown.
 PASS code is 0
 PASS ename is 'TransactionInactiveError'
-Exception message: Failed to execute 'openKeyCursor' on 'IDBIndex': The transaction is not active.
+Exception message: TransactionInactiveError: DOM IDBDatabase Exception 0
 
 testEventCallback():
 Transaction should be active inside a non-IDB-event callback
@@ -259,7 +259,7 @@
 PASS Exception was thrown.
 PASS code is DOMException.INVALID_STATE_ERR
 PASS ename is 'InvalidStateError'
-Exception message: Failed to execute 'objectStore' on 'IDBTransaction': The transaction has finished.
+Exception message: InvalidStateError: DOM IDBDatabase Exception 11
 PASS successfullyParsed is true
 
 TEST COMPLETE

Modified: trunk/LayoutTests/storage/indexeddb/transaction-after-close-expected.txt (164032 => 164033)


--- trunk/LayoutTests/storage/indexeddb/transaction-after-close-expected.txt	2014-02-13 18:00:47 UTC (rev 164032)
+++ trunk/LayoutTests/storage/indexeddb/transaction-after-close-expected.txt	2014-02-13 18:05:11 UTC (rev 164033)
@@ -19,7 +19,7 @@
 PASS Exception was thrown.
 PASS code is DOMException.INVALID_STATE_ERR
 PASS ename is 'InvalidStateError'
-Exception message: Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.
+Exception message: InvalidStateError: DOM IDBDatabase Exception 11
 
 verify that we can reopen the db after calling close
 indexedDB.open(dbname)

Modified: trunk/LayoutTests/storage/indexeddb/transaction-read-only-expected.txt (164032 => 164033)


--- trunk/LayoutTests/storage/indexeddb/transaction-read-only-expected.txt	2014-02-13 18:00:47 UTC (rev 164032)
+++ trunk/LayoutTests/storage/indexeddb/transaction-read-only-expected.txt	2014-02-13 18:05:11 UTC (rev 164033)
@@ -15,13 +15,13 @@
 PASS Exception was thrown.
 PASS code is 0
 PASS ename is 'ReadOnlyError'
-Exception message: Failed to execute 'put' on 'IDBObjectStore': The transaction is read-only.
+Exception message: ReadOnlyError: DOM IDBDatabase Exception 0
 trans = db.transaction('store')
 Expecting exception from trans.objectStore('store').delete('x')
 PASS Exception was thrown.
 PASS code is 0
 PASS ename is 'ReadOnlyError'
-Exception message: Failed to execute 'delete' on 'IDBObjectStore': The transaction is read-only.
+Exception message: ReadOnlyError: DOM IDBDatabase Exception 0
 trans = db.transaction('store')
 cur = trans.objectStore('store').openCursor()
 PASS !event.target.result is false
@@ -29,7 +29,7 @@
 PASS Exception was thrown.
 PASS code is 0
 PASS ename is 'ReadOnlyError'
-Exception message: Failed to execute 'delete' on 'IDBCursor': The record may not be deleted inside a read-only transaction.
+Exception message: ReadOnlyError: DOM IDBDatabase Exception 0
 PASS successfullyParsed is true
 
 TEST COMPLETE

Modified: trunk/LayoutTests/storage/indexeddb/transaction-storeNames-required-expected.txt (164032 => 164033)


--- trunk/LayoutTests/storage/indexeddb/transaction-storeNames-required-expected.txt	2014-02-13 18:00:47 UTC (rev 164032)
+++ trunk/LayoutTests/storage/indexeddb/transaction-storeNames-required-expected.txt	2014-02-13 18:05:11 UTC (rev 164033)
@@ -8,7 +8,7 @@
 dbname = "transaction-storeNames-required.html"
 indexedDB.deleteDatabase(dbname)
 indexedDB.open(dbname)
-PASS db.transaction(); threw exception TypeError: Failed to execute 'transaction' on 'IDBDatabase': 1 argument required, but only 0 present..
+PASS db.transaction(); threw exception TypeError: Not enough arguments.
 PASS successfullyParsed is true
 
 TEST COMPLETE

Modified: trunk/LayoutTests/storage/indexeddb/version-change-abort-expected.txt (164032 => 164033)


--- trunk/LayoutTests/storage/indexeddb/version-change-abort-expected.txt	2014-02-13 18:00:47 UTC (rev 164032)
+++ trunk/LayoutTests/storage/indexeddb/version-change-abort-expected.txt	2014-02-13 18:05:11 UTC (rev 164033)
@@ -1,4 +1,4 @@
-CONSOLE ERROR: line 52: Uncaught Error: This should *NOT* be caught!
+CONSOLE MESSAGE: line 52: Error: This should *NOT* be caught!
 Ensure that aborted VERSION_CHANGE transactions are completely rolled back
 
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".

Modified: trunk/LayoutTests/storage/indexeddb/version-change-exclusive-expected.txt (164032 => 164033)


--- trunk/LayoutTests/storage/indexeddb/version-change-exclusive-expected.txt	2014-02-13 18:00:47 UTC (rev 164032)
+++ trunk/LayoutTests/storage/indexeddb/version-change-exclusive-expected.txt	2014-02-13 18:05:11 UTC (rev 164033)
@@ -18,7 +18,7 @@
 PASS Exception was thrown.
 PASS code is DOMException.INVALID_STATE_ERR
 PASS ename is 'InvalidStateError'
-Exception message: Failed to execute 'transaction' on 'IDBDatabase': A version change transaction is running.
+Exception message: InvalidStateError: DOM IDBDatabase Exception 11
 store.put(0, 0)
 in put's onsuccess
 store.put(1, 1)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to