Closed Bug 47884 Opened 24 years ago Closed 24 years ago

compareNode return value is wrong in Range.idl & impls

Categories

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

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: hjtoi-bugzilla, Assigned: hjtoi-bugzilla)

Details

(Keywords: arch, Whiteboard: [nsbeta3+])

The compareNode return value is wrong in Range.idl. Or actually, right now the
IDL file is correct, but the implementation(s) return value is different. It
compiles because DOM IDL is not part of normal build. Once me or Saari checks in
joki's patch, the Range.idl will also contain the wrong return value. This bug
is here to make sure that we will eventually fix the return value in all cases.

Is there a bug for enabling DOM IDL build by default? If we could enable it by
default on at least some platforms we would have noticed this kind of thing
earlier...

I do not think compareNode is part of any DOM level spec, but I put this into
DOM 2 component.
Architecture issue. There are quite a few places that need to be changed, but it
is a simple thing, changing PRInt16 to PRUint16 (and making sure we don't break
anything by doing this).

Nominating for nsbeta3.
Status: NEW → ASSIGNED
Adding Chris to CC.
Marking nsbeta3+
Whiteboard: [nsbeta3+]
Seems like Chris fixed this already in the big landing. Marking fixed.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Component: DOM Level 2 → DOM Traversal-Range
Component: DOM: Traversal-Range → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.