Javascript alert dialog box not generated in XML

VERIFIED INVALID

Status

()

P3
normal
VERIFIED INVALID
19 years ago
19 years ago

People

(Reporter: christinehoff4, Assigned: nisheeth_mozilla)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

19 years ago
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

19 years ago
Created attachment 3653 [details]
XML file to demonstrate problem
(Reporter)

Comment 2

19 years ago
Created attachment 3656 [details]
Link .xml file to accompany file above
(Assignee)

Updated

19 years ago
Status: NEW → ASSIGNED
Target Milestone: M14
(Assignee)

Comment 3

19 years ago
Accepting bug and setting target milestone to M14...
(Assignee)

Comment 4

19 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
Last Resolved: 19 years ago
Resolution: --- → INVALID
(Reporter)

Comment 5

19 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.