Bug 1585860 - Fix console warping console menu item, r=nchevobbe.
authorBrian Hackett <bhackett1024@gmail.com>
Thu, 03 Oct 2019 14:33:06 +0000
changeset 496177 eec117b846313015dab60e5c437450bc51996f1e
parent 496176 2fca72b71c56c2cf8bcc736f814aa8f76ad3382d
child 496178 f1d5fcf421a4a0670d95a91dbcce277dcfefba87
push id36646
push usernerli@mozilla.com
push dateThu, 03 Oct 2019 21:48:01 +0000
treeherdermozilla-central@2e1bfb7458de [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnchevobbe
bugs1585860
milestone71.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1585860 - Fix console warping console menu item, r=nchevobbe. Differential Revision: https://phabricator.services.mozilla.com/D48064
devtools/client/webconsole/components/Output/Message.js
--- a/devtools/client/webconsole/components/Output/Message.js
+++ b/devtools/client/webconsole/components/Output/Message.js
@@ -168,21 +168,28 @@ class Message extends Component {
     } else if (open) {
       dispatch(actions.messageClose(messageId));
     } else {
       dispatch(actions.messageOpen(messageId));
     }
   }
 
   onContextMenu(e) {
-    const { serviceContainer, source, request, messageId } = this.props;
+    const {
+      serviceContainer,
+      source,
+      request,
+      messageId,
+      executionPoint,
+    } = this.props;
     const messageInfo = {
       source,
       request,
       messageId,
+      executionPoint,
     };
     serviceContainer.openContextMenu(e, messageInfo);
     e.stopPropagation();
     e.preventDefault();
   }
 
   onMouseEvent(ev) {
     const { message, serviceContainer, executionPoint } = this.props;