There seems to be a race condition when trying to create a tab in a window that is closing (which ultimately results in a crash). Obviously, you should probably not do that. But because it is possible, I thought I should bring it to someone's attention.
I've attached a simple test extension (unpacked, zipped) which exhibits this behavior. To test, simply do the following:
- unzip and install the extension - open a new window - navigate to some site (optional) - close the tab
(Warning, will likely *crash* your browser, so save your work first, backup important data, etc., just in case)
On Tue, Jan 24, 2012 at 3:59 AM, Ben <benjo...@gmail.com> wrote: > There seems to be a race condition when trying to create a tab in a > window that is closing (which ultimately results in a crash). Obviously, > you should probably not do that. But because it is possible, I thought I > should bring it to someone's attention.
> I've attached a simple test extension (unpacked, zipped) which exhibits > this behavior. To test, simply do the following:
> - unzip and install the extension > - open a new window > - navigate to some site (optional) > - close the tab
> (Warning, will likely *crash* your browser, so save your work first, > backup important data, etc., just in case)
> -- > You received this message because you are subscribed to the Google Groups "Chromium-extensions" group. > To post to this group, send email to chromium-extensi...@chromium.org. > To unsubscribe from this group, send email to chromium-extensions+unsubscr...@chromium.org. > For more options, visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/?hl=en.
On Tue, 2012-01-24 at 10:57 -0500, Sam Kerner wrote: > Ben, > If you can crash the browser, you should file a bug at > http://crbug.com/new . What OS do you see this on? What version of > chrome?
> Sam
> On Tue, Jan 24, 2012 at 3:59 AM, Ben <benjo...@gmail.com> wrote: > > There seems to be a race condition when trying to create a tab in a > > window that is closing (which ultimately results in a crash). Obviously, > > you should probably not do that. But because it is possible, I thought I > > should bring it to someone's attention.
> > I've attached a simple test extension (unpacked, zipped) which exhibits > > this behavior. To test, simply do the following:
> > - unzip and install the extension > > - open a new window > > - navigate to some site (optional) > > - close the tab
> > (Warning, will likely *crash* your browser, so save your work first, > > backup important data, etc., just in case)
> > -- > > You received this message because you are subscribed to the Google Groups "Chromium-extensions" group. > > To post to this group, send email to chromium-extensi...@chromium.org. > > To unsubscribe from this group, send email to chromium-extensions+unsubscr...@chromium.org. > > For more options, visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/?hl=en.
> On Tue, 2012-01-24 at 10:57 -0500, Sam Kerner wrote: >> Ben, >> If you can crash the browser, you should file a bug at >> http://crbug.com/new . What OS do you see this on? What version of >> chrome?
>> Sam
>> On Tue, Jan 24, 2012 at 3:59 AM, Ben <benjo...@gmail.com> wrote: >> > There seems to be a race condition when trying to create a tab in a >> > window that is closing (which ultimately results in a crash). Obviously, >> > you should probably not do that. But because it is possible, I thought I >> > should bring it to someone's attention.
>> > I've attached a simple test extension (unpacked, zipped) which exhibits >> > this behavior. To test, simply do the following:
>> > - unzip and install the extension >> > - open a new window >> > - navigate to some site (optional) >> > - close the tab
>> > (Warning, will likely *crash* your browser, so save your work first, >> > backup important data, etc., just in case)
>> > -- >> > You received this message because you are subscribed to the Google Groups "Chromium-extensions" group. >> > To post to this group, send email to chromium-extensi...@chromium.org. >> > To unsubscribe from this group, send email to chromium-extensions+unsubscr...@chromium.org. >> > For more options, visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/?hl=en.
> There seems to be a race condition when trying to create a tab in a
> window that is closing (which ultimately results in a crash). Obviously,
> you should probably not do that. But because it is possible, I thought I
> should bring it to someone's attention.
> I've attached a simple test extension (unpacked, zipped) which exhibits
> this behavior. To test, simply do the following:
> - unzip and install the extension
> - open a new window
> - navigate to some site (optional)
> - close the tab
> (Warning, will likely *crash* your browser, so save your work first,
> backup important data, etc., just in case)