mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:38:11 +00:00
LibWeb: Port WorkerLocation to new String
This commit is contained in:
parent
511ce240f2
commit
9c5bdb0b86
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