From: Kevin Sawicki Date: Fri, 17 Jun 2016 21:53:51 +0000 (-0700) Subject: Call loadExtension from addDevToolsExtension X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=df2208211047e6b8c5d66e172750bff35a6beca8;p=platform%2Fframework%2Fweb%2Fcrosswalk-tizen.git Call loadExtension from addDevToolsExtension --- diff --git a/lib/browser/chrome-extension.js b/lib/browser/chrome-extension.js index bd71feb..e3cd454 100644 --- a/lib/browser/chrome-extension.js +++ b/lib/browser/chrome-extension.js @@ -352,6 +352,7 @@ app.once('ready', function () { BrowserWindow.addDevToolsExtension = function (srcDirectory) { const manifest = getManifestFromPath(srcDirectory) if (manifest) { + loadExtension(manifest) for (const webContents of getAllWebContents()) { if (isWindowOrWebView(webContents)) { loadDevToolsExtensions(webContents, [manifest])