mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-03 14:50:02 +00:00
LibJS: Implement the encode/decodeURI(Component) family of functions
These are generally useful and in particular needed for twitter.com
This commit is contained in:
parent
2ab292f381
commit
ba77b40808
Notes:
sideshowbarker
2024-07-18 20:22:32 +09:00
Author: https://github.com/IdanHo
Commit: ba77b40808
Pull-request: https://github.com/SerenityOS/serenity/pull/6297
Reviewed-by: https://github.com/linusg
5 changed files with 187 additions and 0 deletions
|
@ -84,6 +84,10 @@ private:
|
|||
JS_DECLARE_NATIVE_FUNCTION(parse_float);
|
||||
JS_DECLARE_NATIVE_FUNCTION(parse_int);
|
||||
JS_DECLARE_NATIVE_FUNCTION(eval);
|
||||
JS_DECLARE_NATIVE_FUNCTION(encode_uri);
|
||||
JS_DECLARE_NATIVE_FUNCTION(decode_uri);
|
||||
JS_DECLARE_NATIVE_FUNCTION(encode_uri_component);
|
||||
JS_DECLARE_NATIVE_FUNCTION(decode_uri_component);
|
||||
|
||||
NonnullOwnPtr<Console> m_console;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue