[webkit-changes] [WebKit/WebKit] 5929d8: PageshowEventPersistence and NodeListInvalidationT...
Ryosuke Niwa
noreply at github.com
Thu May 11 00:53:42 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5929d8817e587561ff6a2663c24ceab7deebd10b
https://github.com/WebKit/WebKit/commit/5929d8817e587561ff6a2663c24ceab7deebd10b
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2023-05-11 (Thu, 11 May 2023)
Changed paths:
M Source/WebCore/dom/Document.cpp
M Source/WebCore/dom/Document.h
M Source/WebCore/dom/LiveNodeListInlines.h
M Source/WebCore/dom/NameNodeList.cpp
M Source/WebCore/dom/Node.cpp
M Source/WebCore/history/CachedPage.cpp
M Source/WebCore/html/HTMLCollection.cpp
M Source/WebCore/html/LabelsNodeList.cpp
M Source/WebCore/html/RadioNodeList.cpp
M Source/WebCore/loader/FrameLoader.cpp
M Source/WebCore/page/LocalDOMWindow.cpp
M Source/WebCore/page/ios/FrameIOS.mm
Log Message:
-----------
PageshowEventPersistence and NodeListInvalidationType should be enum classes
https://bugs.webkit.org/show_bug.cgi?id=256628
Reviewed by Antti Koivisto.
* Source/WebCore/dom/Document.cpp:
(WebCore::Document::implicitClose):
(WebCore::Document::registerNodeListForInvalidation):
(WebCore::Document::unregisterNodeListForInvalidation):
(WebCore::Document::registerCollection):
(WebCore::Document::unregisterCollection):
(WebCore::Document::collectionCachedIdNameMap):
(WebCore::Document::collectionWillClearIdNameMap):
(WebCore::Document::dispatchPageshowEvent):
(WebCore::Document::dispatchPagehideEvent):
* Source/WebCore/dom/Document.h:
* Source/WebCore/dom/LiveNodeListInlines.h:
(WebCore::shouldInvalidateTypeOnAttributeChange):
* Source/WebCore/dom/NameNodeList.cpp:
(WebCore::NameNodeList::NameNodeList):
* Source/WebCore/dom/Node.cpp:
(WebCore::Document::shouldInvalidateNodeListAndCollectionCachesForAttribute const):
* Source/WebCore/history/CachedPage.cpp:
(WebCore::firePageShowEvent):
* Source/WebCore/html/HTMLCollection.cpp:
(WebCore::invalidationTypeExcludingIdAndNameAttributes):
(WebCore::HTMLCollection::HTMLCollection):
* Source/WebCore/html/LabelsNodeList.cpp:
(WebCore::LabelsNodeList::LabelsNodeList):
* Source/WebCore/html/RadioNodeList.cpp:
(WebCore::RadioNodeList::RadioNodeList):
* Source/WebCore/loader/FrameLoader.cpp:
(WebCore::FrameLoader::dispatchUnloadEvents):
* Source/WebCore/page/LocalDOMWindow.cpp:
(WebCore::LocalDOMWindow::dispatchAllPendingUnloadEvents):
* Source/WebCore/page/ios/FrameIOS.mm:
(WebCore::LocalFrame::dispatchPageHideEventBeforePause):
(WebCore::LocalFrame::dispatchPageShowEventBeforeResume):
Canonical link: https://commits.webkit.org/263952@main
More information about the webkit-changes
mailing list