Title: [282406] trunk/Source/WebKit
- Revision
- 282406
- Author
- [email protected]
- Date
- 2021-09-14 13:14:24 -0700 (Tue, 14 Sep 2021)
Log Message
Enable IPCMessages debug logging for non-Cocoa ports
https://bugs.webkit.org/show_bug.cgi?id=230081
<rdar://problem/82939596>
Reviewed by Don Olmstead.
* Platform/IPC/MessageArgumentDescriptions.h: Added some #if to
align with the generated MessageArgumentDescriptions.cpp.
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (282405 => 282406)
--- trunk/Source/WebKit/ChangeLog 2021-09-14 20:09:00 UTC (rev 282405)
+++ trunk/Source/WebKit/ChangeLog 2021-09-14 20:14:24 UTC (rev 282406)
@@ -1,3 +1,14 @@
+2021-09-14 Fujii Hironori <[email protected]>
+
+ Enable IPCMessages debug logging for non-Cocoa ports
+ https://bugs.webkit.org/show_bug.cgi?id=230081
+ <rdar://problem/82939596>
+
+ Reviewed by Don Olmstead.
+
+ * Platform/IPC/MessageArgumentDescriptions.h: Added some #if to
+ align with the generated MessageArgumentDescriptions.cpp.
+
2021-09-14 Chris Dumez <[email protected]>
[Hardening] Validate IDBValue's blob paths in WebIDBServer::putOrAdd()
Modified: trunk/Source/WebKit/Platform/IPC/MessageArgumentDescriptions.h (282405 => 282406)
--- trunk/Source/WebKit/Platform/IPC/MessageArgumentDescriptions.h 2021-09-14 20:09:00 UTC (rev 282405)
+++ trunk/Source/WebKit/Platform/IPC/MessageArgumentDescriptions.h 2021-09-14 20:14:24 UTC (rev 282406)
@@ -25,6 +25,8 @@
#pragma once
+#if ENABLE(IPC_TESTING_API) || !LOG_DISABLED
+
#include "MessageNames.h"
#include <wtf/Vector.h>
@@ -39,9 +41,13 @@
class Decoder;
+#if ENABLE(IPC_TESTING_API)
+
std::optional<JSC::JSValue> jsValueForArguments(JSC::JSGlobalObject*, MessageName, Decoder&);
std::optional<JSC::JSValue> jsValueForReplyArguments(JSC::JSGlobalObject*, MessageName, Decoder&);
+#endif // ENABLE(IPC_TESTING_API)
+
struct ArgumentDescription {
const char* name;
const char* type;
@@ -53,3 +59,5 @@
std::optional<Vector<ArgumentDescription>> messageReplyArgumentDescriptions(MessageName);
}
+
+#endif // ENABLE(IPC_TESTING_API) || !LOG_DISABLED
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes