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

Unified Diff: third_party/WebKit/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: Removed pipes around non-variables in a comment Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/security/mixedContent/insecure-fetch-blocked.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/security/mixedContent/insecure-async-post-xhr-blocked.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/mixedContent/insecure-async-post-xhr-blocked.html b/third_party/WebKit/LayoutTests/http/tests/security/mixedContent/insecure-async-post-xhr-blocked.html
new file mode 100644
index 0000000000000000000000000000000000000000..f480e6f5eb3eade6602245da3e8f45fc3c3400c3
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/security/mixedContent/insecure-async-post-xhr-blocked.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<script src="/js-test-resources/testharness.js"></script>
+<script src="/js-test-resources/testharnessreport.js"></script>
+<script>
+if (window.testRunner) {
+ testRunner.overridePreference("WebKitAllowRunningInsecureContent", false);
+}
+
+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.");
+
+window.addEventListener("message", test.step_func(function (e) {
+ assert_equals(e.data, "DONE");
+ test.done();
+}), false);
+window.open("https://127.0.0.1:8443/security/mixedContent/resources/frame-with-insecure-async-xhr-post.html");
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/security/mixedContent/insecure-fetch-blocked.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698