Closed
Bug 22216
Opened 25 years ago
Closed 25 years ago
Javascript alert dialog box not generated in XML
Categories
(Core :: XML, defect, P3)
Core
XML
Tracking
()
VERIFIED
INVALID
M14
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
Reporter | ||
Comment 1•25 years ago
|
||
Reporter | ||
Comment 2•25 years ago
|
||
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M14
Assignee | ||
Comment 3•25 years ago
|
||
Accepting bug and setting target milestone to M14...
Assignee | ||
Comment 4•25 years ago
|
||
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
Reporter | ||
Comment 5•25 years ago
|
||
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.
Description
•