Bug 348897

Summary: declining a popup window confirmation changes page to blank
Product: [Frameworks and Libraries] kwebkitpart Reporter: Nick <nick>
Component: generalAssignee: webkit-devel
Status: CONFIRMED ---    
Severity: normal CC: groszdanielpub
Priority: NOR    
Version: 1.3.4   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Nick 2015-06-08 20:12:41 UTC
On some sites when a popup is attempted in response to a RMB, and konqueror provides the confirmation dialog, after declining it changes the page to a blank page with "data:text/html,<script>window.close();</script>" in the url bar. Back arrow reloads the page it was on--thus it really is attempting to load a new page.

This only happens with kwebkit, not with khtml.
Khtml simply blocks the popup as expected.

With either kwebkit or khtml, after declining the confirmation the regular konqueror rmb context menu is displayed--when using kwebkit this is after it's loaded the blank page, underneath, but the menu is still relative to the item (link/image) clicked on in the content.


Reproducible: Always
Comment 1 Grósz Dániel 2015-06-08 20:30:30 UTC
I have seen this too.

But I don't remember what site, and it doesn't happen in our test page. Could you please send an example?
Comment 2 Justin Zobel 2021-03-10 00:32:24 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.