summaryrefslogtreecommitdiffstats
path: root/dom/base/test/test_bug787778.html
blob: 4322b4567b96d69f25ae2b2b91ee3f93d6e707d8 (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 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>