changeset 1727:bdefe70ae1a7

Tests: removed negative fetch API test for HTTPS schema. HTTPS support is planned to be added.
author Dmitry Volyntsev <xeioex@nginx.com>
date Thu, 02 Sep 2021 19:30:06 +0000
parents f66266cc82c8
children 6d5ecf445e57
files js_fetch.t
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/js_fetch.t
+++ b/js_fetch.t
@@ -190,7 +190,6 @@ my $p2 = port(8082);
             ['http://127.0.0.1:1/loc'],
             ['http://127.0.0.1:80800/loc'],
             [Symbol.toStringTag],
-            ['https://127.0.0.1:$p0/loc'],
         ];
 
         return process_errors(r, tests);
@@ -401,8 +400,7 @@ is(get_json('/broken'),
 	'[' .
 	'"connect failed",' .
 	'"failed to convert url arg",' .
-	'"invalid url",' .
-	'"unsupported URL prefix"]', 'fetch broken');
+	'"invalid url"]', 'fetch broken');
 is(get_json('/broken_response'),
 	'["invalid fetch content length",' .
 	'"invalid fetch header",' .