Closed Bug 616353 Opened 15 years ago Closed 13 years ago

Make DOM constants constant.

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla16

People

(Reporter: jst, Assigned: jst)

References

Details

Attachments

(1 file)

This came up in an email thread recently where WebKit apparently makes DOM constants (i.e. Node.ELEMENT_NODE etc) be readonly properties and Firefox and IE do not. Seems there's no reason for this, and constants should be constant, so we should fix this. Probably too late to fix for Firefox 4 though.
Attached patch Fix.Splinter Review
Attachment #495017 - Flags: review?(peterv)
Attachment #495017 - Flags: review?(peterv) → review+
Johnny, did you lose track of this bug?
Assignee: nobody → jst
This needs some tests.
I'll get some tests imported in bug 647323.
Depends on: 647323
(In reply to :Ms2ger from comment #4) > I'll get some tests imported in bug 647323. That didn't work out, but I'm getting them in bug 765177. I'll land this patch when I push that.
Depends on: 765177
No longer depends on: 647323
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla16
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: