From: zhongyuan Date: Fri, 19 Jul 2019 02:15:51 +0000 (+0800) Subject: [common][servicework][DPTTIZEN-3134, fix 1 tc issue for M69 upgrade] X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b65b56e21218d28cd5c40754c48c9154aff86dee;p=test%2Ftct%2Fweb%2Fapi.git [common][servicework][DPTTIZEN-3134, fix 1 tc issue for M69 upgrade] Change-Id: I7eb11eacaedea9b6845869dcd7e0073ba75f2df1 --- diff --git a/common/tct-serviceworkers-w3c-tests/serviceworkers/ServiceWorkerRegistration_update.html b/common/tct-serviceworkers-w3c-tests/serviceworkers/ServiceWorkerRegistration_update.html index 9cb3af27f..e0130a0ff 100755 --- a/common/tct-serviceworkers-w3c-tests/serviceworkers/ServiceWorkerRegistration_update.html +++ b/common/tct-serviceworkers-w3c-tests/serviceworkers/ServiceWorkerRegistration_update.html @@ -42,11 +42,11 @@ promise_test(function(t) { return r.update(); }) .then(function(value) { - assert_equals(value, undefined, 'update should return void.'); + assert_type(value, ServiceWorkerRegistration, 'update should return object.'); return service_worker_unregister(t, scope); }); }, document.title); - \ No newline at end of file +