Skip to content

Commit

Permalink
chore(innate): remove heap strings accessibility tree
Browse files Browse the repository at this point in the history
  • Loading branch information
j-mendez committed Oct 3, 2023
1 parent 257bf6f commit 8505f31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kayle_innate/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ pub fn parse_accessibility_tree(
#[cfg(feature = "accessibility")]
/// audit a web page passing the html and css rules.
pub fn _audit_not_ready(html: &str, _css_rules: &str) -> Result<JsValue, JsValue> {
set_panic_hook();
// set_panic_hook();
let html = Box::new(scraper::Html::parse_document(html));
// TODO: if the css rules are empty extract the css from the HTML
let css_rules = &mut cssparser::ParserInput::new(&_css_rules);
Expand Down

0 comments on commit 8505f31

Please sign in to comment.