Add log in sendAppControlEvent 45/319145/1 submit/tizen/20241016.160024
authorzhaosy <shiyusy.zhao@samsung.com>
Wed, 16 Oct 2024 06:11:17 +0000 (14:11 +0800)
committerzhaosy <shiyusy.zhao@samsung.com>
Wed, 16 Oct 2024 06:12:47 +0000 (14:12 +0800)
Sometimes, it's hard to check whether wrtjs send app control event,
so add log in sendAppControlEvent function.

Change-Id: I15707d9933245445e76277bd4c05512efe75c01b
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
wrt_app/src/web_application.ts

index 6d35a7a2d0bd57eb1d4880db3b4894dd33539f7e..ec44056eccfb6d9b700323e98e4969302b4d7bd5 100644 (file)
@@ -412,6 +412,7 @@ export class WebApplication {
   }
 
   sendAppControlEvent() {
+    console.log('webApplication : sendAppControlEvent');
     const kAppControlEventScript = `(function(){
   var __event = document.createEvent("CustomEvent");
   __event.initCustomEvent("appcontrol", true, true, null);