mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-09 09:34:57 +09:00
LibWeb/HTML: Implement WorkerGlobalScope::is_secure_context()
This commit is contained in:
parent
d1a7c39e76
commit
ed15c34387
Notes:
sideshowbarker
2024-07-17 07:20:57 +09:00
Author: https://github.com/linusg
Commit: ed15c34387
Pull-request: https://github.com/SerenityOS/serenity/pull/17734
Reviewed-by: https://github.com/ADKaster
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