GNOME Bugzilla – Bug 65399
JS window.open() crashes browser if opened with new tab
Last modified: 2004-12-22 21:47:04 UTC
I attempted to open the "Printer-Friendly Version" on the supplied URL in as a new tab but it ran a JavaScript window.open() routine that crashed the browser.
here is the backtrace: (i cnt make that crash in TestGtkEmbed so i guess its our new embed setup that renders this broken) Program received signal SIGSEGV, Segmentation fault. 0x40fa8b0d in js_EmitTree () from /usr/lib/libmozjs.so (gdb) bt
+ Trace 14103
*** Bug 65777 has been marked as a duplicate of this bug. ***
*** Bug 65608 has been marked as a duplicate of this bug. ***
*** Bug 65696 has been marked as a duplicate of this bug. ***
looking at the duplicates it sometimes crashes , sometimes goes into an infinte window opening loop, pretty sure its the same
*** Bug 65915 has been marked as a duplicate of this bug. ***
*** Bug 65914 has been marked as a duplicate of this bug. ***
*** Bug 65960 has been marked as a duplicate of this bug. ***
ok i've put a hacky workaround this in both stable and head it should really be rethought in HEAD
Can you please explain how it should be retought ? I mean, what is the behavior you think we should have and if it should be fixed in galeon or mozilla. Thank you.
ahm, i am sorry for the blanket statement its just that this is a workaround and i am not curently sure what is the correct way of fixing it we are not sure if a certain url handling by mozilla would produce a new window/tab by default (js window.open, url download handlers, othe urls we dont know anything about) so effectively we cannot control the interface to dissalow inappropriate requests, like in this case js window.open in a new window/tab, or open a tar.gz in new window tab, which curently produces a blank new window and a downloader request does this mean the embed management should be left to gtkmozembed and we should only create new embeds on request by it? i dont know, just braindumping
*** Bug 66077 has been marked as a duplicate of this bug. ***
*** Bug 66182 has been marked as a duplicate of this bug. ***
*** Bug 66187 has been marked as a duplicate of this bug. ***
*** Bug 66699 has been marked as a duplicate of this bug. ***
*** Bug 67017 has been marked as a duplicate of this bug. ***
*** Bug 67021 has been marked as a duplicate of this bug. ***
*** Bug 66102 has been marked as a duplicate of this bug. ***
The URL field has been removed from bugzilla.gnome.org. This URL was in the old URL field, and is being added as a comment so that the data is not lost. Please email bugmaster@gnome.org if you have any questions. URL: http://www.businessweek.com/careers/content/aug2000/ca20000811_855.htm