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