| OLD | NEW |
| 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/sendbeacon/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/sendbeacon/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/sendbeacon/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/sendbeacon/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] |
| 11 PASS navigator.sendBeacon("resources/save-beacon.php?name=same-origin", payload)
; is true | 11 PASS navigator.sendBeacon("resources/save-beacon.php?name=same-origin", payload)
; is true |
| 12 PASS Beacon sent successfully | 12 PASS Beacon sent successfully |
| 13 PASS Content-Type: text/plain;charset=UTF-8 | 13 PASS Content-Type: text/plain;charset=UTF-8 |
| 14 PASS Origin: http://127.0.0.1:8000 | 14 PASS Origin: http://127.0.0.1:8000 |
| 15 PASS Referer: http://127.0.0.1:8000/navigation/beacon-same-origin.html | 15 PASS Referer: http://127.0.0.1:8000/sendbeacon/beacon-same-origin.html |
| 16 PASS Request-Method: POST | 16 PASS Request-Method: POST |
| 17 PASS Length: 10 | 17 PASS Length: 10 |
| 18 PASS Body: SameOrigin | 18 PASS Body: SameOrigin |
| 19 PASS | 19 PASS |
| 20 Sending beacon with type: [object Uint32Array] | 20 Sending beacon with type: [object Uint32Array] |
| 21 PASS navigator.sendBeacon("resources/save-beacon.php?name=same-origin", payload)
; is true | 21 PASS navigator.sendBeacon("resources/save-beacon.php?name=same-origin", payload)
; is true |
| 22 PASS Beacon sent successfully | 22 PASS Beacon sent successfully |
| 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/sendbeacon/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 Content-Type: text/plain;from-beacon=true |
| 34 PASS Origin: http://127.0.0.1:8000 | 34 PASS Origin: http://127.0.0.1:8000 |
| 35 PASS Referer: http://127.0.0.1:8000/navigation/beacon-same-origin.html | 35 PASS Referer: http://127.0.0.1:8000/sendbeacon/beacon-same-origin.html |
| 36 PASS Request-Method: POST | 36 PASS Request-Method: POST |
| 37 PASS Length: 11 | 37 PASS Length: 11 |
| 38 PASS Body: hello world | 38 PASS Body: hello world |
| 39 PASS | 39 PASS |
| 40 Sending beacon with type: [object FormData] | 40 Sending beacon with type: [object FormData] |
| 41 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 |
| 42 PASS Beacon sent successfully | 42 PASS Beacon sent successfully |
| 43 PASS Content-Type: multipart/form-data; | 43 PASS Content-Type: multipart/form-data; |
| 44 PASS Origin: http://127.0.0.1:8000 | 44 PASS Origin: http://127.0.0.1:8000 |
| 45 PASS Referer: http://127.0.0.1:8000/navigation/beacon-same-origin.html | 45 PASS Referer: http://127.0.0.1:8000/sendbeacon/beacon-same-origin.html |
| 46 PASS Request-Method: POST | 46 PASS Request-Method: POST |
| 47 PASS Length: 9 | 47 PASS Length: 9 |
| 48 PASS Body: key=value | 48 PASS Body: key=value |
| 49 PASS | 49 PASS |
| 50 PASS successfullyParsed is true | 50 PASS successfullyParsed is true |
| 51 | 51 |
| 52 TEST COMPLETE | 52 TEST COMPLETE |
| 53 | 53 |
| OLD | NEW |