Closed
Bug 382748
Opened 19 years ago
Closed 2 years ago
Proposed new RDF container API: GetElementsBackwards
Categories
(Core Graveyard :: RDF, enhancement)
Core Graveyard
RDF
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
Updated•19 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 1•18 years ago
|
||
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
| Reporter | ||
Comment 2•18 years ago
|
||
We have a couple C++ users in our tree too.
Updated•7 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•