Closed Bug 227159 Opened 21 years ago Closed 21 years ago

Can't see URL in status bar when JavaScript is disabled and <a> has event handlers

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: harunaga, Unassigned)

References

()

Details

(Keywords: qawanted, regression)

URL is not shown in status bar if JavaScript is disabled and <a> has event handlers. Open the testcase, disable JavaScript, move mouse pointer over the images and look at the status bar. http://bugzilla.mozilla.gr.jp/attachment.cgi?id=1912&action=view <a href="foo"> shows URL in status bar, but <a href="foo" onMouseOver="..." ...> doesn't show. This problem occurs on 1.6a and later. 1.5 doesn't have this. regression.
I'm going to mark this a duplicate of bug 40838. But please reopen if you disagree. *** This bug has been marked as a duplicate of 40838 ***
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Reopening. Also 1.4 doesn't have this problem. This is a regression. Why Mozilla respects onMouseOver event handler when JavaScript is disabled?
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
-> Event Handling
Assignee: general → events
Status: REOPENED → NEW
Component: Browser-General → Event Handling
QA Contact: general → ian
Bug 40838 deals with the case whereby an onMouseOver handler can return true to prevent the default status text from being shown, even if access to window.status is restricted. In this bug, there is also an onMouseOver handler, and also no status line, but: 1. The handler doesn't return anything, so the status bar text should display. 2. JavaScript is disabled, so the handler won't execute.
jag, are you explicitly checking for the presence of handlers somewhere, or something? A regression window a little narrower than a few months would be nice.
Keywords: qawanted
I'm getting this problem now in Firebird, with JavaScript enabled. Using the testcase URL, the status bar shows the URL for the first image, but not the second. This is really annoying. UA: Mozilla/5.0 (Windows; compatible; U; Windows NT 5.1; en-US; rv:1.7a) Gecko/20040127 Firebird/0.8.0+
See also bug 233142, "onmouseover that doesn't return prevents URLs from appearing in status bar", introduced a few weeks after this bug was filed.
Summary: Can't see URL in status bar if JavaScript is disabled and <a> has event handlers → Can't see URL in status bar when JavaScript is disabled and <a> has event handlers
This one looks fixed to me...I think the patch for bug 233142 fixed the problem. UA: Mozilla/5.0 (Windows; compatible; U; Windows NT 5.1; en-US; rv:1.8a) Gecko/20040428 Firefox/0.8.0+
yes, 2004042708-cvs/FreeBSD and 2004042808/Mac don't have this problem. marking fixed per comment 8.
Status: NEW → RESOLVED
Closed: 21 years ago21 years ago
Resolution: --- → FIXED
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.