Title: [268883] trunk/Source/WebKit
Revision
268883
Author
[email protected]
Date
2020-10-22 12:16:18 -0700 (Thu, 22 Oct 2020)

Log Message

IPC testing API should have the capability to observe messages being sent and received
https://bugs.webkit.org/show_bug.cgi?id=217870

Unreviewed ASAN release build fix.


* Platform/IPC/JSIPCBinding.cpp:
* WebProcess/WebPage/IPCTestingAPI.cpp:
(WebKit::IPCTestingAPI::JSMessageListener::JSMessageListener):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (268882 => 268883)


--- trunk/Source/WebKit/ChangeLog	2020-10-22 19:16:08 UTC (rev 268882)
+++ trunk/Source/WebKit/ChangeLog	2020-10-22 19:16:18 UTC (rev 268883)
@@ -1,3 +1,14 @@
+2020-10-22  Ryosuke Niwa  <[email protected]>
+
+        IPC testing API should have the capability to observe messages being sent and received
+        https://bugs.webkit.org/show_bug.cgi?id=217870
+
+        Unreviewed ASAN release build fix.
+
+        * Platform/IPC/JSIPCBinding.cpp:
+        * WebProcess/WebPage/IPCTestingAPI.cpp:
+        (WebKit::IPCTestingAPI::JSMessageListener::JSMessageListener):
+
 2020-10-22  Eric Carlson  <[email protected]>
 
         UIClient isn't notified when page muted state changes

Modified: trunk/Source/WebKit/Platform/IPC/JSIPCBinding.cpp (268882 => 268883)


--- trunk/Source/WebKit/Platform/IPC/JSIPCBinding.cpp	2020-10-22 19:16:08 UTC (rev 268882)
+++ trunk/Source/WebKit/Platform/IPC/JSIPCBinding.cpp	2020-10-22 19:16:18 UTC (rev 268883)
@@ -29,6 +29,8 @@
 #if ENABLE(IPC_TESTING_API)
 
 #include <_javascript_Core/JSCJSValueInlines.h>
+#include <_javascript_Core/JSGlobalObjectInlines.h>
+#include <_javascript_Core/ObjectConstructor.h>
 #include <WebCore/FloatRect.h>
 #include <WebCore/IntRect.h>
 #include <WebCore/RegistrableDomain.h>

Modified: trunk/Source/WebKit/WebProcess/WebPage/IPCTestingAPI.cpp (268882 => 268883)


--- trunk/Source/WebKit/WebProcess/WebPage/IPCTestingAPI.cpp	2020-10-22 19:16:08 UTC (rev 268882)
+++ trunk/Source/WebKit/WebProcess/WebPage/IPCTestingAPI.cpp	2020-10-22 19:16:18 UTC (rev 268883)
@@ -894,6 +894,8 @@
     // since this object is supposed to live as long as the global object is alive.
     JSC::PrivateName uniquePrivateName;
     globalObject->putDirect(vm, uniquePrivateName, toJS(globalObject, callback));
+
+    UNUSED_PARAM(catchScope);
 }
 
 void JSMessageListener::didReceiveMessage(const IPC::Decoder& decoder)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to