diff options
Diffstat (limited to 'dom/base/test/test_bug787778.html')
-rw-r--r-- | dom/base/test/test_bug787778.html | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/dom/base/test/test_bug787778.html b/dom/base/test/test_bug787778.html new file mode 100644 index 000000000..998701d55 --- /dev/null +++ b/dom/base/test/test_bug787778.html @@ -0,0 +1,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> |