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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/sendbeacon/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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/sendbeacon/beacon-same-origin-expected.txt
diff --git a/third_party/WebKit/LayoutTests/http/tests/navigation/beacon-same-origin-expected.txt b/third_party/WebKit/LayoutTests/http/tests/sendbeacon/beacon-same-origin-expected.txt
similarity index 76%
rename from third_party/WebKit/LayoutTests/http/tests/navigation/beacon-same-origin-expected.txt
rename to third_party/WebKit/LayoutTests/http/tests/sendbeacon/beacon-same-origin-expected.txt
index 2f35fd87c128c2c825b98e787393819239c6665f..c45d94308c19bd9b05dbcaf52428c44ac26ca8cd 100644
--- a/third_party/WebKit/LayoutTests/http/tests/navigation/beacon-same-origin-expected.txt
+++ b/third_party/WebKit/LayoutTests/http/tests/sendbeacon/beacon-same-origin-expected.txt
@@ -1,7 +1,7 @@
-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'.
+PingLoader dispatched to 'http://127.0.0.1:8000/sendbeacon/resources/save-beacon.php?name=same-origin'.
+PingLoader dispatched to 'http://127.0.0.1:8000/sendbeacon/resources/save-beacon.php?name=same-origin'.
+PingLoader dispatched to 'http://127.0.0.1:8000/sendbeacon/resources/save-beacon.php?name=same-origin'.
+PingLoader dispatched to 'http://127.0.0.1:8000/sendbeacon/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".
@@ -12,7 +12,7 @@ PASS navigator.sendBeacon("resources/save-beacon.php?name=same-origin", payload)
PASS Beacon sent successfully
PASS Content-Type: text/plain;charset=UTF-8
PASS Origin: http://127.0.0.1:8000
-PASS Referer: http://127.0.0.1:8000/navigation/beacon-same-origin.html
+PASS Referer: http://127.0.0.1:8000/sendbeacon/beacon-same-origin.html
PASS Request-Method: POST
PASS Length: 10
PASS Body: SameOrigin
@@ -22,7 +22,7 @@ PASS navigator.sendBeacon("resources/save-beacon.php?name=same-origin", payload)
PASS Beacon sent successfully
PASS Content-Type: application/octet-stream
PASS Origin: http://127.0.0.1:8000
-PASS Referer: http://127.0.0.1:8000/navigation/beacon-same-origin.html
+PASS Referer: http://127.0.0.1:8000/sendbeacon/beacon-same-origin.html
PASS Request-Method: POST
PASS Length: 40
PASS Body: QAAAAEEAAABCAAAAQwAAAEQAAABFAAAARgAAAEcAAABIAAAASQAAAA==
@@ -32,7 +32,7 @@ PASS navigator.sendBeacon("resources/save-beacon.php?name=same-origin", payload)
PASS Beacon sent successfully
PASS Content-Type: text/plain;from-beacon=true
PASS Origin: http://127.0.0.1:8000
-PASS Referer: http://127.0.0.1:8000/navigation/beacon-same-origin.html
+PASS Referer: http://127.0.0.1:8000/sendbeacon/beacon-same-origin.html
PASS Request-Method: POST
PASS Length: 11
PASS Body: hello world
@@ -42,7 +42,7 @@ PASS navigator.sendBeacon("resources/save-beacon.php?name=same-origin", payload)
PASS Beacon sent successfully
PASS Content-Type: multipart/form-data;
PASS Origin: http://127.0.0.1:8000
-PASS Referer: http://127.0.0.1:8000/navigation/beacon-same-origin.html
+PASS Referer: http://127.0.0.1:8000/sendbeacon/beacon-same-origin.html
PASS Request-Method: POST
PASS Length: 9
PASS Body: key=value

Powered by Google App Engine
This is Rietveld 408576698