Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That would be expected for a browser environment though! I don’t want any module my browser imports to silently import something off the filesystem without telling me.


while i agree with that, i don't quite understand why this is an issue if the main index.html file is from the local filesystem too. the filesystem should only be off limits if the main file is loaded from a website.


i suppose the problem is mixing local and remote sources. i don't know if blocking remote sources from loading local ones is enough or even easy to do. if not then that would explain why local needs to be blocked.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: