1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 18:57:35 +00:00

LibWeb: Implement a very basic version of TextDecoder

We had a very basic implementation of TextEncoder, let's add a
TextDecoder next to that :^)
This commit is contained in:
Ali Mohammad Pur 2022-02-15 14:16:21 +03:30 committed by Ali Mohammad Pur
parent 57997ed336
commit 16c0646b9d
6 changed files with 109 additions and 0 deletions

View file

@ -93,6 +93,7 @@ set(SOURCES
DOMParsing/InnerHTML.cpp
DOMTreeModel.cpp
Dump.cpp
Encoding/TextDecoder.cpp
Encoding/TextEncoder.cpp
Fetch/AbstractOperations.cpp
FontCache.cpp
@ -420,6 +421,7 @@ libweb_js_wrapper(DOM/ProcessingInstruction)
libweb_js_wrapper(DOM/Range)
libweb_js_wrapper(DOM/ShadowRoot)
libweb_js_wrapper(DOM/Text)
libweb_js_wrapper(Encoding/TextDecoder)
libweb_js_wrapper(Encoding/TextEncoder)
libweb_js_wrapper(Geometry/DOMRect)
libweb_js_wrapper(Geometry/DOMRectList)