PageRenderTime 6ms CodeModel.GetById 1ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/image/test/mochitest/test_bug657191.html

http://github.com/zpao/v8monkey
HTML | 34 lines | 26 code | 3 blank | 5 comment | 0 complexity | ffe59313800cb5face84f532ceffbbf2 MD5 | raw file
 1<!DOCTYPE HTML>
 2<html>
 3<!--
 4https://bugzilla.mozilla.org/show_bug.cgi?id=657191
 5-->
 6<head>
 7  <title>Test for Bug 657191</title>
 8  <script type="text/javascript" src="/MochiKit/MochiKit.js"></script>
 9  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
10  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
11</head>
12<body>
13<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=657191">Mozilla Bug 657191</a>
14<p id="display"></p>
15<div id="content" style="display: none">
16<!-- bug657191.sjs returns an SVG image with HTTP error code 500.
17     As long as this doesn't crash, this test passes. -->
18  <img src="bug657191.sjs">
19</div>
20<pre id="test">
21<script class="testbody" type="text/javascript">
22
23/** Test for Bug 657191 **/
24SimpleTest.waitForExplicitFinish();
25
26window.onload = function() {
27  ok(true, "test passed");
28  SimpleTest.finish();
29}
30
31</script>
32</pre>
33</body>
34</html>