mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibWeb: Implement window.name
Right now the only functionality supported is getting/setting via JS and resetting when browsing cross origin. The HTML Specification (7.11 Browsing the web) also specifies how the name should be restored from history entries, but we don't have those yet.
This commit is contained in:
Notes:
sideshowbarker
2024-07-17 17:16:26 +09:00
Author: https://github.com/skyrising Commit: https://github.com/SerenityOS/serenity/commit/7969161f07 Pull-request: https://github.com/SerenityOS/serenity/pull/13075 Reviewed-by: https://github.com/linusg ✅
@@ -80,6 +80,9 @@ private:
|
||||
|
||||
JS_DECLARE_NATIVE_FUNCTION(document_getter);
|
||||
|
||||
JS_DECLARE_NATIVE_FUNCTION(name_getter);
|
||||
JS_DECLARE_NATIVE_FUNCTION(name_setter);
|
||||
|
||||
JS_DECLARE_NATIVE_FUNCTION(performance_getter);
|
||||
JS_DECLARE_NATIVE_FUNCTION(history_getter);
|
||||
JS_DECLARE_NATIVE_FUNCTION(screen_getter);
|
||||
|
||||
Reference in New Issue
Block a user