[webkit-changes] [WebKit/WebKit] 95f773: Autogenerate process sync'ing of DocumentClass
Brady Eidson
noreply at github.com
Thu Dec 19 08:20:42 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 95f7734a07a0eabb2f95d4670af371838e37b17d
https://github.com/WebKit/WebKit/commit/95f7734a07a0eabb2f95d4670af371838e37b17d
Author: Brady Eidson <beidson at apple.com>
Date: 2024-12-19 (Thu, 19 Dec 2024)
Changed paths:
M Source/WebCore/Headers.cmake
M Source/WebCore/Scripts/generate-process-sync-data.py
M Source/WebCore/Scripts/tests/DocumentSyncData.cpp
M Source/WebCore/Scripts/tests/DocumentSyncData.h
M Source/WebCore/Scripts/tests/ProcessSyncClient.cpp
M Source/WebCore/Scripts/tests/ProcessSyncClient.h
M Source/WebCore/Scripts/tests/ProcessSyncData.h
M Source/WebCore/Scripts/tests/ProcessSyncData.serialization.in
M Source/WebCore/WebCore.xcodeproj/project.pbxproj
M Source/WebCore/cssjit/SelectorCompiler.cpp
M Source/WebCore/dom/Document.cpp
M Source/WebCore/dom/Document.h
A Source/WebCore/dom/DocumentClasses.h
M Source/WebCore/page/Page.cpp
M Source/WebCore/page/Page.h
M Source/WebCore/page/ProcessSyncData.in
M Source/WebCore/svg/SVGElement.cpp
M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in
Log Message:
-----------
Autogenerate process sync'ing of DocumentClass
rdar://141713881
https://bugs.webkit.org/show_bug.cgi?id=284909
Reviewed by Alex Christensen.
This is necessary for answering other topDocument questions in the future,
but can directly be used today to answer "is top document an SVG document".
* Source/WebCore/Scripts/generate-process-sync-data.py:
(generate_process_sync_data_header):
(main):
* Source/WebCore/Scripts/tests/DocumentSyncData.cpp:
(WebCore::DocumentSyncData::update):
(WebCore::DocumentSyncData::DocumentSyncData):
* Source/WebCore/Scripts/tests/DocumentSyncData.h:
* Source/WebCore/Scripts/tests/ProcessSyncClient.cpp:
(WebCore::ProcessSyncClient::broadcastMainFrameURLChangeToOtherProcesses):
(WebCore::ProcessSyncClient::broadcastUserDidInteractWithPageToOtherProcesses):
* Source/WebCore/Scripts/tests/ProcessSyncClient.h:
* Source/WebCore/Scripts/tests/ProcessSyncData.h:
* Source/WebCore/Scripts/tests/ProcessSyncData.serialization.in:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/cssjit/SelectorCompiler.cpp:
(WebCore::SelectorCompiler::testIsHTMLClassOnDocument):
* Source/WebCore/dom/Document.cpp:
(WebCore::m_syncData):
(WebCore::Document::populateDocumentSyncDataForNewlyConstructedDocument):
* Source/WebCore/dom/Document.h:
* Source/WebCore/dom/DocumentClasses.h: Added.
* Source/WebCore/page/Page.cpp:
(WebCore::Page::topDocumentHasDocumentClass const):
(WebCore::Page::updateProcessSyncData):
* Source/WebCore/page/Page.h:
* Source/WebCore/page/ProcessSyncData.in:
* Source/WebCore/svg/SVGElement.cpp:
(WebCore::SVGElement::title const):
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:
Canonical link: https://commits.webkit.org/288092@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list