0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-07 11:44:50 -05:00
deno/tests
Yoshiya Hinosawa 0e47205ebe
fix(ext/node): do not apply socket-init-workaround to ipc socket (#27779)
This PR resolves 2 issues of Socket class of node compat (both are
related to playwright)

Currently `browser.launch()` of playwright is not working.
`browser.launch` opens PipeTransport (which is based on Pipe/IPC socket)
with the browser process. But that pipe doesn't start reading the data
because of the workaround #27662 (which pauses the socket at the
beginning if it's from playwright-core). This PR fixes this issue by
checking whether the given handle is `ipc` handle or not.

Another issue is that sock-init-workaround for TLS connection stopped
working at #27707 because of the changes of TLS socket initialization
steps. This change fixes the issue by correctly returning the function
in workaround path.

The added case `specs::npm::playwright_compat` checks both fixes with
actual playwright and playwright-core packages.

`browser.launch` issues
closes #16899
closes #27623 

`https.request` issue
closes #27658
2025-01-28 15:38:45 +09:00
..
config chore: use @std prefix for internal module specifiers (#24543) 2024-07-25 10:26:54 +10:00
ffi chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
integration feat: Deno.cwd() no longer requires --allow-read permission (#27192) 2025-01-27 15:13:59 +01:00
napi chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
node_compat fix(ext/node): add FileHandle#sync (#27677) 2025-01-21 14:52:40 +09:00
registry fix(ext/node): do not apply socket-init-workaround to ipc socket (#27779) 2025-01-28 15:38:45 +09:00
specs fix(ext/node): do not apply socket-init-workaround to ipc socket (#27779) 2025-01-28 15:38:45 +09:00
testdata feat: Deno.cwd() no longer requires --allow-read permission (#27192) 2025-01-27 15:13:59 +01:00
unit fix(ext/crypto): export private x25519 JWK key (#27828) 2025-01-27 22:25:00 +05:30
unit_node fix(ext/node): implement X509Certificate#checkHost (#27821) 2025-01-27 16:33:03 +05:30
util refactor: move denort to separate crate (#27688) 2025-01-17 20:39:29 +00:00
wpt fix(ext/crypto): export private x25519 JWK key (#27828) 2025-01-27 22:25:00 +05:30
Cargo.toml chore: update ensure_registry_files_local to handle scoped packages (#27801) 2025-01-24 21:47:15 +09:00
lib.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
README.md chore: continue tests/ re-org (#22396) 2024-02-12 17:13:14 -07:00

Deno Integration Tests