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

Unified Diff: Source/devtools/front_end/extensions/ExtensionAPI.js

Issue 971703002: DevTools: fix co-existance of multiple DevTools extensions (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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: Source/devtools/front_end/extensions/ExtensionAPI.js
diff --git a/Source/devtools/front_end/extensions/ExtensionAPI.js b/Source/devtools/front_end/extensions/ExtensionAPI.js
index 5bbfbb19e476c1cb7fa3c706eea7cf4128c6c5c1..76bf23876678df40d95c6769ccfeea4028e30335 100644
--- a/Source/devtools/front_end/extensions/ExtensionAPI.js
+++ b/Source/devtools/front_end/extensions/ExtensionAPI.js
@@ -889,7 +889,7 @@ ExtensionServerClient.prototype = {
*/
nextObjectId: function()
{
- return injectedScriptId + "_" + ++this._lastObjectId;
+ return injectedScriptId.toString() + "_" + ++this._lastObjectId;
},
_registerCallback: function(callback)
« no previous file with comments | « LayoutTests/inspector/extensions/multiple-extensions-expected.txt ('k') | Source/web/WebDevToolsFrontendImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698