Index: third_party/WebKit/Source/devtools/front_end/sources/SourcesSearchScope.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/SourcesSearchScope.js b/third_party/WebKit/Source/devtools/front_end/sources/SourcesSearchScope.js |
index 261e24bc120b88107425120f000624c48ea7ae8d..3ff033108c25dea2497d31b1acf695a595943ec8 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/sources/SourcesSearchScope.js |
+++ b/third_party/WebKit/Source/devtools/front_end/sources/SourcesSearchScope.js |
@@ -139,6 +139,8 @@ Sources.SourcesSearchScope = class { |
var uiSourceCodes = project.uiSourceCodes(); |
for (var i = 0; i < uiSourceCodes.length; ++i) { |
var uiSourceCode = uiSourceCodes[i]; |
+ if (!uiSourceCode.contentType().isTextType()) |
+ continue; |
var binding = Persistence.persistence.binding(uiSourceCode); |
if (binding && binding.network === uiSourceCode) |
continue; |