4 https://bugzilla.mozilla.org/show_bug.cgi?id=1045096
8 <title>Test for Bug
1045096</title>
9 <script type=
"application/javascript" src=
"/tests/SimpleTest/SimpleTest.js"></script>
10 <link rel=
"stylesheet" type=
"text/css" href=
"/tests/SimpleTest/test.css"/>
13 <a target=
"_blank" href=
"https://bugzilla.mozilla.org/show_bug.cgi?id=1045096">Mozilla Bug
1045096</a>
15 <div id=
"content" style=
"display: none">
20 <script type=
"application/javascript">
22 /** Test for Bug
1045096 **/
23 var i = document.createElement('iframe');
24 i.src =
"javascript:false"; // This is required!
25 $(
"content").appendChild(i);
26 ok(i.contentWindow.performance,
"Should have a performance object");