소스 검색

Inspector: Stringify remote property values

This prevents us from asserting if the remote sends us a property made
up of an array or object.
Andreas Kling 5 년 전
부모
커밋
ecc39678f5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      DevTools/Inspector/RemoteObjectPropertyModel.cpp

+ 1 - 1
DevTools/Inspector/RemoteObjectPropertyModel.cpp

@@ -56,7 +56,7 @@ GUI::Variant RemoteObjectPropertyModel::data(const GUI::ModelIndex& index, Role
         case Column::Name:
         case Column::Name:
             return property.name;
             return property.name;
         case Column::Value:
         case Column::Value:
-            return property.value;
+            return property.value.to_string();
         }
         }
     }
     }
     return {};
     return {};