[Crosswalk-9][usecase-webapi][XWALK-2560] Fix bug for mediaserver

- Fix bug for mediaserver
- Failure analysis: https://crosswalk-project.org/jira/browse/XWALK-1701

Impacted tests(approved): new 0, update 1, delete 0
Unit test platform: [Tizen IVI]
Unit test result summary: pass 0, fail 1, block 0
Merge pull request #1082 from yunxliu/Crosswalk-9

[Crosswalk-9][usecase-webapi][XWALK-2560] Fix bug for mediaserver