1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/content/test/reftest/bug439965-ref.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,20 @@ 1.4 +<!DOCTYPE html> 1.5 +<html> 1.6 +<body> 1.7 +<script> 1.8 +function doe(aEl) { 1.9 +var doc = aEl.contentDocument; 1.10 +doc.designMode = 'on'; 1.11 + 1.12 +try { 1.13 +doc.execCommand("insertHTML",false,'some text'); 1.14 +} catch(e) { 1.15 + document.getElementById('result').innerHTML = e; 1.16 +} 1.17 +} 1.18 +</script> 1.19 + 1.20 +<iframe onload="doe(this)"></iframe><br> 1.21 +<pre id="result" style="background-color: red; width: 300px; white-space: -moz-pre-wrap;"></pre> 1.22 +</body> 1.23 +</html>