Bug 1456061 - Remove lambda chars in front of the frame function name; r=Honza. draft
authorNicolas Chevobbe <nchevobbe@mozilla.com>
Wed, 25 Apr 2018 17:30:56 +0200
changeset 787869 ee266d2c26be9733d9ec6dbddcb8e61a256bf9c5
parent 787860 7f6a582f00bfb5d0acb8d8bf7f8c79ca37c99b65
push id107824
push userbmo:nchevobbe@mozilla.com
push dateWed, 25 Apr 2018 15:36:48 +0000
reviewersHonza
bugs1456061
milestone61.0a1
Bug 1456061 - Remove lambda chars in front of the frame function name; r=Honza. This is confusing for some people and does not bring much value. Let's remove it both in the frame component and in the Error rep stacktrace. MozReview-Commit-ID: Jy1jEJG4pRa
devtools/client/shared/components/reps/reps.css
devtools/client/themes/components-frame.css
--- a/devtools/client/shared/components/reps/reps.css
+++ b/devtools/client/shared/components/reps/reps.css
@@ -73,22 +73,16 @@
 }
 
 .objectBox-stackTrace-grid {
   display: inline-grid;
   grid-template-columns: auto auto;
   margin-top: 3px;
 }
 
-.objectBox-stackTrace-fn::before {
-  content: "\3BB"; /* The "lambda" symbol */
-  display: inline-block;
-  margin: 0 0.3em;
-}
-
 .objectBox-stackTrace-fn {
   color: var(--console-output-color);
   padding-inline-start: 17px;
   white-space: nowrap;
   overflow: hidden;
   text-overflow: ellipsis;
   margin-inline-end: 5px;
 }
--- a/devtools/client/themes/components-frame.css
+++ b/devtools/client/themes/components-frame.css
@@ -55,22 +55,16 @@
   color: var(--theme-comment);
 }
 
 .frame-link .frame-link-function-display-name {
   margin-inline-end: 5px;
   color: var(--console-output-color, currentColor);
 }
 
-.frame-link .frame-link-function-display-name::before {
-  content: "\3BB"; /* The "lambda" symbol */
-  display: inline-block;
-  margin: 0 0.3em;
-}
-
 .frame-link .frame-link-line {
   color: var(--frame-link-line-color);
 }
 
 .focused .frame-link .frame-link-source,
 .focused .frame-link .frame-link-line,
 .focused .frame-link .frame-link-host {
   color: var(--theme-selection-color);