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

Side by Side Diff: LayoutTests/http/tests/security/contentSecurityPolicy/connect-src-beacon-redirect-to-blocked-expected.txt

Issue 232053005: Implement navigator.sendBeacon() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Revert CSP checking on redirects Created 6 years, 7 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 Verify that a CSP connect-src directive blocks redirects.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS navigator.sendBeacon("resources/redir.php?url=http://127.0.0.1:8080/navigat ion/resources/save-beacon.php%3Fname%3Dcsp-redirect-blocked", "ping"); is true
7 PASS Beacon not sent
8 PASS
9 PASS successfullyParsed is true
10
11 TEST COMPLETE
12
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698