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
commit 875ca2fb68
Notes: sideshowbarker 2024-07-18 02:13:10 +09:00
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;