dom/bindings/test/file_InstanceOf.html
author Peter Van der Beken <peterv@propagandism.org>
Fri, 22 Feb 2013 10:25:24 +0100
changeset 134678 9f2f90b7c78bfa817519c7978e2a5dc4a6df5739
child 528718 47b7423393a801c96bd315f98f2bed6ea44865e9
permissions -rw-r--r--
Fix for bug 842799 (|Document.prototype instanceof Node| inside <script> returns false). r=bz.

<!DOCTYPE HTML>
<html>
<body>
<script type="application/javascript">
function runTest()
{
  return [ parent.HTMLElement.prototype instanceof Element,
           parent.HTMLElement.prototype instanceof parent.Element ];
}
</script>
</body>
</html>