Title: [193980] trunk/LayoutTests
- Revision
- 193980
- Author
- beid...@apple.com
- Date
- 2015-12-11 14:12:43 -0800 (Fri, 11 Dec 2015)
Log Message
Modern IDB: Updates to 3 intversion tests, and/or their results.
https://bugs.webkit.org/show_bug.cgi?id=152179
Reviewed by Alex Christensen.
* platform/mac-wk1/TestExpectations:
* platform/wk2/storage/indexeddb/intversion-close-in-oncomplete-expected.txt:
* storage/indexeddb/intversion-close-in-oncomplete-expected.txt:
* storage/indexeddb/intversion-close-in-upgradeneeded-expected.txt:
* storage/indexeddb/intversion-upgrades-expected.txt:
* storage/indexeddb/resources/intversion-close-in-oncomplete.js:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (193979 => 193980)
--- trunk/LayoutTests/ChangeLog 2015-12-11 21:56:06 UTC (rev 193979)
+++ trunk/LayoutTests/ChangeLog 2015-12-11 22:12:43 UTC (rev 193980)
@@ -1,3 +1,18 @@
+2015-12-11 Brady Eidson <beid...@apple.com>
+
+ Modern IDB: Updates to 3 intversion tests, and/or their results.
+ https://bugs.webkit.org/show_bug.cgi?id=152179
+
+ Reviewed by Alex Christensen.
+
+ * platform/mac-wk1/TestExpectations:
+ * platform/wk2/storage/indexeddb/intversion-close-in-oncomplete-expected.txt:
+
+ * storage/indexeddb/intversion-close-in-oncomplete-expected.txt:
+ * storage/indexeddb/intversion-close-in-upgradeneeded-expected.txt:
+ * storage/indexeddb/intversion-upgrades-expected.txt:
+ * storage/indexeddb/resources/intversion-close-in-oncomplete.js:
+
2015-12-11 Keith Miller <keith_mil...@apple.com>
[ES6] Add support for Symbol.hasInstance
Modified: trunk/LayoutTests/platform/mac-wk1/TestExpectations (193979 => 193980)
--- trunk/LayoutTests/platform/mac-wk1/TestExpectations 2015-12-11 21:56:06 UTC (rev 193979)
+++ trunk/LayoutTests/platform/mac-wk1/TestExpectations 2015-12-11 22:12:43 UTC (rev 193980)
@@ -97,14 +97,11 @@
storage/indexeddb/delete-closed-database-object.html [ Failure ]
storage/indexeddb/index-basics.html [ Failure ]
storage/indexeddb/index-duplicate-keypaths.html [ Failure ]
-storage/indexeddb/intversion-close-in-oncomplete.html [ Failure ]
-storage/indexeddb/intversion-close-in-upgradeneeded.html [ Failure ]
storage/indexeddb/intversion-gated-on-delete.html [ Failure ]
storage/indexeddb/intversion-open-in-upgradeneeded.html [ Failure ]
storage/indexeddb/intversion-pending-version-changes-descending.html [ Failure ]
storage/indexeddb/intversion-pending-version-changes-same.html [ Failure ]
storage/indexeddb/intversion-two-opens-no-versions.html [ Failure ]
-storage/indexeddb/intversion-upgrades.html [ Failure ]
storage/indexeddb/key-type-array.html [ Failure ]
storage/indexeddb/objectstore-autoincrement.html [ Failure ]
storage/indexeddb/open-cursor.html [ Failure ]
Modified: trunk/LayoutTests/platform/wk2/storage/indexeddb/intversion-close-in-oncomplete-expected.txt (193979 => 193980)
--- trunk/LayoutTests/platform/wk2/storage/indexeddb/intversion-close-in-oncomplete-expected.txt 2015-12-11 21:56:06 UTC (rev 193979)
+++ trunk/LayoutTests/platform/wk2/storage/indexeddb/intversion-close-in-oncomplete-expected.txt 2015-12-11 22:12:43 UTC (rev 193980)
@@ -21,7 +21,7 @@
openError():
PASS sawTransactionComplete is true
-PASS event.target.result is null
+FAIL event.target.result should be undefined. Was null
PASS event.target.error.name is "AbortError"
Expecting exception from transaction = db.transaction('os', 'readwrite')
PASS Exception was thrown.
Modified: trunk/LayoutTests/storage/indexeddb/intversion-close-in-oncomplete-expected.txt (193979 => 193980)
--- trunk/LayoutTests/storage/indexeddb/intversion-close-in-oncomplete-expected.txt 2015-12-11 21:56:06 UTC (rev 193979)
+++ trunk/LayoutTests/storage/indexeddb/intversion-close-in-oncomplete-expected.txt 2015-12-11 22:12:43 UTC (rev 193980)
@@ -21,13 +21,13 @@
openError():
PASS sawTransactionComplete is true
-PASS event.target.result is null
+PASS event.target.result is undefined.
PASS event.target.error.name is "AbortError"
Expecting exception from transaction = db.transaction('os', 'readwrite')
PASS Exception was thrown.
PASS code is DOMException.INVALID_STATE_ERR
PASS ename is 'InvalidStateError'
-Exception message: InvalidStateError: DOM IDBDatabase Exception 11
+Exception message: Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.
PASS successfullyParsed is true
TEST COMPLETE
Modified: trunk/LayoutTests/storage/indexeddb/intversion-close-in-upgradeneeded-expected.txt (193979 => 193980)
--- trunk/LayoutTests/storage/indexeddb/intversion-close-in-upgradeneeded-expected.txt 2015-12-11 21:56:06 UTC (rev 193979)
+++ trunk/LayoutTests/storage/indexeddb/intversion-close-in-upgradeneeded-expected.txt 2015-12-11 22:12:43 UTC (rev 193980)
@@ -32,7 +32,7 @@
PASS Exception was thrown.
PASS code is DOMException.INVALID_STATE_ERR
PASS ename is 'InvalidStateError'
-Exception message: InvalidStateError: DOM IDBDatabase Exception 11
+Exception message: Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.
PASS successfullyParsed is true
TEST COMPLETE
Modified: trunk/LayoutTests/storage/indexeddb/intversion-upgrades-expected.txt (193979 => 193980)
--- trunk/LayoutTests/storage/indexeddb/intversion-upgrades-expected.txt 2015-12-11 21:56:06 UTC (rev 193979)
+++ trunk/LayoutTests/storage/indexeddb/intversion-upgrades-expected.txt 2015-12-11 22:12:43 UTC (rev 193980)
@@ -58,7 +58,7 @@
request._onerror_ = errorWhenTryingLowVersion
errorWhenTryingLowVersion():
-request.error.message = The requested version (1) is less than the existing version (2).
+request.error.message = undefined
request = indexedDB.open(dbname, 4)
request._onupgradeneeded_ = connection4UpgradeNeeded
request._onsuccess_ = connection4Success
Modified: trunk/LayoutTests/storage/indexeddb/resources/intversion-close-in-oncomplete.js (193979 => 193980)
--- trunk/LayoutTests/storage/indexeddb/resources/intversion-close-in-oncomplete.js 2015-12-11 21:56:06 UTC (rev 193979)
+++ trunk/LayoutTests/storage/indexeddb/resources/intversion-close-in-oncomplete.js 2015-12-11 22:12:43 UTC (rev 193980)
@@ -46,7 +46,7 @@
{
preamble(evt);
shouldBeTrue("sawTransactionComplete");
- shouldBeNull("event.target.result");
+ shouldBeUndefined("event.target.result");
shouldBeEqualToString("event.target.error.name", "AbortError");
evalAndExpectException("transaction = db.transaction('os', 'readwrite')", "DOMException.INVALID_STATE_ERR", "'InvalidStateError'");
finishJSTest();
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes