Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(438)

Side by Side Diff: LayoutTests/http/tests/security/mixedContent/insecure-async-post-xhr-blocked.html

Issue 1264453002: Split the constructor of ThreadableLoader into two methods (ctor and start()) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressed #7. Rebased Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="/js-test-resources/testharness.js"></script>
3 <script src="/js-test-resources/testharnessreport.js"></script>
4 <script>
5 if (window.testRunner) {
6 testRunner.overridePreference("WebKitAllowRunningInsecureContent", false);
7 }
8
9 var test = async_test("Opens a HTTPS window that loads insecure data via XHR. W e should trigger a mixed content callback and block the load.");
10
11 window.addEventListener("message", test.step_func(function (e) {
12 assert_equals(e.data, "DONE");
13 test.done();
14 }), false);
15 window.open("http://127.0.0.1:8000/security/mixedContent/resources/frame-with-in secure-async-xhr-post.html");
hiroshige 2015/08/11 09:54:42 The description says "Opens a HTTPS window" but he
tyoshino (SeeGerritForStatus) 2016/01/29 12:36:52 Right! Fixed
tyoshino (SeeGerritForStatus) 2016/01/29 12:37:56 Oh, this reply had to be published before.
16 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698