[common][servicework][DPTTIZEN-3134, fix 1 tc issue for M69 upgrade] 13/210413/2
authorzhongyuan <zy123.yuan@samsung.com>
Fri, 19 Jul 2019 02:15:51 +0000 (10:15 +0800)
committerzhongyuan yuan <zy123.yuan@samsung.com>
Mon, 22 Jul 2019 01:42:50 +0000 (01:42 +0000)
Change-Id: I7eb11eacaedea9b6845869dcd7e0073ba75f2df1

common/tct-serviceworkers-w3c-tests/serviceworkers/ServiceWorkerRegistration_update.html

index 9cb3af27f01e4f2edc8e05604f0d0a458f0e9ca3..e0130a0ff40a50abed37dfa60258537a912de7d7 100755 (executable)
@@ -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);
 
 </script>
 </body>
-</html>
\ No newline at end of file
+</html>