2013-01-30 00:04:46 -08:00
|
|
|
<!DOCTYPE HTML>
|
|
|
|
<html>
|
|
|
|
<!--
|
|
|
|
Test 3 for Mixed Content Blocker User Override - Mixed Script and Display
|
|
|
|
https://bugzilla.mozilla.org/show_bug.cgi?id=822367
|
|
|
|
-->
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>Test 3 for Bug 822367</title>
|
|
|
|
<script>
|
|
|
|
function foo() {
|
|
|
|
var x = document.createElement('p');
|
|
|
|
x.setAttribute("id", "p2");
|
|
|
|
x.innerHTML = "bye";
|
|
|
|
document.getElementById("testContent").appendChild(x);
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="testContent">
|
|
|
|
<p id="p1"></p>
|
|
|
|
<img src="http://example.com/tests/image/test/mochitest/blue.png" onload="foo()">
|
|
|
|
</div>
|
2013-02-20 00:54:49 -08:00
|
|
|
<script src="http://example.com/browser/browser/base/content/test/file_bug822367_1.js">
|
2013-01-30 00:04:46 -08:00
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|