Remove wrt.tv.flushCookie() 00/245000/3
authorDongHyun Song <dh81.song@samsung.com>
Tue, 29 Sep 2020 02:47:49 +0000 (11:47 +0900)
committerDongHyun Song <dh81.song@samsung.com>
Tue, 13 Oct 2020 02:27:25 +0000 (02:27 +0000)
flushCookie() will be called on WRTCookieManager's dtor.
flushStorageData() is applied for all profile.

Related chromium-efl patch:
  https://review.tizen.org/gerrit/245001/

Change-Id: Ic339b7d639c76dd5829c1a8f0ba0bd1d24941823

wrt_app/src/web_application.ts

index 61bbfd7474b556fee31cddb5138fc8021bd2565f..4310ed44a662f7183e9d665bb6c7b4e00764b99b 100644 (file)
@@ -398,10 +398,7 @@ Then you can get profile log from the initial loading.`;
 
   private flushData() {
     console.log('WebApplication : FlushData');
-    if (wrt.tv) {
-      wrt.tv.flushCookie();
-      this.windowList.forEach((window) => window.webContents.session.flushStorageData());
-    }
+    this.windowList.forEach((window) => window.webContents.session.flushStorageData());
   }
 
   sendAppControlEvent() {