LadybirdBrowser / ancient-history

The Ladybird web browser
BSD 2-Clause "Simplified" License
1.62k stars 105 forks source link

OSX build #8

Closed tronicum closed 2 years ago

tronicum commented 2 years ago

to my surpise, i was able to compile an OSX version using homebrew gcc as compiler. trying to open an page crashes though.

ladybird-osx
tronicum commented 2 years ago

local stuff works though its not entirely broken.

ladybird-local
ucosty commented 2 years ago

I think the problem is caused by the browser not finding the ca_certs.ini file in the place it expects, which is /etc/ca_certs.ini.

There is slightly odd behavior in LibCore's config file routines which make opening a non-existent config file behave like opening an empty file.

ADKaster commented 2 years ago

The TLS library and other corresponding classes used by libweb haven't been designed to execute outside of serenity where we have some hard coded expectations about where data files and resources will live.

There's some work to go in the serenity libs to make all this behavior work properly in Linux

fathonix commented 2 years ago

Weird, mine works though.

Screen Shot 2022-07-06 at 05 51 30
fathonix commented 2 years ago

Google, YouTube, Facebook and DuckDuckGo load but WhatIsMyBrowser.com crashes.

Screen Shot 2022-07-06 at 05 59 08
ADKaster commented 2 years ago

That looks like an issue with libweb and the incomplete webgl support. The place to debug that issue is on the serenityos discord and serenity issue tracker. Many many websites don't load or crash for hundreds of known reasons, the software is still in development.

If it doesn't reproduce in the serenity browser on SerenityOS, then we can look at the issue as specific to the Linux port.

awesomekling commented 2 years ago

Closing per @ADKaster's comments.