docshell/test/test_bug1045096.html
author Sebastian Hengst <archaeopteryx@coole-files.de>
Fri, 14 Apr 2017 23:39:22 +0200
changeset 401420 d523c49136775a7187486dbc96858a2cb0383bfb
parent 219266 d1b960226e0bd93e1380d45977ccdb25d13ce5a3
child 494882 58adc643dcdc20eccb4d30bc454b50420e96c020
permissions -rw-r--r--
Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout

<!DOCTYPE HTML>
<html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=1045096
-->
<head>
  <meta charset="utf-8">
  <title>Test for Bug 1045096</title>
  <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=1045096">Mozilla Bug 1045096</a>
<p id="display"></p>
<div id="content" style="display: none">

</div>
<pre id="test">
</pre>
  <script type="application/javascript">

  /** Test for Bug 1045096 **/
  var i = document.createElement('iframe');
  i.src = "javascript:false"; // This is required!
  $("content").appendChild(i);
  ok(i.contentWindow.performance, "Should have a performance object");
  </script>
</body>
</html>