MCPcopy Create free account
hub / github.com/d0iasm/saba / console_error

Function console_error

core/src/utils.rs:23–27  ·  view source on GitHub ↗
(browser: &Weak<RefCell<Browser>>, log: String)

Source from the content-addressed store, hash-verified

21}
22
23pub fn console_error(browser: &Weak<RefCell<Browser>>, log: String) {
24 if let Some(browser) = browser.upgrade() {
25 browser.borrow_mut().console_error(log);
26 }
27}
28
29/// for debug
30pub fn convert_dom_to_string(root: &Option<Rc<RefCell<Node>>>) -> String {

Callers 2

cascading_styleMethod · 0.85
start_navigationMethod · 0.85

Calls 1

console_errorMethod · 0.80

Tested by

no test coverage detected