[bug] URLs return 'null' as the origin when using 'socket:' protocol #893
Labels
api
An issue, task, or discussion related to public runtime APIs
bug
Something isn't working
javascript
An issue, discussion, or task related to the runtime javascript
What OS are you using (
uname -a
, or Windows version)?Darwin jdw-mbp.local 23.2.0 Darwin Kernel Version 23.2.0: Wed Nov 15 21:54:05 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T6031 arm64
What version Socket Runtime are you using?
0.5.4 (97fa3f7c)
What did you expect to see and what you saw instead?
new URL('./example.html', 'socket://com.my-app').origin
returns the string'null'
but I would expect it to return'socket://com-my-app'
.The text was updated successfully, but these errors were encountered: