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

Unified Diff: LayoutTests/http/tests/navigation/beacon-cross-origin.https-expected.txt

Issue 1016373002: Perform CORS access checks on Beacon redirects. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebased + add mixed content test Created 5 years, 9 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
Index: LayoutTests/http/tests/navigation/beacon-cross-origin.https-expected.txt
diff --git a/LayoutTests/http/tests/navigation/beacon-cross-origin.https-expected.txt b/LayoutTests/http/tests/navigation/beacon-cross-origin.https-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38d432e0216508835d70660bf4655f2f879480f9
--- /dev/null
+++ b/LayoutTests/http/tests/navigation/beacon-cross-origin.https-expected.txt
@@ -0,0 +1,11 @@
+CONSOLE ERROR: Mixed Content: The page at 'https://127.0.0.1:8443/navigation/beacon-cross-origin.https.html' was loaded over HTTPS, but requested an insecure Beacon endpoint 'http://localhost:8000/navigation/resources/save-beacon.php?name=cross-origin'. This request has been blocked; the content must be served over HTTPS.
+Verify navigator.sendBeacon() mixed content checking.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS navigator.sendBeacon("http://localhost:8000/navigation/resources/save-beacon.php?name=cross-origin", "CrossOrigin"); is false
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/http/tests/navigation/beacon-cross-origin.https.html ('k') | Source/core/fetch/CrossOriginAccessControl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698