Bug 127734 - [test-case] Infinite recursion on onClick
Summary: [test-case] Infinite recursion on onClick
Status: CONFIRMED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml ecma (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-21 00:27 UTC by Allan Sandfeld
Modified: 2021-03-21 00:25 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
test case (368 bytes, text/html)
2006-05-21 00:28 UTC, Allan Sandfeld
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Allan Sandfeld 2006-05-21 00:27:15 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources

Konqueror opens an infinite number of windows if button.form.target is set to "_blank" and button.click() is called in the onClick handler.

Test-case follows:
Comment 1 Allan Sandfeld 2006-05-21 00:28:20 UTC
Created attachment 16191 [details]
test case

Pressing the view botton opens a neverending amount of windows.
Comment 2 Nic Gould 2008-04-20 20:20:16 UTC
Tested in 4.0.3 - bug is still present. After clicking view button in test case a neverending amount of windows open! 
Comment 3 Maksim Orlovich 2009-02-15 22:01:59 UTC
AFAIK, other engines have a recursion limit for click -- Gecko's appears to be 2, opera seems to only permit one. Should be easy enough to add.

Comment 4 FiNeX 2009-08-19 01:18:11 UTC
On KDE 4.3 and trunk it doesn't open any window, but konqueror freezes using 99% of CPU
Comment 5 Justin Zobel 2021-03-21 00:25:51 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 10 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.