[webkit-changes] [WebKit/WebKit] 88fcde: Update API::UserScript & API::UserStyleSheet to us...

Chris Dumez noreply at github.com
Sat Mar 9 10:08:36 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 88fcdec81c896d1300e28f7235a6a00180cccc49
      https://github.com/WebKit/WebKit/commit/88fcdec81c896d1300e28f7235a6a00180cccc49
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2024-03-09 (Sat, 09 Mar 2024)

  Changed paths:
    M Source/WebKit/Scripts/webkit/messages.py
    M Source/WebKit/Scripts/webkit/tests/MessageArgumentDescriptions.cpp
    A Source/WebKit/Shared/UserScriptIdentifier.h
    A Source/WebKit/Shared/UserStyleSheetIdentifier.h
    M Source/WebKit/Shared/WTFArgumentCoders.serialization.in
    M Source/WebKit/Shared/WebUserContentControllerDataTypes.h
    M Source/WebKit/Shared/WebUserContentControllerDataTypes.serialization.in
    M Source/WebKit/UIProcess/API/APIUserScript.h
    M Source/WebKit/UIProcess/API/APIUserStyleSheet.h
    M Source/WebKit/WebKit.xcodeproj/project.pbxproj
    M Source/WebKit/WebProcess/UserContent/WebUserContentController.cpp
    M Source/WebKit/WebProcess/UserContent/WebUserContentController.h
    M Source/WebKit/WebProcess/UserContent/WebUserContentController.messages.in

  Log Message:
  -----------
  Update API::UserScript & API::UserStyleSheet to use strongly-typed identifiers
https://bugs.webkit.org/show_bug.cgi?id=270732

Reviewed by Darin Adler.

* Source/WebKit/Scripts/webkit/messages.py:
(serialized_identifiers):
* Source/WebKit/Shared/UserScriptIdentifier.h: Copied from Source/WebKit/Shared/WebUserContentControllerDataTypes.h.
* Source/WebKit/Shared/UserStyleSheetIdentifier.h: Copied from Source/WebKit/Shared/WebUserContentControllerDataTypes.h.
* Source/WebKit/Shared/WTFArgumentCoders.serialization.in:
* Source/WebKit/Shared/WebUserContentControllerDataTypes.h:
* Source/WebKit/Shared/WebUserContentControllerDataTypes.serialization.in:
* Source/WebKit/UIProcess/API/APIUserScript.h:
* Source/WebKit/UIProcess/API/APIUserStyleSheet.h:
* Source/WebKit/WebKit.xcodeproj/project.pbxproj:
* Source/WebKit/WebProcess/UserContent/WebUserContentController.cpp:
(WebKit::WebUserContentController::removeUserScript):
(WebKit::WebUserContentController::removeUserStyleSheet):
(WebKit::WebUserContentController::addUserScriptInternal):
(WebKit::WebUserContentController::removeUserScriptInternal):
(WebKit::WebUserContentController::addUserStyleSheetInternal):
(WebKit::WebUserContentController::removeUserStyleSheetInternal):
* Source/WebKit/WebProcess/UserContent/WebUserContentController.h:
* Source/WebKit/WebProcess/UserContent/WebUserContentController.messages.in:

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