Index: Source/devtools/front_end/network/RequestJSONView.js |
diff --git a/Source/devtools/front_end/network/RequestJSONView.js b/Source/devtools/front_end/network/RequestJSONView.js |
index f88c212c65b26a543efed8283159b744c12fbf42..a5b3eedd76932e653535f18d95a7e489eb8bd3cb 100644 |
--- a/Source/devtools/front_end/network/RequestJSONView.js |
+++ b/Source/devtools/front_end/network/RequestJSONView.js |
@@ -152,7 +152,7 @@ WebInspector.RequestJSONView.parseJSON = function(text) |
text = text.substring(inner.start, inner.end + 1); |
// Only process valid JSONP. |
- if (suffix.length && !(suffix.trim().startsWith(")") && prefix.trim().endsWith("("))) |
+ if (suffix.trim().length && !(suffix.trim().startsWith(")") && prefix.trim().endsWith("("))) |
return null; |
try { |