Index: LayoutTests/http/tests/navigation/beacon-same-origin-expected.txt |
diff --git a/LayoutTests/http/tests/navigation/beacon-same-origin-expected.txt b/LayoutTests/http/tests/navigation/beacon-same-origin-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..888ee141df0dc1aeee892eb5a1254cba30fc0f0e |
--- /dev/null |
+++ b/LayoutTests/http/tests/navigation/beacon-same-origin-expected.txt |
@@ -0,0 +1,48 @@ |
+PingLoader dispatched to 'http://127.0.0.1:8000/navigation/resources/save-beacon.php?name=same-origin'. |
+PingLoader dispatched to 'http://127.0.0.1:8000/navigation/resources/save-beacon.php?name=same-origin'. |
+PingLoader dispatched to 'http://127.0.0.1:8000/navigation/resources/save-beacon.php?name=same-origin'. |
+PingLoader dispatched to 'http://127.0.0.1:8000/navigation/resources/save-beacon.php?name=same-origin'. |
+Testing navigator.sendBeacon() within same origin. |
+ |
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
+ |
+ |
+Sending beacon with type: [object String] |
+PASS navigator.sendBeacon("resources/save-beacon.php?name=same-origin", payload); is true |
+PASS Beacon sent successfully |
+PASS Content-Type: text/plain;charset=UTF-8 |
+PASS Referer: http://127.0.0.1:8000/navigation/beacon-same-origin.html |
+PASS Request-Method: POST |
+PASS Length: 10 |
+PASS Body: SameOrigin |
+PASS |
+Sending beacon with type: [object Uint32Array] |
+PASS navigator.sendBeacon("resources/save-beacon.php?name=same-origin", payload); is true |
+PASS Beacon sent successfully |
+PASS Content-Type: application/octet-stream |
+PASS Referer: http://127.0.0.1:8000/navigation/beacon-same-origin.html |
+PASS Request-Method: POST |
+PASS Length: 40 |
+PASS Body: QAAAAEEAAABCAAAAQwAAAEQAAABFAAAARgAAAEcAAABIAAAASQAAAA== |
+PASS |
+Sending beacon with type: [object Blob] |
+PASS navigator.sendBeacon("resources/save-beacon.php?name=same-origin", payload); is true |
+PASS Beacon sent successfully |
+PASS Referer: http://127.0.0.1:8000/navigation/beacon-same-origin.html |
+PASS Request-Method: POST |
+PASS Length: 11 |
+PASS Body: hello world |
+PASS |
+Sending beacon with type: [object FormData] |
+PASS navigator.sendBeacon("resources/save-beacon.php?name=same-origin", payload); is true |
+PASS Beacon sent successfully |
+PASS Content-Type: multipart/form-data; |
+PASS Referer: http://127.0.0.1:8000/navigation/beacon-same-origin.html |
+PASS Request-Method: POST |
+PASS Length: 9 |
+PASS Body: key=value |
+PASS |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |