mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 12:08:14 +00:00
LibWeb/HTML: Implement WorkerGlobalScope::is_secure_context()
This commit is contained in:
parent
d1a7c39e76
commit
ed15c34387
1 changed files with 2 additions and 2 deletions
|
@ -116,8 +116,8 @@ WebIDL::ExceptionOr<String> 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue