Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/snippets/ScriptSnippetModel.js

Issue 1666563005: DevTools: merge ScriptCallStack and ScriptAsyncCallStack, move CallStacks from console to Runtime. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: testts Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 target, 310 target,
311 exceptionDetails.source, 311 exceptionDetails.source,
312 WebInspector.ConsoleMessage.MessageLevel.Error, 312 WebInspector.ConsoleMessage.MessageLevel.Error,
313 exceptionDetails.text, 313 exceptionDetails.text,
314 undefined, 314 undefined,
315 sourceURL, 315 sourceURL,
316 exceptionDetails.line, 316 exceptionDetails.line,
317 exceptionDetails.column, 317 exceptionDetails.column,
318 undefined, 318 undefined,
319 undefined, 319 undefined,
320 exceptionDetails.stackTrace); 320 exceptionDetails.stack);
321 target.consoleModel.addMessage(consoleMessage); 321 target.consoleModel.addMessage(consoleMessage);
322 }, 322 },
323 323
324 /** 324 /**
325 * @param {!WebInspector.UISourceCode} uiSourceCode 325 * @param {!WebInspector.UISourceCode} uiSourceCode
326 * @return {!Array.<!{breakpoint: !WebInspector.BreakpointManager.Breakpoint , uiLocation: !WebInspector.UILocation}>} 326 * @return {!Array.<!{breakpoint: !WebInspector.BreakpointManager.Breakpoint , uiLocation: !WebInspector.UILocation}>}
327 */ 327 */
328 _removeBreakpoints: function(uiSourceCode) 328 _removeBreakpoints: function(uiSourceCode)
329 { 329 {
330 var breakpointLocations = WebInspector.breakpointManager.breakpointLocat ionsForUISourceCode(uiSourceCode); 330 var breakpointLocations = WebInspector.breakpointManager.breakpointLocat ionsForUISourceCode(uiSourceCode);
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
667 this._model.deleteScriptSnippet(url); 667 this._model.deleteScriptSnippet(url);
668 }, 668 },
669 669
670 __proto__: WebInspector.ContentProviderBasedProject.prototype 670 __proto__: WebInspector.ContentProviderBasedProject.prototype
671 } 671 }
672 672
673 /** 673 /**
674 * @type {!WebInspector.ScriptSnippetModel} 674 * @type {!WebInspector.ScriptSnippetModel}
675 */ 675 */
676 WebInspector.scriptSnippetModel = new WebInspector.ScriptSnippetModel(WebInspect or.workspace); 676 WebInspector.scriptSnippetModel = new WebInspector.ScriptSnippetModel(WebInspect or.workspace);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698