diff options
author | Matt Mastracci <matthew@mastracci.com> | 2024-04-18 11:21:25 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-18 11:21:25 -0600 |
commit | d9d3f81f291bbba4ab526f1781ca78e8a00cba64 (patch) | |
tree | d3b09207a9ea1108a0eadd998b46f0d39dada83b /tests/testdata | |
parent | 6a09a16d710b2d7a9d39478e5bcbabb40919d657 (diff) |
chore: remove unused, unstable 'http' namespace (#23436)
Landing parts of #21903 in preparation for the removal of serveHttp.
Diffstat (limited to 'tests/testdata')
-rw-r--r-- | tests/testdata/run/unstable_http.disabled.out | 8 | ||||
-rw-r--r-- | tests/testdata/run/unstable_http.enabled.out | 8 | ||||
-rw-r--r-- | tests/testdata/run/unstable_http.js | 4 |
3 files changed, 0 insertions, 20 deletions
diff --git a/tests/testdata/run/unstable_http.disabled.out b/tests/testdata/run/unstable_http.disabled.out index 6eb83832e..3562f72fd 100644 --- a/tests/testdata/run/unstable_http.disabled.out +++ b/tests/testdata/run/unstable_http.disabled.out @@ -1,12 +1,4 @@ main undefined main undefined -main undefined -main undefined -main undefined -main undefined -worker undefined -worker undefined -worker undefined -worker undefined worker undefined worker undefined diff --git a/tests/testdata/run/unstable_http.enabled.out b/tests/testdata/run/unstable_http.enabled.out index 4f3c65625..f7aa776e9 100644 --- a/tests/testdata/run/unstable_http.enabled.out +++ b/tests/testdata/run/unstable_http.enabled.out @@ -1,12 +1,4 @@ main [class HttpClient] main [Function: createHttpClient] -main [class HttpConn] -main Symbol("[[associated_ws]]") -main [Function: serve] -main [Function: upgradeWebSocket] worker [class HttpClient] worker [Function: createHttpClient] -worker [class HttpConn] -worker Symbol("[[associated_ws]]") -worker [Function: serve] -worker [Function: upgradeWebSocket] diff --git a/tests/testdata/run/unstable_http.js b/tests/testdata/run/unstable_http.js index 1a3ddb2d3..7ad09aec5 100644 --- a/tests/testdata/run/unstable_http.js +++ b/tests/testdata/run/unstable_http.js @@ -2,10 +2,6 @@ const scope = import.meta.url.slice(-7) === "#worker" ? "worker" : "main"; console.log(scope, Deno.HttpClient); console.log(scope, Deno.createHttpClient); -console.log(scope, Deno.http?.HttpConn); -console.log(scope, Deno.http?._ws); -console.log(scope, Deno.http?.serve); -console.log(scope, Deno.http?.upgradeWebSocket); if (scope === "worker") { postMessage("done"); |