In Safari 7 (possibly other versions), attempting to run a code sandbox more than once causes the output to disappear.
Steps to reproduce:
- Browse to any page with a code editor.
- Input the following code:
console.log('test');
- Go to the menu, and click Run code. The output appears below the code editor as expected.
- Go to the menu again, and click Run code. The output disappears. Attempting to run the code again does not produce any output.