User:Cchetty
From DocWiki
(Difference between revisions)
Line 1: | Line 1: | ||
- | {{ | + | {{Cross-Domain Issue | problemsummary=A cross-domain issue occurs when you try to open a harness web page (residing on another server through http://<ipaddress:port> other than 'localhost') on your laptop. And from this web page you click a button that makes AJAX call the Web Framework residing on another server. | possiblecause=A cross-domain issue can occur if you are trying to access a web page which is running on one server/domain and trying to access information from another server/domain. | recommendedaction=Mozilla Firefox: |
Go to C:\Documents and Settings\User Name\Application Data\Mozilla\Firefox\Profiles\xxxxxxxx.default\user.js, where xxxxxxxx is a random string of 8 characters | Go to C:\Documents and Settings\User Name\Application Data\Mozilla\Firefox\Profiles\xxxxxxxx.default\user.js, where xxxxxxxx is a random string of 8 characters | ||
Edit the line containing "http://localhost.com:3000? in user.js and replace that URI with whatever URI you are developing (or publishing to). In our case, the IP address on which harness is running. | Edit the line containing "http://localhost.com:3000? in user.js and replace that URI with whatever URI you are developing (or publishing to). In our case, the IP address on which harness is running. |