mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
refactor: propagate CanGc arguments through callers (#35591)
Signed-off-by: Auguste Baum <auguste.apple@gmail.com>
This commit is contained in:
parent
02199520f2
commit
b0b0289014
74 changed files with 403 additions and 275 deletions
|
@ -189,7 +189,7 @@ fn create_html_element(
|
|||
// JavaScript object’s associated realm’s global object.
|
||||
|
||||
let ar = enter_realm(&*global);
|
||||
throw_dom_exception(cx, &global, error);
|
||||
throw_dom_exception(cx, &global, error, can_gc);
|
||||
report_pending_exception(cx, true, InRealm::Entered(&ar), can_gc);
|
||||
|
||||
// Substep 2. Set result to a new element that implements the HTMLUnknownElement interface,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue