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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/Script.js

Issue 2781923002: [WIP] DevTools: user SourceMapManager in Debugger (Closed)
Patch Set: works great Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/sdk/Script.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/Script.js b/third_party/WebKit/Source/devtools/front_end/sdk/Script.js
index 2e47e9903796835fa423f3c965b4ecdfedec35e9..1a019d4efdebdb10264408ba2df824e8c6af1a1e 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/Script.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/Script.js
@@ -55,7 +55,7 @@ SDK.Script = class {
this.endLine = endLine;
this.endColumn = endColumn;
- this._executionContextId = executionContextId;
+ this.executionContextId = executionContextId;
this.hash = hash;
this._isContentScript = isContentScript;
this._isLiveEdit = isLiveEdit;
@@ -97,7 +97,7 @@ SDK.Script = class {
* @return {?SDK.ExecutionContext}
*/
executionContext() {
- return this.debuggerModel.runtimeModel().executionContext(this._executionContextId);
+ return this.debuggerModel.runtimeModel().executionContext(this.executionContextId);
}
/**
@@ -260,16 +260,6 @@ SDK.Script = class {
}
/**
- * @param {string} sourceMapURL
- */
- addSourceMapURL(sourceMapURL) {
- if (this.sourceMapURL)
- return;
- this.sourceMapURL = sourceMapURL;
- this.debuggerModel.dispatchEventToListeners(SDK.DebuggerModel.Events.SourceMapURLAdded, this);
- }
-
- /**
* @return {boolean}
*/
isAnonymousScript() {

Powered by Google App Engine
This is Rietveld 408576698