Index: Source/core/inspector/DebuggerScript.js |
diff --git a/Source/core/inspector/DebuggerScript.js b/Source/core/inspector/DebuggerScript.js |
index 888d20d5bcecd5e22af578160f66b211459a721c..22483edfca43831a814f5f9afc144ed432ab3d6f 100644 |
--- a/Source/core/inspector/DebuggerScript.js |
+++ b/Source/core/inspector/DebuggerScript.js |
@@ -179,7 +179,7 @@ DebuggerScript._formatScript = function(script) |
startColumn: script.column_offset, |
endLine: endLine, |
endColumn: endColumn, |
- isContentScript: !!script.context_data && script.context_data.indexOf("[injected,") === 0, |
+ isContentScript: !!script.context_data && script.context_data.endsWith(",injected"), |
isInternalScript: script.is_debugger_script |
}; |
} |