mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:37:36 +00:00
LibWeb: Convert the Location object to ThrowCompletionOr
This commit is contained in:
parent
1939c72ecc
commit
585e420707
2 changed files with 37 additions and 39 deletions
|
@ -29,19 +29,19 @@ public:
|
|||
// but we don't have the infrastructure in place to implement them yet.
|
||||
|
||||
private:
|
||||
JS_DECLARE_OLD_NATIVE_FUNCTION(reload);
|
||||
JS_DECLARE_OLD_NATIVE_FUNCTION(replace);
|
||||
JS_DECLARE_NATIVE_FUNCTION(reload);
|
||||
JS_DECLARE_NATIVE_FUNCTION(replace);
|
||||
|
||||
JS_DECLARE_OLD_NATIVE_FUNCTION(href_getter);
|
||||
JS_DECLARE_OLD_NATIVE_FUNCTION(href_setter);
|
||||
JS_DECLARE_NATIVE_FUNCTION(href_getter);
|
||||
JS_DECLARE_NATIVE_FUNCTION(href_setter);
|
||||
|
||||
JS_DECLARE_OLD_NATIVE_FUNCTION(host_getter);
|
||||
JS_DECLARE_OLD_NATIVE_FUNCTION(hostname_getter);
|
||||
JS_DECLARE_OLD_NATIVE_FUNCTION(pathname_getter);
|
||||
JS_DECLARE_OLD_NATIVE_FUNCTION(hash_getter);
|
||||
JS_DECLARE_OLD_NATIVE_FUNCTION(search_getter);
|
||||
JS_DECLARE_OLD_NATIVE_FUNCTION(protocol_getter);
|
||||
JS_DECLARE_OLD_NATIVE_FUNCTION(port_getter);
|
||||
JS_DECLARE_NATIVE_FUNCTION(host_getter);
|
||||
JS_DECLARE_NATIVE_FUNCTION(hostname_getter);
|
||||
JS_DECLARE_NATIVE_FUNCTION(pathname_getter);
|
||||
JS_DECLARE_NATIVE_FUNCTION(hash_getter);
|
||||
JS_DECLARE_NATIVE_FUNCTION(search_getter);
|
||||
JS_DECLARE_NATIVE_FUNCTION(protocol_getter);
|
||||
JS_DECLARE_NATIVE_FUNCTION(port_getter);
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue