mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-13 14:42:51 +00:00
LibJS: Convert set_integrity_level() to ThrowCompletionOr
This commit is contained in:
parent
3be26f56db
commit
ed5a9aa038
Notes:
sideshowbarker
2024-07-18 03:07:03 +09:00
Author: https://github.com/linusg
Commit: ed5a9aa038
Pull-request: https://github.com/SerenityOS/serenity/pull/10327
Reviewed-by: https://github.com/IdanHo ✅
4 changed files with 10 additions and 14 deletions
|
@ -54,7 +54,7 @@ void WebAssemblyInstanceObject::initialize(JS::GlobalObject& global_object)
|
|||
});
|
||||
}
|
||||
|
||||
m_exports_object->set_integrity_level(IntegrityLevel::Frozen);
|
||||
MUST(m_exports_object->set_integrity_level(IntegrityLevel::Frozen));
|
||||
}
|
||||
|
||||
void WebAssemblyInstanceObject::visit_edges(Visitor& visitor)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue