mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-07 16:49:54 +00:00
LibWeb: Port WorkerLocation to new String
This commit is contained in:
parent
511ce240f2
commit
9c5bdb0b86
Notes:
sideshowbarker
2024-07-16 23:50:47 +09:00
Author: https://github.com/kennethmyhra
Commit: 9c5bdb0b86
Pull-request: https://github.com/SerenityOS/serenity/pull/17577
Reviewed-by: https://github.com/AtkinsSJ
3 changed files with 48 additions and 34 deletions
|
@ -17,15 +17,15 @@ class WorkerLocation : public Bindings::PlatformObject {
|
|||
public:
|
||||
virtual ~WorkerLocation() override;
|
||||
|
||||
DeprecatedString href() const;
|
||||
DeprecatedString origin() const;
|
||||
DeprecatedString protocol() const;
|
||||
DeprecatedString host() const;
|
||||
DeprecatedString hostname() const;
|
||||
DeprecatedString port() const;
|
||||
DeprecatedString pathname() const;
|
||||
DeprecatedString search() const;
|
||||
DeprecatedString hash() const;
|
||||
WebIDL::ExceptionOr<String> href() const;
|
||||
WebIDL::ExceptionOr<String> origin() const;
|
||||
WebIDL::ExceptionOr<String> protocol() const;
|
||||
WebIDL::ExceptionOr<String> host() const;
|
||||
WebIDL::ExceptionOr<String> hostname() const;
|
||||
WebIDL::ExceptionOr<String> port() const;
|
||||
WebIDL::ExceptionOr<String> pathname() const;
|
||||
WebIDL::ExceptionOr<String> search() const;
|
||||
WebIDL::ExceptionOr<String> hash() const;
|
||||
|
||||
private:
|
||||
explicit WorkerLocation(WorkerGlobalScope&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue