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

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

Issue 2198443004: [DevTools] Fix location.script().sourceURL (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: a Created 4 years, 5 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/DebuggerModel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js b/third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js
index 483b8b59b2b0045e5be4221ecc953fb5e4ba648b..af7b5aa8059ba4279563bebc5ec1aa5a701248b8 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js
@@ -337,7 +337,7 @@ WebInspector.DebuggerModel.prototype = {
/**
* @param {!RuntimeAgent.ScriptId} scriptId
- * @return {!WebInspector.Script}
+ * @return {?WebInspector.Script}
*/
scriptForId: function(scriptId)
{
@@ -933,7 +933,7 @@ WebInspector.DebuggerModel.Location.prototype = {
},
/**
- * @return {!WebInspector.Script}
+ * @return {?WebInspector.Script}
*/
script: function()
{

Powered by Google App Engine
This is Rietveld 408576698