This happens because Chrome doesn’t allow frames from your hard disk to access each others’ content. Which, technically we term as Cross-origin request.
Solution of the above problem is:
1. Either you host your webpage on a local web server. See the following link:
What is a faster alternative to Python’s http.server (or SimpleHTTPServer)?
2. Use any other browser like Firefox