content/base/test/test_bug787778.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/content/base/test/test_bug787778.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,25 @@
     1.4 +<!DOCTYPE html>
     1.5 +<!--
     1.6 +    https://bugzilla.mozilla.org/show_bug.cgi?id=787778
     1.7 +  -->
     1.8 +<html>
     1.9 +  <head>
    1.10 +    <meta charset="utf-8">
    1.11 +    <title>Test for Bug 787778</title>
    1.12 +    <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
    1.13 +    <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
    1.14 +    <script type="text/javascript">
    1.15 +      SimpleTest.waitForExplicitFinish();
    1.16 +      window.onload = function() {
    1.17 +        window.document.x.src='a';
    1.18 +        SimpleTest.executeSoon(function () {
    1.19 +          ok(true, "Didn't crash!");
    1.20 +          SimpleTest.finish();
    1.21 +        });
    1.22 +      }
    1.23 +    </script>
    1.24 +  </head>
    1.25 +  <body>
    1.26 +    <embed name="x" src="./file_bug787778.sjs">
    1.27 +  </body>
    1.28 +</html>

mercurial