mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-11 02:29:21 +00:00
LibWeb+Tests: Add internal property for echo server port
This commit is contained in:
parent
4dd21d0b80
commit
cddbe7d10f
Notes:
github-actions[bot]
2024-12-06 00:09:41 +00:00
Author: https://github.com/rmg-x
Commit: cddbe7d10f
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2553
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/shannonbooth
4 changed files with 17 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue