Closed Bug 382748 Opened 19 years ago Closed 2 years ago

Proposed new RDF container API: GetElementsBackwards

Categories

(Core Graveyard :: RDF, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: mozbugs, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.4) Gecko/20070531 Firefox/2.0.0.3 Flock/0.8.0.99 Build Identifier: In Flock, we find it useful to sometimes iterate over an RDF container's elements in reverse order. We've extended the RDF container code to give us that: http://lxr.flock.com/source/flock/mozilla/rdf/base/src/nsRDFContainer.cpp#L245 If this sounds generally useful, I can cook up a patch against trunk for it. Reproducible: Always
Status: UNCONFIRMED → NEW
Ever confirmed: true
I'd expect this to be mostly called by js, right? Sounds like this would be suited for a nice js1.7 generator code snippet, much more than the pretty involved code I found in http://lxr.flock.com/source/flock/mozilla/rdf/base/src/nsReverseContainerEnumerator.cpp
We have a couple C++ users in our tree too.
Product: Core → Core Graveyard
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.