-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected termination in JS.do console #15
Comments
Thanks for the report. Unfortunately at this moment the js.do website seems to be down, but I have a suspicion as to what's going on: probably the surrounding code is attempting to use the return value from this piece of code as a string, which means it's trying to stringify the return value of For now, your workaround of adding the extra |
Unfortunately I couldn't reproduce this yet. See https://js.do/code/webperltest1 - it seems to work fine, at least in Firefox on Linux. Could you let me know if this code fails for you on your platform? And if not, could you provide a link to code that does fail on your platform? Thanks. |
I made this report based on testing from a computer I no longer have access to. Testing from my personal system I get the following results:
I'd be willing to bet that the speed issues on Safari are more of a commentary on webasm support in the browsers than anything you are doing. |
Thanks for the update! And yes, Webassembly support isn't perfect everywhere yet; I do most of my testing on Firefox and Chrome. Let me know if you are able to reproduce this issue again anywhere. I'll leave this issue open for now as a reminder to myself about the stringification of JSObjects. |
Describe the bug
Running a simple, valid program in the JS.do example website may lead to a valid script terminating.
Error message is:
Operation """": no method found, argument in overloaded package WebPerl::JSObject. exit(255) called, but NO_EXIT_RUNTIME is set, so halting execution but not exiting the runtime or preventing further async execution (build with NO_EXIT_RUNTIME=0, if you want a true shutdown)
To Reproduce
Expected behavior vs. actual behavior
This code should run identically with or without the trailing constant.
Versions
Additional context
Add any other context about the problem here. If applicable, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered: