When using javascript's alert() and confirm() functions the dialog boxes will fail to appear at all when connected to a non-local server.
Code Snippet (if applicable) to Reproduce Problem:
src << browse("<a onclick=\"alert('Test!')\">Click me!</a>","window=test")
Expected Results:
Clicking the link shows an alert containing "Test!")
Actual Results:
Nothing happens.
Does the problem occur:
Every time? Or how often? Every time.
In other games? Likely
In other user accounts? Yes
On other computers? Yes
When does the problem NOT occur?
When running the code locally, even through Dream Daemon, things work fine. Joining a non-local server running the same exact code will result in all javascript dialogs not appearing, including error dialogs.
This is the same dumb behavior BYONDexe has when it comes to javascript and there's 100% no reason either should be suppressing anything.
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
Seems to be happening in every 513 version I tried as well.
Workarounds:
Don't use alert() or confirm()? Don't rely on javascript's error dialog to tell you when something is broken.
No need for a test case either, even the most basic of javascript fails in this case, the trick is hosting it off site to try it. It seems if it's running locally in any way the alerts appear.