1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:47:34 +00:00

LibWeb: Add location.protocol and location.host

This commit is contained in:
Andreas Kling 2020-05-18 21:59:16 +02:00
parent efdfdbabdb
commit 71007f6ebb
3 changed files with 27 additions and 0 deletions

View file

@ -43,10 +43,12 @@ private:
static JS::Value href_getter(JS::Interpreter&);
static void href_setter(JS::Interpreter&, JS::Value);
static JS::Value host_getter(JS::Interpreter&);
static JS::Value hostname_getter(JS::Interpreter&);
static JS::Value pathname_getter(JS::Interpreter&);
static JS::Value hash_getter(JS::Interpreter&);
static JS::Value search_getter(JS::Interpreter&);
static JS::Value protocol_getter(JS::Interpreter&);
};
}