LibWeb+Tests: Add internal property for echo server port

This commit is contained in:
rmg-x 2024-12-02 19:43:51 -06:00 committed by Andrew Kaster
commit cddbe7d10f
Notes: github-actions[bot] 2024-12-06 00:09:41 +00:00
4 changed files with 17 additions and 2 deletions

View file

@ -50,6 +50,9 @@ public:
String get_computed_label(DOM::Element& element);
static u16 get_echo_server_port();
static void set_echo_server_port(u16 port);
private:
explicit Internals(JS::Realm&);
virtual void initialize(JS::Realm&) override;