Keyframe animation doesn't 't show up in the Animations timeline
[WebKit-https.git] / Source / WebInspectorUI / UserInterface / Views / MediaTimelineDataGridNode.js
index 1063f2b6024abd9ede7bdff24bac03867d90ec91..ddf722ef18056ffa31e9bf7f20afc340f1ed1816 100644 (file)
@@ -57,6 +57,8 @@ WI.MediaTimelineDataGridNode = class MediaTimelineDataGridNode extends WI.Timeli
 
         case "element":
         case "source": // Timeline Overview
+            if (!value)
+                return emDash;
             if (!(value instanceof WI.DOMNode)) {
                 cell.classList.add(WI.DOMTreeElementPathComponent.DOMNodeIconStyleClassName);
                 return value.displayName;
@@ -326,6 +328,7 @@ WI.MediaTimelineDataGridNode = class MediaTimelineDataGridNode extends WI.Timeli
         case "source": // Timeline Overview
             if (this.record.domNode)
                 return this.record.domNode.displayName;
+            break;
         }
 
         return super.filterableDataForColumn(columnIdentifier);