Title: [256492] trunk/Tools
- Revision
- 256492
- Author
- [email protected]
- Date
- 2020-02-12 16:34:11 -0800 (Wed, 12 Feb 2020)
Log Message
run-_javascript_core-tests: Allow insecure requests on upload
https://bugs.webkit.org/show_bug.cgi?id=207662
Rubber-stamped by Aakash Jain.
* Scripts/run-_javascript_core-tests:
(uploadResults): Allow insecure curl request when posting results.
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (256491 => 256492)
--- trunk/Tools/ChangeLog 2020-02-13 00:31:41 UTC (rev 256491)
+++ trunk/Tools/ChangeLog 2020-02-13 00:34:11 UTC (rev 256492)
@@ -1,3 +1,13 @@
+2020-02-12 Jonathan Bedard <[email protected]>
+
+ run-_javascript_core-tests: Allow insecure requests on upload
+ https://bugs.webkit.org/show_bug.cgi?id=207662
+
+ Rubber-stamped by Aakash Jain.
+
+ * Scripts/run-_javascript_core-tests:
+ (uploadResults): Allow insecure curl request when posting results.
+
2020-02-12 Truitt Savell <[email protected]>
Unreviewed, rolling out r256463.
Modified: trunk/Tools/Scripts/run-_javascript_core-tests (256491 => 256492)
--- trunk/Tools/Scripts/run-_javascript_core-tests 2020-02-13 00:31:41 UTC (rev 256491)
+++ trunk/Tools/Scripts/run-_javascript_core-tests 2020-02-13 00:34:11 UTC (rev 256492)
@@ -917,7 +917,11 @@
print "Uploading results to $report\n";
- open(HANDLE, "|-", "curl -X POST $report/api/upload -H 'Content-Type: application/json' -f -d '\@-'") or die "Failed to open curl";
+ my $sslOptions = '';
+ if (!isAppleMacWebKit()) {
+ $sslOptions = '--insecure';
+ }
+ open(HANDLE, "|-", "curl -X POST $report/api/upload -H 'Content-Type: application/json' $sslOptions -f -d '\@-'") or die "Failed to open curl";
# Json conforming to https://results.webkit.org/documentation#API-Uploads.
my $encodedUpload = encode_json(\%upload);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes