gecko-dev/layout/style/test/test_bug1382568.html

15 строки
514 B
HTML

<!doctype html>
<meta charset="utf-8">
<title>Test for bug 1382568: calling innerText on an uninitialized presshell doesn't crash</title>
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
<script>
window.onmessage = function(e) {
is(e.data.result, "ok", "Child frame should load properly");
SimpleTest.finish();
};
</script>
<iframe src="https://example.com/tests/layout/style/test/bug1382568-iframe.html"></iframe>
<script>
SimpleTest.waitForExplicitFinish();
</script>