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

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

Issue 1902993002: [DevTools] Introduce provisional blackboxing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 540c494c407083530ffa7dbf845b27852de2dcaa..b0c029e29256f0be6a90294ffb1174e2f3a264a0 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/Script.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/Script.js
@@ -295,10 +295,10 @@ WebInspector.Script.prototype = {
},
/**
- * @param {!Array<!DebuggerAgent.ScriptPosition>} positions
+ * @param {?Array<!RuntimeAgent.SourceRange>} ranges
* @return {!Promise<boolean>}
*/
- setBlackboxedRanges: function(positions)
+ setBlackboxedRanges: function(ranges)
{
return new Promise(setBlackboxedRanges.bind(this));
@@ -309,7 +309,7 @@ WebInspector.Script.prototype = {
*/
function setBlackboxedRanges(fulfill, reject)
{
- this.target().debuggerAgent().setBlackboxedRanges(this.scriptId, positions, callback);
+ this.target().debuggerAgent().setScriptBlackboxed(this.hash, undefined, ranges ? ranges : undefined, callback);
/**
* @param {?Protocol.Error} error
*/

Powered by Google App Engine
This is Rietveld 408576698