Unreviewed test gardening for High Sierra.
[WebKit-https.git] / LayoutTests / platform / mac / http / tests / blink / sendbeacon / beacon-same-origin-expected.txt
1 Testing navigator.sendBeacon() within same origin.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6 Sending beacon with type: [object String]
7 PASS navigator.sendBeacon("resources/save-beacon.php?name=same-origin", payload); is true
8 PASS Beacon sent successfully
9 PASS Content-Type: text/plain;charset=UTF-8
10 PASS Origin: http://127.0.0.1:8000
11 PASS Referer: http://127.0.0.1:8000/blink/sendbeacon/beacon-same-origin.html
12 PASS Request-Method: POST
13 PASS Length: 10
14 PASS Body: SameOrigin
15 PASS 
16 Sending beacon with type: [object Uint32Array]
17 PASS navigator.sendBeacon("resources/save-beacon.php?name=same-origin", payload); is true
18 PASS Beacon sent successfully
19 PASS Origin: http://127.0.0.1:8000
20 PASS Referer: http://127.0.0.1:8000/blink/sendbeacon/beacon-same-origin.html
21 PASS Request-Method: POST
22 PASS Length: 40
23 PASS Body: @\0\0\0A\0\0\0B\0\0\0C\0\0\0D\0\0\0E\0\0\0F\0\0\0G\0\0\0H\0\0\0I
24 PASS 
25 Sending beacon with type: [object Blob]
26 PASS navigator.sendBeacon("resources/save-beacon.php?name=same-origin", payload); is true
27 PASS Beacon sent successfully
28 PASS Content-Type: text/plain;from-beacon=true
29 PASS Origin: http://127.0.0.1:8000
30 PASS Referer: http://127.0.0.1:8000/blink/sendbeacon/beacon-same-origin.html
31 PASS Request-Method: POST
32 PASS Length: 11
33 PASS Body: hello world
34 PASS 
35 Sending beacon with type: [object FormData]
36 PASS navigator.sendBeacon("resources/save-beacon.php?name=same-origin", payload); is true
37 PASS Beacon sent successfully
38 PASS Content-Type: multipart/form-data;
39 PASS Origin: http://127.0.0.1:8000
40 PASS Referer: http://127.0.0.1:8000/blink/sendbeacon/beacon-same-origin.html
41 PASS Request-Method: POST
42 PASS Length: 9
43 PASS Body: key=value
44 PASS 
45 Sending beacon with type: [object URLSearchParams]
46 PASS navigator.sendBeacon("resources/save-beacon.php?name=same-origin", payload); is true
47 PASS Beacon sent successfully
48 PASS Content-Type: application/x-www-form-urlencoded;charset=UTF-8
49 PASS Origin: http://127.0.0.1:8000
50 PASS Referer: http://127.0.0.1:8000/blink/sendbeacon/beacon-same-origin.html
51 PASS Request-Method: POST
52 PASS Length: 7
53 PASS Body: YT1iJmM9ZA==
54 PASS 
55 PASS successfullyParsed is true
56
57 TEST COMPLETE
58