Chromium Code Reviews| Index: Source/core/inspector/DebuggerScript.js |
| diff --git a/Source/core/inspector/DebuggerScript.js b/Source/core/inspector/DebuggerScript.js |
| index 888d20d5bcecd5e22af578160f66b211459a721c..28913a94028d7dea4ba7f125b78380f5757b0a47 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.indexOf(",injected") !== -1, |
|
yurys
2015/08/28 20:23:47
Maybe endsWith ?
kozy
2015/08/28 20:24:08
Done.
|
| isInternalScript: script.is_debugger_script |
| }; |
| } |