[VD]Fix account is not logined in automatically when relaunch 14/218214/5
authorVBS <chunling.ye@samsung.com>
Wed, 20 Nov 2019 08:23:40 +0000 (16:23 +0800)
committerVBS <chunling.ye@samsung.com>
Wed, 20 Nov 2019 10:41:22 +0000 (18:41 +0800)
commitc8ab4b97f7acd548e2061ad74bd44b2064fd5b08
tree33d7d32018720f73f21a5250d0004e54b22e0dc5
parente38c6ea9f6137c25f3c36834735468034aece042
[VD]Fix account is not logined in automatically when relaunch

Defect id: DF191018-00567
Issue: when relaunch app Watcha Play(3201612011352), app change to logout status.

Reason: the src of Watcha Play app is: https://erd2-play.watcha.net/tv
but not index.html. So url request which need the cookie is earlier than
valid cookie path been set.

Fix method: for tv product, set cookie path before loadURL.

Change-Id: I7351d1027c2c6efc90a8e2897aeef2e431b211a7
Signed-off-by: chunling.ye <chunling.ye@samsung.com>
wrt_app/src/runtime.js