1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:37:37 +00:00

LibWeb: Set prototype for both TextDecoder and AbortSignal

These were forgotten to be set during the GC heap conversion.
This commit is contained in:
Luke Wilde 2022-09-09 19:30:45 +01:00 committed by Andreas Kling
parent ac60633694
commit 875ca2fb68
2 changed files with 2 additions and 0 deletions

View file

@ -29,6 +29,7 @@ TextDecoder::TextDecoder(HTML::Window& window, TextCodec::Decoder& decoder, FlyS
, m_fatal(fatal)
, m_ignore_bom(ignore_bom)
{
set_prototype(&window.cached_web_prototype("TextDecoder"));
}
TextDecoder::~TextDecoder() = default;