This is probably a bug (or feature). We may need to add another tab state (navigating?). Filed a bug:
http://code.google.com/p/chromium/issues/detail?id=29903 Jiaqin, thanks for the report. You can star the issue to track it. Also, it'd be helpful if you provided a simple example extension and steps to reproduce the effect you are seeing. Thanks! R On Tue, Dec 8, 2009 at 3:52 PM, Antony Sargent <[email protected]> wrote: > I'm guessing it's probably an artifact of how the underlying tab loading > code works that the extensions system hooks into. Rafael might be able to > comment here. > If you call chrome.tabs.get() during this "waiting" period, does the url > still come back as null? > > > On Mon, Dec 7, 2009 at 2:45 PM, std <[email protected]> wrote: >> >> > The tab will initially be created with a null url >> Antony, do you have any clue why it is implemented in this way? >> It is a bit annoying so when trying to open a link that currently >> could not be served [like DNS fault or dropped Wi-Fi] - got no current >> URL displayed in omni-bar, nor a way to retry an attempt with Esc -> >> F5 :( >> >> -- >> >> 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. >> >> > > -- > > 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. > -- 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.
