rust-sciter icon indicating copy to clipboard operation
rust-sciter copied to clipboard

Dom example doesn't work : cannot load html-content from http://httpbin.org/html

Open regular-dev opened this issue 5 years ago • 3 comments

Hello !

I've just build DOM example (https://github.com/sciter-sdk/rust-sciter/blob/master/examples/dom.rs) and run it, but all i see is blank white window.

I also tried to change from load_file to load_html to load site from memory( i've coppied html-code of site to minimal.htm) :

let html = include_bytes!("minimal.htm");
frame.load_html(html, Some("example://minimal.htm")); 

And it worked fine. So it seems like rust-sciter cannot load internet web page. Site is available, PC has internet connection. OS : ArchLinux

I also tried to run as root but no success.

domexample

regular-dev avatar Nov 28 '19 14:11 regular-dev

So it seems like rust-sciter cannot load internet web page.

Interesting. I'll check on other OS.

pravic avatar Nov 28 '19 18:11 pravic

So it seems like rust-sciter cannot load internet web page.

Interesting. I'll check on other OS.

I've just found out that rust-sciter doesn't support sciter::request that used for resource downloading. Maybe this is the reason ?

regular-dev avatar Dec 02 '19 15:12 regular-dev

No, it's for custom requests made by the application.

pravic avatar Dec 03 '19 05:12 pravic