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

Side by Side Diff: Source/devtools/front_end/sdk/DebuggerModel.js

Issue 272613002: DevTools: implemented scriptFailedToParse protocol event (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 753 matching lines...) Expand 10 before | Expand all | Expand 10 after
764 * @param {boolean=} isContentScript 764 * @param {boolean=} isContentScript
765 * @param {string=} sourceMapURL 765 * @param {string=} sourceMapURL
766 * @param {boolean=} hasSourceURL 766 * @param {boolean=} hasSourceURL
767 */ 767 */
768 scriptParsed: function(scriptId, sourceURL, startLine, startColumn, endLine, endColumn, isContentScript, sourceMapURL, hasSourceURL) 768 scriptParsed: function(scriptId, sourceURL, startLine, startColumn, endLine, endColumn, isContentScript, sourceMapURL, hasSourceURL)
769 { 769 {
770 this._debuggerModel._parsedScriptSource(scriptId, sourceURL, startLine, startColumn, endLine, endColumn, !!isContentScript, sourceMapURL, hasSourceURL); 770 this._debuggerModel._parsedScriptSource(scriptId, sourceURL, startLine, startColumn, endLine, endColumn, !!isContentScript, sourceMapURL, hasSourceURL);
771 }, 771 },
772 772
773 /** 773 /**
774 * @param {!DebuggerAgent.ScriptId} scriptId
774 * @param {string} sourceURL 775 * @param {string} sourceURL
775 * @param {string} source 776 * @param {number} startLine
776 * @param {number} startingLine 777 * @param {number} startColumn
777 * @param {number} errorLine 778 * @param {number} endLine
778 * @param {string} errorMessage 779 * @param {number} endColumn
780 * @param {boolean=} isContentScript
781 * @param {string=} sourceMapURL
782 * @param {boolean=} hasSourceURL
779 */ 783 */
780 scriptFailedToParse: function(sourceURL, source, startingLine, errorLine, er rorMessage) 784 scriptFailedToParse: function(scriptId, sourceURL, startLine, startColumn, e ndLine, endColumn, isContentScript, sourceMapURL, hasSourceURL)
781 { 785 {
786 this._debuggerModel._parsedScriptSource(scriptId, sourceURL, startLine, startColumn, endLine, endColumn, !!isContentScript, sourceMapURL, hasSourceURL);
782 }, 787 },
783 788
784 /** 789 /**
785 * @param {!DebuggerAgent.BreakpointId} breakpointId 790 * @param {!DebuggerAgent.BreakpointId} breakpointId
786 * @param {!DebuggerAgent.Location} location 791 * @param {!DebuggerAgent.Location} location
787 */ 792 */
788 breakpointResolved: function(breakpointId, location) 793 breakpointResolved: function(breakpointId, location)
789 { 794 {
790 this._debuggerModel._breakpointResolved(breakpointId, location); 795 this._debuggerModel._breakpointResolved(breakpointId, location);
791 } 796 }
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
1122 this.asyncStackTrace.dispose(); 1127 this.asyncStackTrace.dispose();
1123 }, 1128 },
1124 1129
1125 __proto__: WebInspector.TargetAware.prototype 1130 __proto__: WebInspector.TargetAware.prototype
1126 } 1131 }
1127 1132
1128 /** 1133 /**
1129 * @type {!WebInspector.DebuggerModel} 1134 * @type {!WebInspector.DebuggerModel}
1130 */ 1135 */
1131 WebInspector.debuggerModel; 1136 WebInspector.debuggerModel;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698