mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:17:44 +00:00
LibWeb/HTML: Implement WorkerGlobalScope::origin()
This commit is contained in:
parent
552895da60
commit
d1a7c39e76
2 changed files with 7 additions and 4 deletions
|
@ -54,7 +54,7 @@ public:
|
|||
// Following methods are from the WindowOrWorkerGlobalScope mixin
|
||||
// https://html.spec.whatwg.org/multipage/webappapis.html#windoworworkerglobalscope-mixin
|
||||
|
||||
String origin() const;
|
||||
WebIDL::ExceptionOr<String> origin() const;
|
||||
bool is_secure_context() const;
|
||||
bool cross_origin_isolated() const;
|
||||
WebIDL::ExceptionOr<String> btoa(String const& data) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue