If I have an HTML page with a script tag like this:
<SCRIPT SRC="./xxx.js"></SCRIPT>
Under what conditions could one access / get access ./xxx.jsfrom the local file system?
I understand that the URI / URL ./xxx.jsrefers to "a file with a name 'xxx.js'in the current directory", but when (under what conditions) does the "current directory" mean the current directory in the local file system on which the client / browser is running?
Is this the only situation where this would be the case when the HTML file containing this tag <script>was obtained from the local file system?
source
share