diff --git a/Userland/Libraries/LibWeb/HTML/WorkerGlobalScope.cpp b/Userland/Libraries/LibWeb/HTML/WorkerGlobalScope.cpp
index 7f7bc17dcca..5e91b0162ef 100644
--- a/Userland/Libraries/LibWeb/HTML/WorkerGlobalScope.cpp
+++ b/Userland/Libraries/LibWeb/HTML/WorkerGlobalScope.cpp
@@ -116,8 +116,8 @@ WebIDL::ExceptionOr WorkerGlobalScope::origin() const
// https://html.spec.whatwg.org/multipage/webappapis.html#dom-issecurecontext
bool WorkerGlobalScope::is_secure_context() const
{
- // FIXME: The isSecureContext getter steps are to return true if this's relevant settings object is a secure context, or false otherwise.
- return false;
+ // The isSecureContext getter steps are to return true if this's relevant settings object is a secure context, or false otherwise.
+ return HTML::is_secure_context(relevant_settings_object(*this));
}
// https://html.spec.whatwg.org/multipage/webappapis.html#dom-crossoriginisolated