Propagate CanGc arguments through HTMLCollection constructors (#36180)

Signed-off-by: dericko681 <abonghoderick@gmail.com>
This commit is contained in:
Kunga Derick Abongho 2025-03-29 14:12:14 +01:00 committed by GitHub
parent 83da63f638
commit 40133ce29a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 125 additions and 53 deletions

View file

@ -551,6 +551,7 @@ pub(crate) fn handle_find_element_tag_name(
pipeline: PipelineId,
selector: String,
reply: IpcSender<Result<Option<String>, ErrorStatus>>,
_can_gc: CanGc,
) {
reply
.send(
@ -618,6 +619,7 @@ pub(crate) fn handle_find_elements_tag_name(
pipeline: PipelineId,
selector: String,
reply: IpcSender<Result<Vec<String>, ErrorStatus>>,
_can_gc: CanGc,
) {
reply
.send(
@ -675,6 +677,7 @@ pub(crate) fn handle_find_element_element_tag_name(
element_id: String,
selector: String,
reply: IpcSender<Result<Option<String>, ErrorStatus>>,
_can_gc: CanGc,
) {
reply
.send(
@ -737,6 +740,7 @@ pub(crate) fn handle_find_element_elements_tag_name(
element_id: String,
selector: String,
reply: IpcSender<Result<Vec<String>, ErrorStatus>>,
_can_gc: CanGc,
) {
reply
.send(