Title: [285641] trunk/Source/WebKit
Revision
285641
Author
[email protected]
Date
2021-11-11 11:05:58 -0800 (Thu, 11 Nov 2021)

Log Message

[RemoteInspector][Socket] Can't find the target since r277787
https://bugs.webkit.org/show_bug.cgi?id=232986

Reviewed by Don Olmstead.

Remote Inspector has the same issue as bug 226908.
RemoteInspectorProtocolHandler needs the same fix as r278748.

* UIProcess/Inspector/socket/RemoteInspectorProtocolHandler.cpp: Copy WebURLSchemeTask.request().url() to avoid obtaining the temporary object.

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (285640 => 285641)


--- trunk/Source/WebKit/ChangeLog	2021-11-11 18:31:29 UTC (rev 285640)
+++ trunk/Source/WebKit/ChangeLog	2021-11-11 19:05:58 UTC (rev 285641)
@@ -1,3 +1,15 @@
+2021-11-11  Tomoki Imai  <[email protected]>
+
+        [RemoteInspector][Socket] Can't find the target since r277787
+        https://bugs.webkit.org/show_bug.cgi?id=232986
+
+        Reviewed by Don Olmstead.
+
+        Remote Inspector has the same issue as bug 226908.
+        RemoteInspectorProtocolHandler needs the same fix as r278748.
+
+        * UIProcess/Inspector/socket/RemoteInspectorProtocolHandler.cpp: Copy WebURLSchemeTask.request().url() to avoid obtaining the temporary object.
+
 2021-11-11  Nikolaos Mouchtaris  <[email protected]>
 
         Make scroll granularity an enum class

Modified: trunk/Source/WebKit/UIProcess/Inspector/socket/RemoteInspectorProtocolHandler.cpp (285640 => 285641)


--- trunk/Source/WebKit/UIProcess/Inspector/socket/RemoteInspectorProtocolHandler.cpp	2021-11-11 18:31:29 UTC (rev 285640)
+++ trunk/Source/WebKit/UIProcess/Inspector/socket/RemoteInspectorProtocolHandler.cpp	2021-11-11 19:05:58 UTC (rev 285641)
@@ -162,7 +162,7 @@
 
 void RemoteInspectorProtocolHandler::platformStartTask(WebPageProxy& pageProxy, WebURLSchemeTask& task)
 {
-    auto& requestURL = task.request().url();
+    auto requestURL = task.request().url();
 
     // Destroy the client before creating a new connection so it can connect to the same port
     m_inspectorClient = nullptr;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to