[XWALK] Add a function to fix XWALK-3060

Impacted tests(approved): new 0, update 2, delete 0
Unit test platform: [IVI]
Unit test result summary: pass 0, fail 0, block 2

Block reason: XWALK-2387