mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-24 03:02:23 +00:00
LibWeb/HTML: Make WorkerLocation methods infallible
We stopped worrying about tiny OOMs a while ago.
This commit is contained in:
parent
900c131178
commit
3ce81512dd
Notes:
github-actions[bot]
2024-11-30 11:23:21 +00:00
Author: https://github.com/AtkinsSJ
Commit: 3ce81512dd
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2610
Reviewed-by: https://github.com/shannonbooth ✅
2 changed files with 20 additions and 27 deletions
|
@ -18,15 +18,15 @@ class WorkerLocation : public Bindings::PlatformObject {
|
|||
public:
|
||||
virtual ~WorkerLocation() override;
|
||||
|
||||
WebIDL::ExceptionOr<String> href() const;
|
||||
String href() const;
|
||||
String origin() const;
|
||||
WebIDL::ExceptionOr<String> protocol() const;
|
||||
WebIDL::ExceptionOr<String> host() const;
|
||||
WebIDL::ExceptionOr<String> hostname() const;
|
||||
WebIDL::ExceptionOr<String> port() const;
|
||||
String protocol() const;
|
||||
String host() const;
|
||||
String hostname() const;
|
||||
String port() const;
|
||||
String pathname() const;
|
||||
WebIDL::ExceptionOr<String> search() const;
|
||||
WebIDL::ExceptionOr<String> hash() const;
|
||||
String search() const;
|
||||
String hash() const;
|
||||
|
||||
private:
|
||||
explicit WorkerLocation(WorkerGlobalScope&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue