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

Side by Side Diff: LayoutTests/http/tests/navigation/beacon-same-origin-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 PingLoader dispatched to 'http://127.0.0.1:8000/navigation/resources/save-beacon .php?name=same-origin'.
2 PingLoader dispatched to 'http://127.0.0.1:8000/navigation/resources/save-beacon .php?name=same-origin'.
3 PingLoader dispatched to 'http://127.0.0.1:8000/navigation/resources/save-beacon .php?name=same-origin'.
4 PingLoader dispatched to 'http://127.0.0.1:8000/navigation/resources/save-beacon .php?name=same-origin'.
5 Testing navigator.sendBeacon() within same origin.
6
7 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
8
9
10 Sending beacon with type: [object String]
11 PASS navigator.sendBeacon("resources/save-beacon.php?name=same-origin", payload) ; is true
12 PASS Beacon sent successfully
13 PASS Content-Type: text/plain;charset=UTF-8
14 PASS Origin: http://127.0.0.1:8000
15 PASS Referer: http://127.0.0.1:8000/navigation/beacon-same-origin.html
16 PASS Request-Method: POST
17 PASS Length: 10
18 PASS Body: SameOrigin
19 PASS
20 Sending beacon with type: [object Uint32Array]
21 PASS navigator.sendBeacon("resources/save-beacon.php?name=same-origin", payload) ; is true
22 PASS Beacon sent successfully
23 PASS Content-Type: application/octet-stream
24 PASS Origin: http://127.0.0.1:8000
25 PASS Referer: http://127.0.0.1:8000/navigation/beacon-same-origin.html
26 PASS Request-Method: POST
27 PASS Length: 40
28 PASS Body: QAAAAEEAAABCAAAAQwAAAEQAAABFAAAARgAAAEcAAABIAAAASQAAAA==
29 PASS
30 Sending beacon with type: [object Blob]
31 PASS navigator.sendBeacon("resources/save-beacon.php?name=same-origin", payload) ; is true
32 PASS Beacon sent successfully
33 PASS Origin: http://127.0.0.1:8000
34 PASS Referer: http://127.0.0.1:8000/navigation/beacon-same-origin.html
35 PASS Request-Method: POST
36 PASS Length: 11
37 PASS Body: hello world
38 PASS
39 Sending beacon with type: [object FormData]
40 PASS navigator.sendBeacon("resources/save-beacon.php?name=same-origin", payload) ; is true
41 PASS Beacon sent successfully
42 PASS Content-Type: multipart/form-data;
43 PASS Origin: http://127.0.0.1:8000
44 PASS Referer: http://127.0.0.1:8000/navigation/beacon-same-origin.html
45 PASS Request-Method: POST
46 PASS Length: 9
47 PASS Body: key=value
48 PASS
49 PASS successfullyParsed is true
50
51 TEST COMPLETE
52
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698