Title: [221283] trunk/Source/WebCore
Revision
221283
Author
[email protected]
Date
2017-08-28 17:27:54 -0700 (Mon, 28 Aug 2017)

Log Message

REGRESSION(r220278): Web Inspector: ContextMenu items are not getting triggered
https://bugs.webkit.org/show_bug.cgi?id=176034

Patch by Joseph Pecoraro <[email protected]> on 2017-08-28
Reviewed by Devin Rousso.

* inspector/InspectorFrontendHost.cpp:
(WebCore::InspectorFrontendHost::showContextMenu):
Responses go through InspectorFrontendAPI not InspectorFrontendHost.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (221282 => 221283)


--- trunk/Source/WebCore/ChangeLog	2017-08-29 00:21:04 UTC (rev 221282)
+++ trunk/Source/WebCore/ChangeLog	2017-08-29 00:27:54 UTC (rev 221283)
@@ -1,3 +1,14 @@
+2017-08-28  Joseph Pecoraro  <[email protected]>
+
+        REGRESSION(r220278): Web Inspector: ContextMenu items are not getting triggered
+        https://bugs.webkit.org/show_bug.cgi?id=176034
+
+        Reviewed by Devin Rousso.
+
+        * inspector/InspectorFrontendHost.cpp:
+        (WebCore::InspectorFrontendHost::showContextMenu):
+        Responses go through InspectorFrontendAPI not InspectorFrontendHost.
+
 2017-08-28  Youenn Fablet  <[email protected]>
 
         WebRTC MediaStream created without tracks does not update active state after tracks are added

Modified: trunk/Source/WebCore/inspector/InspectorFrontendHost.cpp (221282 => 221283)


--- trunk/Source/WebCore/inspector/InspectorFrontendHost.cpp	2017-08-29 00:21:04 UTC (rev 221282)
+++ trunk/Source/WebCore/inspector/InspectorFrontendHost.cpp	2017-08-29 00:27:54 UTC (rev 221283)
@@ -384,7 +384,7 @@
     ASSERT(m_frontendPage);
 
     auto& state = *execStateFromPage(debuggerWorld(), m_frontendPage);
-    auto value = state.lexicalGlobalObject()->get(&state, JSC::Identifier::fromString(&state.vm(), "InspectorFrontendHost"));
+    auto value = state.lexicalGlobalObject()->get(&state, JSC::Identifier::fromString(&state.vm(), "InspectorFrontendAPI"));
     ASSERT(value);
     ASSERT(value.isObject());
     auto* frontendAPIObject = asObject(value);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to