Closed Bug 55801 Opened 24 years ago Closed 20 years ago

Null XUL DOM Methods unimplemented

Categories

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

defect

Tracking

()

RESOLVED FIXED
Future

People

(Reporter: hand, Assigned: waterson)

References

Details

(Keywords: dom1)

From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
BuildID:    2000091312

Many methods for XUL DOM are unimplemented.

The ones I have encountered are:

Document::setAttributeNS and Attribute::childNode

I assume that this is because these methods don't do anything or return empty 
Nodelists/NamedNodeMaps.

I do not believe that their absense will block developments on Mozilla, but 
they certainly do slow development and are somewhat annoying.

I think "grep NS_NOTYETIMPLEMENTED nsXUL*.cpp" finds most of them.

I'm only filing this for the record - it would be nice if they were 
implemented.  I just hope that at a minimum, there is a switch that causes 
those methods to return NS_ERROR_NOT_IMPLEMENTED rather than asserting for 
Mozilla 1.0
Reporter is this still  a problem in the latest nightlies?
setting bug status to New
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: dom1
Component: DOM Level 1 → DOM Core
QA contact Update
QA Contact: janc → desale
Status: NEW → ASSIGNED
Depends on: 69996
Target Milestone: --- → mozilla1.0
No longer depends on: 69996
Blocks: 69996
Yep, there's still loads of them there. About 25, in fact, split about evenly 
across nsXULElement.cpp, nsXULAttribute.cpp and nsXULDocument.cpp.

Gerv
Updating QA contact to Shivakiran Tummala.
QA Contact: desale → stummala
Bugs targeted at mozilla1.0 without the mozilla1.0 keyword moved to mozilla1.0.1 
(you can query for this string to delete spam or retrieve the list of bugs I've 
moved)
Target Milestone: mozilla1.0 → mozilla1.0.1
Depends on: 124412
Keywords: mozilla1.0+
Keywords: mozilla1.0+mozilla1.0-
Target Milestone: mozilla1.0.1 → Future
> Document::setAttributeNS

There is no such beast.

> Attribute::childNode

This is unimplemented in non-XUL too.

In fact, now that jst has made nsXULDocument inherit from nsDocument and sicking
has landed his child/attr rewrite most of these issues are gone (nsXULAttributes
is no more, for example).

The remaining issues will be solved by bug 198533
Depends on: 198533
Fixed by checkin for bug 198533.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Component: DOM: Core → DOM: Core & HTML
QA Contact: stummala → general
You need to log in before you can comment on or make changes to this bug.