[webkit-changes] [WebKit/WebKit] efca8e: Guard additional identifiers when generating messages

Don Olmstead noreply at github.com
Tue Sep 19 17:13:02 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: efca8e15c8b072d3f4dab2aff0b5cc84a0710f2f
      https://github.com/WebKit/WebKit/commit/efca8e15c8b072d3f4dab2aff0b5cc84a0710f2f
  Author: Don Olmstead <don.olmstead at sony.com>
  Date:   2023-09-19 (Tue, 19 Sep 2023)

  Changed paths:
    M Source/WebKit/Scripts/webkit/messages.py
    M Source/WebKit/Scripts/webkit/tests/MessageArgumentDescriptions.cpp

  Log Message:
  -----------
  Guard additional identifiers when generating messages
https://bugs.webkit.org/show_bug.cgi?id=261768

Reviewed by Chris Dumez.

Message generation for `WebKit::RemoteAudioSessionIdentifier` and
`WebCore::PlaybackTargetClientContextIdentifier` were not properly
guarded. Add the appropriate conditions to their headers.

Tests were updated to reflect the changes.

* Source/WebKit/Scripts/webkit/messages.py:
(conditions_for_header):
* Source/WebKit/Scripts/webkit/tests/MessageArgumentDescriptions.cpp:
(IPC::serializedIdentifiers):

Canonical link: https://commits.webkit.org/268165@main




More information about the webkit-changes mailing list