Closed noise64 closed 4 months ago
Thanks for posting. Yeah fetch still isn't working for some reason, I'm not sure why. It needs to be traced to determine if it is a StarlingMonkey bug or a ComponentizeJS bug, which also still needs to be investigated further.
For now I'm disabling http by default and leaving it as an option with docs that it's still experimental for the next release.
Thank you!
I was following the fetch and related changes in StarlingMonkey and the update PR here, and now that all of them are merged I wanted to test fetch. I saw that during https://github.com/bytecodealliance/ComponentizeJS/pull/111 there was even a test added for it, but it was dropped in a fixup commit (https://github.com/bytecodealliance/ComponentizeJS/pull/111/commits/fea492f976b514b5f5bb539e1c0b3ce387435185) before merging.
Adding it again on top of 0.9.0 results in (formatted a bit by hand for readability):
If I understand correctly the http feature is enabled by default now.
Is this fetch error expected currently, should fetch work in general? Or was the test case deliberately dropped for now?