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

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/DebuggerScript.js

Issue 1838523004: Initialize debugger together with isolate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed unnecessary assert hitting in unit tests Created 4 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/platform/v8_inspector/DebuggerScript.js
diff --git a/third_party/WebKit/Source/platform/v8_inspector/DebuggerScript.js b/third_party/WebKit/Source/platform/v8_inspector/DebuggerScript.js
index cb254827e76943e01dbf0d3a386511d8e6c22c63..bb831aa2eca01c33d9c434e3d2aef5100bb0566c 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/DebuggerScript.js
+++ b/third_party/WebKit/Source/platform/v8_inspector/DebuggerScript.js
@@ -155,7 +155,7 @@ DebuggerScript.getScripts = function(contextGroupId)
if (!script.context_data)
continue;
// Context data is a string in the following format:
- // <id>,<contextId>,("page"|"injected"|"worker")
+ // <contextGroupId>,<contextId>,("default"|"nondefault")
if (script.context_data.indexOf(contextDataPrefix) !== 0)
continue;
}
@@ -214,7 +214,7 @@ DebuggerScript._formatScript = function(script)
endLine: endLine,
endColumn: endColumn,
executionContextId: executionContextId(),
- isContentScript: !!script.context_data && script.context_data.endsWith(",injected"),
+ isContentScript: !!script.context_data && script.context_data.endsWith(",nondefault"),
isInternalScript: script.is_debugger_script
};
}

Powered by Google App Engine
This is Rietveld 408576698