Uzbl

Tasklist

FS#126 - Some javascript's to viev image doesen't work corrently.

Attached to Project: Uzbl
Opened by Patrick (SpeedVin) - 2009-10-13 08:09:03 PM
Last edited by Ben Boeckel (mathstuf) - 2011-04-14 04:12:57 AM
Task Type Bug Report
Category uzbl-core
Status New
Assigned To No-one
Operating System All
Severity Medium
Priority Normal
Reported Version Development
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Hello.
Some javescript doesen't work crrently when I click to viev image (java script) UZBL just open new window with start page.
Just try it yourself:
http://www.linux.pl/?id=foto&kategoria=0&results=1291
Just click on iamge.
In other Webkit based browser this work corrently.
Webkit version 7 days old from git , libsuop 7 days old version from git ;)
This task depends upon

Comment by Ben Boeckel (mathstuf) - 2011-04-14 04:12:57 AM
  • Field changed: Status (Assigned → New)
Confirmed with the example at the given url (loads an empty instance for me).
Comment by Steve Cain (stvc) - 2011-08-10 02:43:02 AM
This problem is caused by using document.* javascript functions (document.open(), document.write(), etc) on a window other than "this" and can be demonstrated by the HTML here: http://pastebin.com/0hwEgDDk
Also noticed while using this example HTML, if you click the "edit" link before clicking the "open" link, it correctly causes a javascript error. However, clicking the "open" link, closing the new window, and then clicking the "edit" link doesn't cause an error.
This bug is indicative of a greater underlying design flaw with how new windows are created. The window.open() javascript function goes as far as sending a new window event, but that new window isn't a child process. It is in a completely different DOM namespace and cannot be edited.

Loading...