test_bug1382568.html (491B)
1 <!doctype html> 2 <meta charset="utf-8"> 3 <title>Test for bug 1382568: calling innerText on an uninitialized presshell doesn't crash</title> 4 <script src="/tests/SimpleTest/SimpleTest.js"></script> 5 <script> 6 window.onmessage = function(e) { 7 is(e.data.result, "ok", "Child frame should load properly"); 8 SimpleTest.finish(); 9 }; 10 </script> 11 <iframe src="https://example.com/tests/layout/style/test/bug1382568-iframe.html"></iframe> 12 <script> 13 SimpleTest.waitForExplicitFinish(); 14 </script>