@@ -152,16 +152,16 @@ ObjectUI.ObjectPropertiesSection = class extends UI.TreeOutlineInShadow {
152152 addElements ( 'class' , textAfterPrefix , className ) ;
153153 } else if ( isAsync ) {
154154 textAfterPrefix = text . substring ( 'async function' . length ) ;
155- addElements ( 'async \u0192 ' , textAfterPrefix , nameAndArguments ( textAfterPrefix ) ) ;
155+ addElements ( 'async function ' , textAfterPrefix , nameAndArguments ( textAfterPrefix ) ) ;
156156 } else if ( isGenerator ) {
157157 textAfterPrefix = text . substring ( 'function*' . length ) ;
158- addElements ( '\u0192 *' , textAfterPrefix , nameAndArguments ( textAfterPrefix ) ) ;
158+ addElements ( 'function *' , textAfterPrefix , nameAndArguments ( textAfterPrefix ) ) ;
159159 } else if ( isGeneratorShorthand ) {
160160 textAfterPrefix = text . substring ( '*' . length ) ;
161- addElements ( '\u0192 *' , textAfterPrefix , nameAndArguments ( textAfterPrefix ) ) ;
161+ addElements ( 'function *' , textAfterPrefix , nameAndArguments ( textAfterPrefix ) ) ;
162162 } else if ( isBasic ) {
163163 textAfterPrefix = text . substring ( 'function' . length ) ;
164- addElements ( '\u0192 ' , textAfterPrefix , nameAndArguments ( textAfterPrefix ) ) ;
164+ addElements ( 'function ' , textAfterPrefix , nameAndArguments ( textAfterPrefix ) ) ;
165165 } else if ( isArrow ) {
166166 const maxArrowFunctionCharacterLength = 60 ;
167167 var abbreviation = text ;
@@ -171,7 +171,7 @@ ObjectUI.ObjectPropertiesSection = class extends UI.TreeOutlineInShadow {
171171 abbreviation = text . substring ( 0 , firstArrowIndex + 2 ) + ' {\u2026}' ;
172172 addElements ( '' , text , abbreviation ) ;
173173 } else {
174- addElements ( '\u0192 ' , text , nameAndArguments ( text ) ) ;
174+ addElements ( 'function ' , text , nameAndArguments ( text ) ) ;
175175 }
176176 valueElement . title = description || '' ;
177177 return valueElement ;
@@ -738,10 +738,7 @@ ObjectUI.ObjectPropertyTreeElement = class extends UI.TreeElement {
738738 return null ;
739739
740740 var valueElement = createElementWithClass ( 'span' , 'value' ) ;
741- if ( value . description === 'Object' )
742- valueElement . textContent = '' ;
743- else
744- valueElement . setTextContentTruncatedIfNeeded ( value . description || '' ) ;
741+ valueElement . setTextContentTruncatedIfNeeded ( value . description || '' ) ;
745742 valueElement . classList . add ( 'object-value-' + ( value . subtype || value . type ) ) ;
746743 valueElement . title = value . description || '' ;
747744 return valueElement ;
0 commit comments