document.write invalid entity shouldn't crash
PASS: If this test doesn't crash in debug builds