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

Unified Diff: LayoutTests/http/tests/navigation/beacon-cookie-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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/navigation/beacon-cookie-expected.txt
diff --git a/LayoutTests/http/tests/navigation/beacon-cookie-expected.txt b/LayoutTests/http/tests/navigation/beacon-cookie-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..54d234636aa8165c1fd5f1929cf1bbfc8691d77b
--- /dev/null
+++ b/LayoutTests/http/tests/navigation/beacon-cookie-expected.txt
@@ -0,0 +1,19 @@
+PingLoader dispatched to 'http://127.0.0.1:8000/navigation/resources/save-beacon.php?name=cookie'.
+Checking transmission of Beacons involving cookies.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS navigator.sendBeacon("resources/save-beacon.php?name=cookie", "Blip"); is true
+PASS Beacon sent successfully
+PASS Content-Type: text/plain;charset=UTF-8
+PASS Cookie: hello=world
+PASS Referer: http://127.0.0.1:8000/navigation/beacon-cookie.html
+PASS Request-Method: POST
+PASS Length: 4
+PASS Body: Blip
+PASS
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698