Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
security: post OAuth token to webapps using file protocol
When client is loaded from file oauth can't be used because location.hostname is null. So we fallback by using postMessage API, instead of parsing the token page. Test could have been done on location.hostname, but for security concerns only file:// protocol is whitelisted It was tested on Tizen5 on TM1. Change-Id: I42af71ae822491150c019cff9688356b1a0e2532 Bug: #1149 Origin: https://github.com/tizenteam/gateway Signed-off-by: Philippe Coval <p.coval@samsung.com>
- Loading branch information