The lifespan of background pages *should* bookend all other extension
views, but this isn't currently so. We have a bug open on this:

http://code.google.com/p/chromium/issues/detail?id=13912

- a

On Mon, Jun 15, 2009 at 12:54 PM, Colin Bleckner<[email protected]> wrote:
> Thanks for some confirmation that this *should* work.  I finally
> figured it out.  I'm using a settings.html (which is opened by
> clicking on my toolstrip button) as the entry UI to start my
> extension.  It calls the background page onload to set some stuff up.
> For convenience I was just leaving settings.html open so it'd be
> waiting for me after restarting Chrome.  But it looks like the code in
> settings.html was getting called before the background page was
> completely loaded.  This was causing all sorts of odd issues.  I'm not
> entirely sure if that's technically accurate or not, but if I start
> Chrome with settings.html closed and manually open it everything loads
> correctly.  So I'll stick with that for now.
>
> Colin
>
> On Mon, Jun 15, 2009 at 12:03 PM, Aaron Boodman<[email protected]> wrote:
>> I can't repro this on 3.0.187.1. I included four scripts, each of
>> which had a single console.log() line in them, and I saw all four.
>>
>> Do you have a small sample that shows the problem? Perhaps something
>> else is going on in the third or fourth js file?
>>
>> - a
>>
>> On Mon, Jun 15, 2009 at 11:53 AM, Colin<[email protected]> wrote:
>>>
>>> I think I must be doing something incredibly stupid, but I can't
>>> figure out what's going on.  My background page is currently including
>>> three script files, using <script src="..." />.  This is working
>>> fine.  However, if I try to include a 4th file, my background page
>>> fails to load.  It doesn't matter if this 4th file is empty or has
>>> some simple JS in it.  I don't see errors in any of the consoles.
>>> I've changed the three files I'm including around to ensure that all
>>> the files can be loaded correctly, but when I put 4 together it all
>>> falls apart. :(
>>>
>>> Has anyone else run into anything like this?
>>> Colin
>>> >>>
>>>
>>
>

--~--~---------~--~----~------------~-------~--~----~
Chromium Discussion mailing list: [email protected] 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-discuss
-~----------~----~----~----~------~----~------~--~---

Reply via email to