| Index: LayoutTests/storage/indexeddb/resources/index-multientry.js
|
| diff --git a/LayoutTests/storage/indexeddb/resources/index-multientry.js b/LayoutTests/storage/indexeddb/resources/index-multientry.js
|
| index 71b96a8e68c61192ad73d6b971f31dbfabb64d13..72c0cce13d43cc885c1bc8aa85571b0eb17e7f20 100644
|
| --- a/LayoutTests/storage/indexeddb/resources/index-multientry.js
|
| +++ b/LayoutTests/storage/indexeddb/resources/index-multientry.js
|
| @@ -99,7 +99,11 @@ function verifyUniqueConstraint()
|
| debug("This should fail the uniqueness constraint on the index, and fail:");
|
| request = evalAndLog("transaction.objectStore('store-unique').put({x: [5, 2], y: 'c'}, 'should fail')");
|
| request.onsuccess = unexpectedSuccessCallback;
|
| - request.onerror = function() { debug("Request failed, as expected (" + request.error.name + ")"); };
|
| + request.onerror = function() {
|
| + shouldBeUndefined("request.result");
|
| + shouldBeNonNull("request.error");
|
| + debug("Request failed, as expected (" + request.error.name + ")");
|
| + };
|
| };
|
| };
|
| }
|
|
|