Midori doesn't do javascript window.close()

Bug #1093940 reported by jan Pasi
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Midori Web Browser
Confirmed
Medium
Unassigned

Bug Description

Midori 0.4.3 doesn't seem to do window.close(), upon clicking a button with window.close() nothing happens.

jan Pasi (d6h4-jp-khmw)
description: updated
Changed in midori:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
d3m1gd (d3m1gd) wrote :

I can confirm this in 0.5.11

Also to note, the correct behaviour among mainstream browsers is: windows can be closed by javascript only if they were open by javascript.

In addition to that firefox (at least) provides option in about:config to allow window.close() to operate on any window. This is extemely helpful in userscripts, so a togglable options like this would be a nice addition.

Revision history for this message
pirlo (admin-pirlo) wrote :

Midori 0.5.11

Open new popup windows with javascript, then use the window.close() - website gets closed but popup window is still open!
Firefox and Chrome would close the window not only the website.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.