gecko/toolkit/mozapps/extensions/test/mochitest/test_bug609794.html
2010-11-09 19:07:32 -08:00

29 lines
831 B
HTML

<!DOCTYPE HTML>
<html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=609794
-->
<head>
<title>Test for Bug 609794</title>
<script type="application/javascript" src="/MochiKit/packed.js"></script>
<script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
</head>
<body>
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=609794">Mozilla Bug 609794</a>
<p id="display"></p>
<div id="content" style="display: none">
</div>
<pre id="test">
<script type="application/javascript">
/** Test for Bug 609794 **/
var obj = Object.create(window);
is(Object.prototype.toString.call(obj.InstallTrigger), "[object Object]", "can get InstallTrigger through the prototype");
</script>
</pre>
</body>
</html>