CMB / edbrowse

A command-line editor and web browser.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gnome look

sylware opened this issue · comments

I wonder if my git build is working: I did try many "javascript" sites, but I get 1 empty line most of the time.

Are there test "javascript" sites known to work I could test my build against?

Just tested nasa site, and I get 4 lines with round brackets. I guess my build is broken someway and I'll have to figure out why.

And yes, the web is now "trusted" by ultra-heavy/tons of devs browsers (horrible c++ kludges).
This is a serious issue which should be handled by regulation and by enforcing noscript/basic (x)html interop for critical sites.
Coding a lean C89 coded and full web engine without 1000 devs is not reasonable.
edbrowse could mitigate this issue a lot if it achieves good compatibilty in spite of not being graphical.

yeah, the nasa site is working with the 3.8.0 static build, but not with my build of git edbrowse.

huho... not wanted to be pushy or anything, just wanted to know if it was my build or the current state of git edbrowse. Ofc, I am not expecting the git edbrowse to work all the time, no worries :)

git pulled but this is what I feared: I get the same result, namely only a few round brackets and that's it.

I am manually building libpcre2, quickjs and edbrowse. Very probably, I did not configure properly something.
I am posting the log on a noscript/basic (x)html pastebin if you want to have a look (but this is probably me who did something wrong) : https://paste.c-net.org/PayoffOptions
(your email address is ****)

Ouch. I built a git quickjs (from yesterday). I'll investigate this stack size (I smell a configure mistake).

I did put 1GiB of max stack size in quickjs which still overflows. I am about to look at your work around.

Skimming the bug, I don't understand it. I guess I have to seriously dive into this issue. Either the git version of quickjs broke edbrowse, or, very probably, I configure the build wrong.

found the issue: in quickjs there are several macro variables to control the stack size, I did modifiy the MAX, but not the default allocated. I did put 1GiB in the default stack size, and voilà, working.

Then, the default stack size in quickjs (and maybe the other stack size related variables) must be adjusted or nearly no sites will work.

I guess this should be made explicit in edbrowse build documentation.

Hi,
I don't do anything special with quickjs configuration, it's a stock
build. I link the static executables with musl.

Since there's interest in static builds from git, I'm working on
containerizing and automating that build procedure. Ideally, any time someone
pushes to the edbrowse git repo, a new snapshot of the static executables will
show up on edbrowse.org, but we aren't there yet.

wow, this is super weird. Then it may be related to quickjs itself or same nastier interaction. I usually use git libpcre2/quickjs/tidyhtml of the day.

just tried a recent edbrowse build, almost could download a x11 cursor theme!

I tested today: once I get to a x11 mouse cursor theme, the javascript will delete after a short time everything and I'll end up with a few buttons which does nothing.

:(