The following code will trigger a Javascript error:
winset(usr, "element", "cmd=set_name;name=Dat Boi")
Having one of props' members be "name" (non-case sensitive) directly generates this error:
webclient.dart.js:22943 Uncaught wrapException @ webclient.dart.js:22943$add @ webclient.dart.js:21353nameToJS$1 @ webclient.dart.js:10277winset$2 @ webclient.dart.js:18398processWinsetMessage$1 @ webclient.dart.js:8199processMessage$1 @ webclient.dart.js:7425dart.ByondClient_closure3.call$1 @ webclient.dart.js:8780call$0 @ webclient.dart.js:24091eval$1 @ webclient.dart.js:21998_callInIsolate @ webclient.dart.js:21650dart.invokeClosure @ webclient.dart.js:23093(anonymous function) @ webclient.dart.js:23112 VM13505:173 Object {cmd: "update-label", data: "Lobby: <span class='special_text'>2</span> people …-Game: <span class='special_text'>0</span> people", ___dart__$dart_dartObject_ZxYxX_0_: JsObject}
The reason I ask is that nameToJS() is a function used for macros, but with an existing non-macro element I wouldn't expect this to be an issue. I'll look into it further, though.