fix(dom): expose object child browsing context

This commit is contained in:
ldm0
2026-10-02 03:28:07 +08:00
parent a7cf0251bf
commit 2fe34f2d9e
2 changed files with 2 additions and 3 deletions
@@ -159,12 +159,12 @@ pub(super) struct HtmlObjectElementPrototypeDeclaration {
height: (),
#[webapi(
accessor_property,
getter = object_content_document_getter_function
getter = frame_owner_content_document_getter_function
)]
content_document: (),
#[webapi(
accessor_property,
getter = object_content_window_getter_function
getter = frame_owner_content_window_getter_function
)]
content_window: (),
#[webapi(
@@ -610,7 +610,6 @@ fn html_rel_accessors_live_on_owner_prototypes() {
assert(descriptor.enumerable === true, `${name} enumerable`);
assert(descriptor.configurable === true, `${name} configurable`);
};
const cases = [
[HTMLAnchorElement.prototype, document.createElement("a"), "anchor"],
[HTMLAreaElement.prototype, document.createElement("area"), "area"],