mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 12:49:19 +00:00
LibWeb/HTML: Hook up WindowOrWorkerGlobalScopeMixin to Window
This prepares us to use the shared implementations from this class.
This commit is contained in:
parent
b2409517bd
commit
376fb9ae40
Notes:
sideshowbarker
2024-07-17 05:02:35 +09:00
Author: https://github.com/linusg
Commit: 376fb9ae40
Pull-request: https://github.com/SerenityOS/serenity/pull/17752
Reviewed-by: https://github.com/awesomekling
2 changed files with 8 additions and 1 deletions
|
@ -1847,7 +1847,7 @@ JS_DEFINE_NATIVE_FUNCTION(Window::is_secure_context_getter)
|
|||
{
|
||||
auto* impl = TRY(impl_from(vm));
|
||||
// The isSecureContext getter steps are to return true if this's relevant settings object is a secure context, or false otherwise.
|
||||
return JS::Value(is_secure_context(impl->associated_document().relevant_settings_object()));
|
||||
return JS::Value(HTML::is_secure_context(impl->associated_document().relevant_settings_object()));
|
||||
}
|
||||
|
||||
JS_DEFINE_NATIVE_FUNCTION(Window::local_storage_getter)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue