[webkit-changes] [WebKit/WebKit] 547e4a: Generate sync'ing of "has injected user script" state

Brady Eidson noreply at github.com
Fri Jan 17 08:15:59 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 547e4adac12dd0a0a9ce8b98102dba3f0b75e7c7
      https://github.com/WebKit/WebKit/commit/547e4adac12dd0a0a9ce8b98102dba3f0b75e7c7
  Author: Brady Eidson <beidson at apple.com>
  Date:   2025-01-17 (Fri, 17 Jan 2025)

  Changed paths:
    M Source/WebCore/dom/Document.cpp
    M Source/WebCore/dom/Document.h
    M Source/WebCore/loader/DocumentThreadableLoader.cpp
    M Source/WebCore/page/LocalFrame.cpp
    M Source/WebCore/page/Page.cpp
    M Source/WebCore/page/Page.h
    M Source/WebCore/page/ProcessSyncData.in
    M Source/WebCore/testing/Internals.cpp

  Log Message:
  -----------
  Generate sync'ing of "has injected user script" state
rdar://143082137
https://bugs.webkit.org/show_bug.cgi?id=286099

Reviewed by Alex Christensen.

* Source/WebCore/dom/Document.cpp:
(WebCore::Document::populateDocumentSyncDataForNewlyConstructedDocument):
(WebCore::Document::isRunningUserScripts const): Deleted.
(WebCore::Document::setAsRunningUserScripts): Deleted.
* Source/WebCore/dom/Document.h:
* Source/WebCore/loader/DocumentThreadableLoader.cpp:
(WebCore::DocumentThreadableLoader::DocumentThreadableLoader):
* Source/WebCore/page/LocalFrame.cpp:
(WebCore::LocalFrame::injectUserScriptImmediately):
* Source/WebCore/page/Page.cpp:
(WebCore::Page::hasInjectedUserScript):
(WebCore::Page::setHasInjectedUserScript):
(WebCore::Page::updateProcessSyncData):
* Source/WebCore/page/Page.h:
* Source/WebCore/page/ProcessSyncData.in:
* Source/WebCore/testing/Internals.cpp:
(WebCore::Internals::setAsRunningUserScripts):

Canonical link: https://commits.webkit.org/289058@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