2015-02-24 17:41:43 +03:00
|
|
|
<!DOCTYPE HTML>
|
|
|
|
<html>
|
|
|
|
<!--
|
|
|
|
https://bugzilla.mozilla.org/show_bug.cgi?id=1037687
|
|
|
|
-->
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>Test for Bug 1037687</title>
|
2019-04-16 06:53:28 +03:00
|
|
|
<script src="/tests/SimpleTest/SimpleTest.js"></script>
|
2015-02-24 17:41:43 +03:00
|
|
|
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
|
|
|
</head>
|
2018-01-05 11:17:38 +03:00
|
|
|
<body>
|
2015-02-24 17:41:43 +03:00
|
|
|
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1037687">Mozilla Bug 1037687</a>
|
|
|
|
<p id="display"></p>
|
|
|
|
<div id="content" style="display: none">
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<pre id="test">
|
|
|
|
</pre>
|
2018-01-05 11:17:38 +03:00
|
|
|
<script type="application/javascript">
|
|
|
|
/** Test for Bug 1037687 **/
|
|
|
|
SimpleTest.waitForExplicitFinish();
|
2018-11-15 09:51:07 +03:00
|
|
|
window.onload = function() {
|
2018-01-05 11:17:38 +03:00
|
|
|
// This test loads in an iframe, to ensure that the element instance is
|
|
|
|
// loaded with the correct value of the preference.
|
|
|
|
let iframe = document.createElement("iframe");
|
|
|
|
iframe.src = "test_bug1037687_subframe.html";
|
|
|
|
document.body.appendChild(iframe);
|
2018-11-15 09:51:07 +03:00
|
|
|
};
|
2018-01-05 11:17:38 +03:00
|
|
|
</script>
|
2015-02-24 17:41:43 +03:00
|
|
|
</body>
|
|
|
|
</html>
|