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

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

Issue 2702113003: Move tests for sendBeacon to a separate dedicated directory for clearer ownership (Closed)
Patch Set: a Created 3 years, 10 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 Content-Type: text/plain;from-beacon=true
34 PASS Origin: http://127.0.0.1:8000
35 PASS Referer: http://127.0.0.1:8000/navigation/beacon-same-origin.html
36 PASS Request-Method: POST
37 PASS Length: 11
38 PASS Body: hello world
39 PASS
40 Sending beacon with type: [object FormData]
41 PASS navigator.sendBeacon("resources/save-beacon.php?name=same-origin", payload) ; is true
42 PASS Beacon sent successfully
43 PASS Content-Type: multipart/form-data;
44 PASS Origin: http://127.0.0.1:8000
45 PASS Referer: http://127.0.0.1:8000/navigation/beacon-same-origin.html
46 PASS Request-Method: POST
47 PASS Length: 9
48 PASS Body: key=value
49 PASS
50 PASS successfullyParsed is true
51
52 TEST COMPLETE
53
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698