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

Side by Side Diff: LayoutTests/http/tests/navigation/beacon-same-origin-expected.txt

Issue 996143002: Do really include the beacon Blob content type if valid. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
1 PingLoader dispatched to 'http://127.0.0.1:8000/navigation/resources/save-beacon .php?name=same-origin'. 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'. 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'. 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'. 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. 5 Testing navigator.sendBeacon() within same origin.
6 6
7 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 7 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
8 8
9 9
10 Sending beacon with type: [object String] 10 Sending beacon with type: [object String]
(...skipping 12 matching lines...) Expand all
23 PASS Content-Type: application/octet-stream 23 PASS Content-Type: application/octet-stream
24 PASS Origin: http://127.0.0.1:8000 24 PASS Origin: http://127.0.0.1:8000
25 PASS Referer: http://127.0.0.1:8000/navigation/beacon-same-origin.html 25 PASS Referer: http://127.0.0.1:8000/navigation/beacon-same-origin.html
26 PASS Request-Method: POST 26 PASS Request-Method: POST
27 PASS Length: 40 27 PASS Length: 40
28 PASS Body: QAAAAEEAAABCAAAAQwAAAEQAAABFAAAARgAAAEcAAABIAAAASQAAAA== 28 PASS Body: QAAAAEEAAABCAAAAQwAAAEQAAABFAAAARgAAAEcAAABIAAAASQAAAA==
29 PASS 29 PASS
30 Sending beacon with type: [object Blob] 30 Sending beacon with type: [object Blob]
31 PASS navigator.sendBeacon("resources/save-beacon.php?name=same-origin", payload) ; is true 31 PASS navigator.sendBeacon("resources/save-beacon.php?name=same-origin", payload) ; is true
32 PASS Beacon sent successfully 32 PASS Beacon sent successfully
33 PASS Content-Type: text/plain;from-beacon=true
33 PASS Origin: http://127.0.0.1:8000 34 PASS Origin: http://127.0.0.1:8000
34 PASS Referer: http://127.0.0.1:8000/navigation/beacon-same-origin.html 35 PASS Referer: http://127.0.0.1:8000/navigation/beacon-same-origin.html
35 PASS Request-Method: POST 36 PASS Request-Method: POST
36 PASS Length: 11 37 PASS Length: 11
37 PASS Body: hello world 38 PASS Body: hello world
38 PASS 39 PASS
39 Sending beacon with type: [object FormData] 40 Sending beacon with type: [object FormData]
40 PASS navigator.sendBeacon("resources/save-beacon.php?name=same-origin", payload) ; is true 41 PASS navigator.sendBeacon("resources/save-beacon.php?name=same-origin", payload) ; is true
41 PASS Beacon sent successfully 42 PASS Beacon sent successfully
42 PASS Content-Type: multipart/form-data; 43 PASS Content-Type: multipart/form-data;
43 PASS Origin: http://127.0.0.1:8000 44 PASS Origin: http://127.0.0.1:8000
44 PASS Referer: http://127.0.0.1:8000/navigation/beacon-same-origin.html 45 PASS Referer: http://127.0.0.1:8000/navigation/beacon-same-origin.html
45 PASS Request-Method: POST 46 PASS Request-Method: POST
46 PASS Length: 9 47 PASS Length: 9
47 PASS Body: key=value 48 PASS Body: key=value
48 PASS 49 PASS
49 PASS successfullyParsed is true 50 PASS successfullyParsed is true
50 51
51 TEST COMPLETE 52 TEST COMPLETE
52 53
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/navigation/beacon-same-origin.html ('k') | Source/core/loader/BeaconLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698