mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:47:35 +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
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