Closed Bug 89042 Opened 25 years ago Closed 6 years ago

Event ondblclick don't permit to change page

Categories

(Core :: DOM: Events, defect, P4)

defect

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: edy.incoletti, Unassigned)

Details

Attachments

(1 file)

The following page, after a double click on the link do nothing. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <script> function jump_to() { //alert("Hello"); document.location.href="http://www.mozilla.org"; } function do_nothing() { } </script> </head> <body bgcolor="#FFFFFF" text="#000000"> <a href="javascript:do_nothing()" onDblClick="jump_to()">Clicca</a> </body> </html> Uncomment the alert("Hello"); and works right. If the href of the link is a page (not a javascript) works right.
Over to DOM events. I'm seeing the bug with mozilla build 2001-07-02-08 on Linux
Assignee: rogerl → joki
Status: UNCONFIRMED → NEW
Component: Javascript Engine → DOM Events
Ever confirmed: true
OS: Windows 2000 → All
QA Contact: pschwartau → vladimire
Hardware: PC → All
Attached file testcase —
I dont think this is an events issue, because the status bar says "Connecting to www.mozilla.org"... is this networking:HTTP?
Target Milestone: --- → Future
Wierd behaviours: -Double right clicking changes the page -Double left clicking, if an alert is displayed before the change of the page alose changes the page. -The handler is called every time, but the page is not changed.
Priority: -- → P4
Assignee: joki → nobody
QA Contact: vladimire → events
Double (left) clicking the link in the testcase loads mozilla.org as expected. I think this bug is fixed. Can somebody please verify and set the bug's status accordingly? I tested with: Mozilla/5.0 (Windows NT 5.1; rv:9.0a1) Gecko/20110914 Firefox/9.0a1 Built from http://hg.mozilla.org/mozilla-central/rev/cfd1e3533f0f

WFM per comment 5

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: