Browse Source

Set chrome.runtime.id

Kevin Sawicki 9 years ago
parent
commit
61ce19ba7e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      lib/renderer/chrome-api.js

+ 2 - 0
lib/renderer/chrome-api.js

@@ -99,6 +99,8 @@ exports.injectTo = function (extensionId, isBackgroundPage, context) {
   })
 
   chrome.runtime = {
+    id: extensionId,
+
     getURL: function (path) {
       return url.format({
         protocol: 'chrome-extension',