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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
1 CONSOLE ERROR: Mixed Content: The page at 'https://127.0.0.1:8443/navigation/bea con-cross-origin.https.html' was loaded over HTTPS, but requested an insecure Be acon endpoint 'http://localhost:8000/navigation/resources/save-beacon.php?name=c ross-origin'. This request has been blocked; the content must be served over HTT PS.
2 Verify navigator.sendBeacon() mixed content checking.
3
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
5
6
7 PASS navigator.sendBeacon("http://localhost:8000/navigation/resources/save-beaco n.php?name=cross-origin", "CrossOrigin"); is false
8 PASS successfullyParsed is true
9
10 TEST COMPLETE
11
OLDNEW
« 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