In the manifest.json you must include: "background_page":"backgroud.html"
On Jan 10, 8:04 pm, tazz_ben <[email protected]> wrote: > So, I'm just getting down to testing my extensions (I'm a mac user and > was waiting for the developer update to be able to test). I've got a > popup that does the following: > > var background = chrome.extension.getBackgroundPage(); > var start = background.StartTorch(); > > Chrome doesn't like this, claiming that it is null. StartTorch very > much exists in the background view. However, looking at the resource > list, I get the impression that the background page isn't running (the > developer tools list resources that are referenced in popup, but none > that are referenced in background). Is there something beside > referencing the background page in the JSON you have to do to get it > to start?
-- You received this message because you are subscribed to the Google Groups "Chromium-extensions" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/chromium-extensions?hl=en.
