1
Fork 0
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:
Linus Groh 2023-03-05 23:57:17 +00:00
parent 552895da60
commit d1a7c39e76
2 changed files with 7 additions and 4 deletions

View file

@ -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;