| OLD | NEW | 
|   1 <!DOCTYPE html> |   1 <!DOCTYPE html> | 
|   2 <script src="/js-test-resources/testharness.js"></script> |   2 <script src="/js-test-resources/testharness.js"></script> | 
|   3 <script src="/js-test-resources/testharnessreport.js"></script> |   3 <script src="/js-test-resources/testharnessreport.js"></script> | 
|   4 <script> |   4 <script> | 
|   5 if (window.testRunner) { |   5 if (window.testRunner) { | 
|   6     testRunner.overridePreference("WebKitAllowRunningInsecureContent", false); |   6   testRunner.overridePreference("WebKitAllowRunningInsecureContent", false); | 
|   7 } |   7 } | 
|   8  |   8  | 
|   9 var test = async_test("Opens a HTTPS window that loads insecure data via XHR. We
     should trigger a mixed content callback and block the load."); |   9 var test = async_test("Opens an HTTPS window that loads insecure data via " + | 
 |  10     "XHR. We should trigger a mixed content callback and block the load."); | 
 |  11 window.addEventListener("message", test.step_func(function (e) { | 
 |  12   assert_equals(e.data, "DONE"); | 
 |  13   test.done(); | 
 |  14 }), false); | 
|  10  |  15  | 
|  11 window.addEventListener("message", test.step_func(function (e) { |  | 
|  12     assert_equals(e.data, "DONE"); |  | 
|  13     test.done(); |  | 
|  14 }), false); |  | 
|  15 window.open("https://127.0.0.1:8443/security/mixedContent/resources/frame-with-i
    nsecure-async-xhr-post.html"); |  16 window.open("https://127.0.0.1:8443/security/mixedContent/resources/frame-with-i
    nsecure-async-xhr-post.html"); | 
|  16 </script> |  17 </script> | 
| OLD | NEW |