summaryrefslogtreecommitdiffstats
path: root/layout/style/test/test_bug1382568.html
blob: 23d4dfe5b6bbde6caa5220c3aa0662acae8e86dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!doctype html>
<meta charset="utf-8">
<title>Test for bug 1382568: calling innerText on an uninitialized presshell doesn't crash</title>
<script 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>