Title: [220796] trunk/LayoutTests
- Revision
- 220796
- Author
- [email protected]
- Date
- 2017-08-16 08:43:26 -0700 (Wed, 16 Aug 2017)
Log Message
Unreviewed, rebaseline a few tests after r220779.
* http/tests/blink/sendbeacon/beacon-same-origin-expected.txt:
* http/wpt/beacon/cors/cors-preflight-arraybufferview-failure.html:
* http/wpt/beacon/cors/cors-preflight-arraybufferview-success.html:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (220795 => 220796)
--- trunk/LayoutTests/ChangeLog 2017-08-16 13:15:20 UTC (rev 220795)
+++ trunk/LayoutTests/ChangeLog 2017-08-16 15:43:26 UTC (rev 220796)
@@ -1,3 +1,11 @@
+2017-08-16 Chris Dumez <[email protected]>
+
+ Unreviewed, rebaseline a few tests after r220779.
+
+ * http/tests/blink/sendbeacon/beacon-same-origin-expected.txt:
+ * http/wpt/beacon/cors/cors-preflight-arraybufferview-failure.html:
+ * http/wpt/beacon/cors/cors-preflight-arraybufferview-success.html:
+
2017-08-15 Andy Estes <[email protected]>
[Payment Request] Import test suite from web-platform-tests
Modified: trunk/LayoutTests/http/tests/blink/sendbeacon/beacon-same-origin-expected.txt (220795 => 220796)
--- trunk/LayoutTests/http/tests/blink/sendbeacon/beacon-same-origin-expected.txt 2017-08-16 13:15:20 UTC (rev 220795)
+++ trunk/LayoutTests/http/tests/blink/sendbeacon/beacon-same-origin-expected.txt 2017-08-16 15:43:26 UTC (rev 220796)
@@ -16,7 +16,7 @@
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 Content-Type: application/octet-stream
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
Modified: trunk/LayoutTests/http/wpt/beacon/cors/cors-preflight-arraybufferview-failure.html (220795 => 220796)
--- trunk/LayoutTests/http/wpt/beacon/cors/cors-preflight-arraybufferview-failure.html 2017-08-16 13:15:20 UTC (rev 220795)
+++ trunk/LayoutTests/http/wpt/beacon/cors/cors-preflight-arraybufferview-failure.html 2017-08-16 15:43:26 UTC (rev 220796)
@@ -38,7 +38,7 @@
assert_equals(result['preflight_referer'], document.URL, "Preflight referer header")
assert_equals(result['preflight_requested_method'], "POST", "Preflight requested method")
let requested_headers = result['preflight_requested_headers'].toLowerCase()
- assert_false(requested_headers.includes("content-type"), "Content-Type header is not requested")
+ assert_true(requested_headers.includes("content-type"), "Content-Type header is requested")
assert_true(requested_headers.includes("referer"), "Referer header is requested")
assert_true(requested_headers.includes("origin"), "Origin header is requested")
assert_equals(result['beacon'], 0, "Did not receive beacon")
Modified: trunk/LayoutTests/http/wpt/beacon/cors/cors-preflight-arraybufferview-success.html (220795 => 220796)
--- trunk/LayoutTests/http/wpt/beacon/cors/cors-preflight-arraybufferview-success.html 2017-08-16 13:15:20 UTC (rev 220795)
+++ trunk/LayoutTests/http/wpt/beacon/cors/cors-preflight-arraybufferview-success.html 2017-08-16 15:43:26 UTC (rev 220796)
@@ -38,7 +38,7 @@
assert_equals(result['preflight_referer'], document.URL, "Preflight referer header")
assert_equals(result['preflight_requested_method'], "POST", "Preflight requested method")
let requested_headers = result['preflight_requested_headers'].toLowerCase()
- assert_false(requested_headers.includes("content-type"), "Content-Type header is not requested")
+ assert_true(requested_headers.includes("content-type"), "Content-Type header is requested")
assert_true(requested_headers.includes("referer"), "Referer header is requested")
assert_true(requested_headers.includes("origin"), "Origin header is requested")
assert_equals(result['beacon'], 1, "Received beacon")
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes