mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-17 07:50:04 +00:00
LibWeb: Add AbortSignal as a wrappable type
This commit is contained in:
parent
ced7e8ab28
commit
0e6c7eea0f
Notes:
sideshowbarker
2024-07-17 18:30:34 +09:00
Author: https://github.com/Lubrsi
Commit: 0e6c7eea0f
Pull-request: https://github.com/SerenityOS/serenity/pull/12672
1 changed files with 2 additions and 0 deletions
|
@ -45,6 +45,8 @@ static bool is_wrappable_type(Type const& type)
|
||||||
return true;
|
return true;
|
||||||
if (type.name == "TextMetrics")
|
if (type.name == "TextMetrics")
|
||||||
return true;
|
return true;
|
||||||
|
if (type.name == "AbortSignal")
|
||||||
|
return true;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue