Skip to content

The headless browser for AI agents and web scraping

Merge origin/main into fix/custom-element-reactions

Kevsosmooth07e589c6cba7
diff --cc crates/obscura-js/js/bootstrap.js
index 5094d4f6,da3d7041..b48f0360
--- a/crates/obscura-js/js/bootstrap.js
+++ b/crates/obscura-js/js/bootstrap.js
@@@ -7183,9 -7155,7 +7242,9 @@@ class DocumentFragment extends Node
} else {
_dom("set_inner_html", this._nid, html);
}
- _connectSrcdocFrames(this, html);
+ _connectInsertedFrames(this, html);
+ _disconnectCustomElements(leavingCustomElements);
+ _connectCustomElements(this, false);
}
querySelector(s) { return _wrapEl(+_dom("query_selector_scoped", this._nid, s)); }
querySelectorAll(s) {