Title: [224848] trunk/LayoutTests
Revision
224848
Author
ryanhad...@apple.com
Date
2017-11-14 14:26:21 -0800 (Tue, 14 Nov 2017)

Log Message

Unreviewed test gardening for High Sierra.

* platform/mac-sierra/http/tests/blink/sendbeacon/beacon-same-origin-expected.txt: Added.
* platform/mac-sierra/imported/w3c/web-platform-tests/beacon/headers/header-content-type-expected.txt: Renamed from LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/beacon/headers/header-content-type-expected.txt.
* platform/mac/http/tests/blink/sendbeacon/beacon-same-origin-expected.txt: Added.
* platform/mac/imported/w3c/web-platform-tests/beacon/headers/header-content-type-expected.txt: Added.

Modified Paths

Added Paths

Removed Paths

  • trunk/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/beacon/

Diff

Modified: trunk/LayoutTests/ChangeLog (224847 => 224848)


--- trunk/LayoutTests/ChangeLog	2017-11-14 22:23:29 UTC (rev 224847)
+++ trunk/LayoutTests/ChangeLog	2017-11-14 22:26:21 UTC (rev 224848)
@@ -1,3 +1,12 @@
+2017-11-14  Ryan Haddad  <ryanhad...@apple.com>
+
+        Unreviewed test gardening for High Sierra.
+
+        * platform/mac-sierra/http/tests/blink/sendbeacon/beacon-same-origin-expected.txt: Added.
+        * platform/mac-sierra/imported/w3c/web-platform-tests/beacon/headers/header-content-type-expected.txt: Renamed from LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/beacon/headers/header-content-type-expected.txt.
+        * platform/mac/http/tests/blink/sendbeacon/beacon-same-origin-expected.txt: Added.
+        * platform/mac/imported/w3c/web-platform-tests/beacon/headers/header-content-type-expected.txt: Added.
+
 2017-11-14  Dean Jackson  <d...@apple.com>
 
         Stub implementations of OffscreenCanvas getContext and transferToImageBitmap

Added: trunk/LayoutTests/platform/mac/http/tests/blink/sendbeacon/beacon-same-origin-expected.txt (0 => 224848)


--- trunk/LayoutTests/platform/mac/http/tests/blink/sendbeacon/beacon-same-origin-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/mac/http/tests/blink/sendbeacon/beacon-same-origin-expected.txt	2017-11-14 22:26:21 UTC (rev 224848)
@@ -0,0 +1,58 @@
+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 Origin: http://127.0.0.1:8000
+PASS Referer: http://127.0.0.1:8000/blink/sendbeacon/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 Origin: http://127.0.0.1:8000
+PASS Referer: http://127.0.0.1:8000/blink/sendbeacon/beacon-same-origin.html
+PASS Request-Method: POST
+PASS Length: 40
+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
+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 Content-Type: text/plain;from-beacon=true
+PASS Origin: http://127.0.0.1:8000
+PASS Referer: http://127.0.0.1:8000/blink/sendbeacon/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 Origin: http://127.0.0.1:8000
+PASS Referer: http://127.0.0.1:8000/blink/sendbeacon/beacon-same-origin.html
+PASS Request-Method: POST
+PASS Length: 9
+PASS Body: key=value
+PASS 
+Sending beacon with type: [object URLSearchParams]
+PASS navigator.sendBeacon("resources/save-beacon.php?name=same-origin", payload); is true
+PASS Beacon sent successfully
+PASS Content-Type: application/x-www-form-urlencoded;charset=UTF-8
+PASS Origin: http://127.0.0.1:8000
+PASS Referer: http://127.0.0.1:8000/blink/sendbeacon/beacon-same-origin.html
+PASS Request-Method: POST
+PASS Length: 7
+PASS Body: YT1iJmM9ZA==
+PASS 
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Added: trunk/LayoutTests/platform/mac/imported/w3c/web-platform-tests/beacon/headers/header-content-type-expected.txt (0 => 224848)


--- trunk/LayoutTests/platform/mac/imported/w3c/web-platform-tests/beacon/headers/header-content-type-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/mac/imported/w3c/web-platform-tests/beacon/headers/header-content-type-expected.txt	2017-11-14 22:26:21 UTC (rev 224848)
@@ -0,0 +1,8 @@
+
+PASS Test content-type header for a body string 
+PASS Test content-type header for a body ArrayBufferView 
+PASS Test content-type header for a body ArrayBuffer 
+PASS Test content-type header for a body Blob 
+PASS Test content-type header for a body FormData 
+PASS Test content-type header for a body URLSearchParams 
+

Added: trunk/LayoutTests/platform/mac-sierra/http/tests/blink/sendbeacon/beacon-same-origin-expected.txt (0 => 224848)


--- trunk/LayoutTests/platform/mac-sierra/http/tests/blink/sendbeacon/beacon-same-origin-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/mac-sierra/http/tests/blink/sendbeacon/beacon-same-origin-expected.txt	2017-11-14 22:26:21 UTC (rev 224848)
@@ -0,0 +1,59 @@
+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 Origin: http://127.0.0.1:8000
+PASS Referer: http://127.0.0.1:8000/blink/sendbeacon/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/x-www-form-urlencoded
+PASS Origin: http://127.0.0.1:8000
+PASS Referer: http://127.0.0.1:8000/blink/sendbeacon/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 Content-Type: text/plain;from-beacon=true
+PASS Origin: http://127.0.0.1:8000
+PASS Referer: http://127.0.0.1:8000/blink/sendbeacon/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 Origin: http://127.0.0.1:8000
+PASS Referer: http://127.0.0.1:8000/blink/sendbeacon/beacon-same-origin.html
+PASS Request-Method: POST
+PASS Length: 9
+PASS Body: key=value
+PASS 
+Sending beacon with type: [object URLSearchParams]
+PASS navigator.sendBeacon("resources/save-beacon.php?name=same-origin", payload); is true
+PASS Beacon sent successfully
+PASS Content-Type: application/x-www-form-urlencoded;charset=UTF-8
+PASS Origin: http://127.0.0.1:8000
+PASS Referer: http://127.0.0.1:8000/blink/sendbeacon/beacon-same-origin.html
+PASS Request-Method: POST
+PASS Length: 7
+PASS Body: YT1iJmM9ZA==
+PASS 
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Copied: trunk/LayoutTests/platform/mac-sierra/imported/w3c/web-platform-tests/beacon/headers/header-content-type-expected.txt (from rev 224846, trunk/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/beacon/headers/header-content-type-expected.txt) (0 => 224848)


--- trunk/LayoutTests/platform/mac-sierra/imported/w3c/web-platform-tests/beacon/headers/header-content-type-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/mac-sierra/imported/w3c/web-platform-tests/beacon/headers/header-content-type-expected.txt	2017-11-14 22:26:21 UTC (rev 224848)
@@ -0,0 +1,8 @@
+
+PASS Test content-type header for a body string 
+FAIL Test content-type header for a body ArrayBufferView assert_equals: Correct Content-Type header result expected "" but got "application/x-www-form-urlencoded"
+FAIL Test content-type header for a body ArrayBuffer assert_equals: Correct Content-Type header result expected "" but got "application/x-www-form-urlencoded"
+PASS Test content-type header for a body Blob 
+PASS Test content-type header for a body FormData 
+PASS Test content-type header for a body URLSearchParams 
+
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to