Closed Bug 22216 Opened 25 years ago Closed 25 years ago

Javascript alert dialog box not generated in XML

Categories

(Core :: XML, defect, P3)

defect

Tracking

()

VERIFIED INVALID

People

(Reporter: christinehoff4, Assigned: nisheeth_mozilla)

Details

Attachments

(2 files)

Using 12/17 on Windows, Mac and Linux.

Steps to reproduce:
1. Save the two .xml files and open in browser.
2. Click on the link

Expected result: Clicking on the link should generate a Javascript alert dialog
box.
Actual result: The Javascript alert dialog box is not generated.

Behavior is across platform
Status: NEW → ASSIGNED
Target Milestone: M14
Accepting bug and setting target milestone to M14...
This isn't a bug.  The XHTML document does not expose the HTML DOM, so you can't 
use window.alert in your document to throw up a javascript alert.  If you want 
to test whether the onclick handler works on XML elements, please use some JS 
that uses the Level 0 DOM.  Thanks.

I'm marking this bug invalid.  
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
I'll follow up with Nisheeth regarding this issue. Verifying as invalid.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: