mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 09:09:43 +00:00
LibWeb/HTML: Update "is script closable" to current spec
Corresponds tod7fc63a84a
and7a48703e77
This commit is contained in:
parent
292688e249
commit
a8529629e2
Notes:
github-actions[bot]
2025-05-08 09:40:30 +00:00
Author: https://github.com/AtkinsSJ
Commit: a8529629e2
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4572
2 changed files with 22 additions and 18 deletions
|
@ -47,6 +47,9 @@ public:
|
|||
VisibilityState system_visibility_state() const { return m_system_visibility_state; }
|
||||
void set_system_visibility_state(VisibilityState);
|
||||
|
||||
bool is_created_by_web_content() const { return m_is_created_by_web_content; }
|
||||
void set_is_created_by_web_content(bool value) { m_is_created_by_web_content = value; }
|
||||
|
||||
struct HistoryObjectLengthAndIndex {
|
||||
u64 script_history_length;
|
||||
u64 script_history_index;
|
||||
|
@ -156,6 +159,9 @@ private:
|
|||
// https://html.spec.whatwg.org/multipage/document-sequences.html#system-visibility-state
|
||||
VisibilityState m_system_visibility_state { VisibilityState::Hidden };
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/document-sequences.html#is-created-by-web-content
|
||||
bool m_is_created_by_web_content { false };
|
||||
|
||||
// https://storage.spec.whatwg.org/#traversable-navigable-storage-shed
|
||||
// A traversable navigable holds a storage shed, which is a storage shed. A traversable navigable’s storage shed holds all session storage data.
|
||||
StorageAPI::StorageShed m_storage_shed;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue