From: mengli.zhang Date: Fri, 10 Mar 2017 19:14:03 +0000 (-0500) Subject: [common][indexeddb][sync tcs from tizen_4.0 branch] X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fcb2d093956e1e4ff3a898e824a4d6463f5990a5;p=test%2Ftct%2Fweb%2Fapi.git [common][indexeddb][sync tcs from tizen_4.0 branch] Change-Id: I4954414c3515427764d368c7c940322b1e37b35b Signed-off-by: mengli.zhang --- diff --git a/common/tct-indexeddb-w3c-tests/indexeddb/IDBRequest_error_type.html b/common/tct-indexeddb-w3c-tests/indexeddb/IDBRequest_error_type.html index ce4f66b7d..ca4596e45 100755 --- a/common/tct-indexeddb-w3c-tests/indexeddb/IDBRequest_error_type.html +++ b/common/tct-indexeddb-w3c-tests/indexeddb/IDBRequest_error_type.html @@ -61,7 +61,9 @@ Authors: assert_unreached("Fail to get error callback"); }); idbReq.onerror = t.step_func(function (event) { - assert_equals(event.target.error.toString(), "[object DOMError]"); + assert_true(idbReq.error instanceof DOMException); + assert_equals(idbReq.error.code, 20); + assert_equals(idbReq.error.name, "AbortError"); t.done(); }); });