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

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: Adjust unrelated test expectation Created 6 years, 8 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 Referer: http://127.0.0.1:8000/navigation/beacon-same-origin.html
15 PASS Request-Method: POST
16 PASS Length: 10
17 PASS Body: SameOrigin
18 PASS
19 Sending beacon with type: [object Uint32Array]
20 PASS navigator.sendBeacon("resources/save-beacon.php?name=same-origin", payload) ; is true
21 PASS Beacon sent successfully
22 PASS Content-Type: application/octet-stream
23 PASS Referer: http://127.0.0.1:8000/navigation/beacon-same-origin.html
24 PASS Request-Method: POST
25 PASS Length: 40
26 PASS Body: QAAAAEEAAABCAAAAQwAAAEQAAABFAAAARgAAAEcAAABIAAAASQAAAA==
27 PASS
28 Sending beacon with type: [object Blob]
29 PASS navigator.sendBeacon("resources/save-beacon.php?name=same-origin", payload) ; is true
30 PASS Beacon sent successfully
31 PASS Referer: http://127.0.0.1:8000/navigation/beacon-same-origin.html
32 PASS Request-Method: POST
33 PASS Length: 11
34 PASS Body: hello world
35 PASS
36 Sending beacon with type: [object FormData]
37 PASS navigator.sendBeacon("resources/save-beacon.php?name=same-origin", payload) ; is true
38 PASS Beacon sent successfully
39 PASS Content-Type: multipart/form-data;
40 PASS Referer: http://127.0.0.1:8000/navigation/beacon-same-origin.html
41 PASS Request-Method: POST
42 PASS Length: 9
43 PASS Body: key=value
44 PASS
45 PASS successfullyParsed is true
46
47 TEST COMPLETE
48
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698