Closed Bug 361111 Opened 18 years ago Closed 17 years ago

xulWindow.setAttribute("onclick", "%") throws an uncatchable exception (event handler with syntax error)

Categories

(Core :: DOM: Events, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: testcase)

Attachments

(1 file)

(deleted), application/vnd.mozilla.xul+xml
Details
xulWindow.setAttribute("onclick", "%") throws an uncatchable exception. Loading the testcase says "FAIL". When the bug is fixed it will say "PASS" :)
Attached file testcase (deleted) —
A reasonable-looking error message does appear in the Error Console, by the way.
I can still reproduce this bug on trunk.
WFM, Mac trunk debug. The setAttribute call no longer throws at all.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
Flags: in-testsuite+
Depends on: 600253
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: