Bug 696385 - change dom.a to dom.span in mozilla-central/devtools/client/webconsole/components/message-types/NetworkEventMessage.js#109; r=nchevobbe
authorPreeti Mukherjee <preetimukherjee98@gmail.com>
Tue, 28 Aug 2018 05:16:26 +0000
changeset 488674 aca1ad7c84426d2c2a54418a2600854537dfe9a4
parent 488673 1ac72ebb37efc717e7f5f41aa778b9dabfe9afb8
child 488675 425e40a9fb66bbbfbe65013c20306ebb276dac91
push id9734
push usershindli@mozilla.com
push dateThu, 30 Aug 2018 12:18:07 +0000
treeherdermozilla-beta@71c71ab3afae [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnchevobbe
bugs696385
milestone63.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 696385 - change dom.a to dom.span in mozilla-central/devtools/client/webconsole/components/message-types/NetworkEventMessage.js#109; r=nchevobbe MozReview-Commit-ID: 2PBUG8yQIXY Differential Revision: https://phabricator.services.mozilla.com/D4136
devtools/client/themes/webconsole.css
devtools/client/webconsole/components/message-types/NetworkEventMessage.js
--- a/devtools/client/themes/webconsole.css
+++ b/devtools/client/themes/webconsole.css
@@ -280,25 +280,28 @@ a {
 .message.network:not(.navigation-marker) .url {
   flex: 1 1 auto;
   /* Make sure the URL is very small initially, let flex change width as needed. */
   width: 100px;
   min-width: 5em;
   white-space: nowrap;
   overflow: hidden;
   text-overflow: ellipsis;
+  cursor: default;
 }
 
 .message.network .status {
   flex: none;
   margin-inline-start: 6px;
+  cursor: default;
 }
 
 .message.network.mixed-content .url {
   color: var(--theme-highlight-red);
+  cursor: default;
 }
 
 .message .learn-more-link {
   color: var(--theme-highlight-blue);
   margin: 0 6px;
 }
 
 .message.network .xhr {
--- a/devtools/client/webconsole/components/message-types/NetworkEventMessage.js
+++ b/devtools/client/webconsole/components/message-types/NetworkEventMessage.js
@@ -101,17 +101,17 @@ function NetworkEventMessage({
     }
   };
 
   // Message body components.
   const method = dom.span({className: "method" }, request.method);
   const xhr = isXHR
     ? dom.span({ className: "xhr" }, l10n.getStr("webConsoleXhrIndicator"))
     : null;
-  const requestUrl = dom.a({ className: "url", title: request.url, onClick: toggle },
+  const requestUrl = dom.span({ className: "url", title: request.url, onClick: toggle },
     request.url);
   const statusBody = statusInfo
     ? dom.a({ className: "status", onClick: toggle }, statusInfo)
     : null;
 
   const messageBody = [xhr, method, requestUrl, statusBody];
 
   // API consumed by Net monitor UI components. Most of the method