Suppose a website http://www.mysite.com
contains an external JavaScript file added like this:
<script src="http://www.yoursite.com/new.js"></script>
Within the http://www.yoursite.com/new.js
JavaScript file, there is an AJAX call to a script in http://www.yoursite.com/new.js
In this scenario, does the same-origin policy security issue arise since it's calling a script from a different website?