| Index: LayoutTests/http/tests/inspector/debugger-test.js
|
| diff --git a/LayoutTests/http/tests/inspector/debugger-test.js b/LayoutTests/http/tests/inspector/debugger-test.js
|
| index 2b46da2bdaa2757df7e17ae643dc33b0f681296a..b111c0dfb9c011c56d362fe7bcf29f91bbeff743 100644
|
| --- a/LayoutTests/http/tests/inspector/debugger-test.js
|
| +++ b/LayoutTests/http/tests/inspector/debugger-test.js
|
| @@ -285,7 +285,7 @@ InspectorTest.createScriptMock = function(url, startLine, startColumn, isContent
|
| var lineCount = source.lineEndings().length;
|
| var endLine = startLine + lineCount - 1;
|
| var endColumn = lineCount === 1 ? startColumn + source.length : source.length - source.lineEndings()[lineCount - 2];
|
| - var hasSourceURL = !!source.match(/\/\/@\ssourceURL=\s*(\S*?)\s*$/m);
|
| + var hasSourceURL = !!source.match(/\/\/#\ssourceURL=\s*(\S*?)\s*$/m) || !!source.match(/\/\/@\ssourceURL=\s*(\S*?)\s*$/m);
|
| var script = new WebInspector.Script(scriptId, url, startLine, startColumn, endLine, endColumn, isContentScript, null, hasSourceURL);
|
| script.requestContent = function(callback) { callback(source, false, "text/javascript"); };
|
| WebInspector.debuggerModel._registerScript(script);
|
|
|