summaryrefslogtreecommitdiffstats
path: root/dom/base/test/test_bug787778.html
blob: 998701d55dfcd1bc551f30416732392424f5a398 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!DOCTYPE html>
<!--
    https://bugzilla.mozilla.org/show_bug.cgi?id=787778
  -->
<html>
  <head>
    <meta charset="utf-8">
    <title>Test for Bug 787778</title>
    <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
    <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
    <script type="text/javascript">
      SimpleTest.waitForExplicitFinish();
      window.onload = function() {
        window.document.x.src='a';
        SimpleTest.executeSoon(function () {
          ok(true, "Didn't crash!");
          SimpleTest.finish();
        });
      }
    </script>
  </head>
  <body>
    <embed name="x" src="./file_bug787778.sjs">
  </body>
</html>