1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/browser/base/content/test/general/file_bug822367_3.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,27 @@ 1.4 +<!DOCTYPE HTML> 1.5 +<html> 1.6 +<!-- 1.7 +Test 3 for Mixed Content Blocker User Override - Mixed Script and Display 1.8 +https://bugzilla.mozilla.org/show_bug.cgi?id=822367 1.9 +--> 1.10 +<head> 1.11 + <meta charset="utf-8"> 1.12 + <title>Test 3 for Bug 822367</title> 1.13 + <script> 1.14 + function foo() { 1.15 + var x = document.createElement('p'); 1.16 + x.setAttribute("id", "p2"); 1.17 + x.innerHTML = "bye"; 1.18 + document.getElementById("testContent").appendChild(x); 1.19 + } 1.20 + </script> 1.21 +</head> 1.22 +<body> 1.23 + <div id="testContent"> 1.24 + <p id="p1"></p> 1.25 + <img src="http://example.com/tests/image/test/mochitest/blue.png" onload="foo()"> 1.26 + </div> 1.27 + <script src="http://example.com/browser/browser/base/content/test/general/file_bug822367_1.js"> 1.28 + </script> 1.29 +</body> 1.30 +</html>