Hi,
I think it could be useful if we were able to test the program directly by clicking a button which open a new tab with the source code. It should be useful to test html and javascript source code. Indeed, they are executed by the user browser, so it's not a security hazard a priori.
Regards.