Closed Bug 704624 Opened 14 years ago Closed 7 years ago

Implement static DOM operations

Categories

(Core :: XPConnect, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: Ms2ger, Unassigned)

Details

Currenty IDB has a special case in nsDOMClassInfo: <http://mxr.mozilla.org/mozilla-central/source/dom/base/nsDOMClassInfo.cpp#5863>.
I think we're unlikely to make too many enhancements to nsDOMClassInfo until we see how the new DOM bindings play out, no? Perhaps I don't understand the motivations here. On that note, Ms2ger, I very much appreciate the bugs you file, but would appreciate them even more if you provided more context. The descriptions are often cryptic one-liners that are accessible to a select few people, and the benefits of fixing the bug are often ambiguous. I think filing bugs without descriptions is fine for bugs immediately assigned to oneself. But if the bug is being filed solely to "get it on record", I think it's worth the effort to provide a bit more background for whoever next runs across it. :-)
That's my fault, I told him to file this.
(In reply to Bobby Holley (:bholley) from comment #1) > I think we're unlikely to make too many enhancements to nsDOMClassInfo until > we see how the new DOM bindings play out, no? Perhaps I don't understand the > motivations here. Indeed; the idea is more that we'd implement it in IDL/XPConnect and get rid of the special case in nsDOMClassInfo.
(In reply to Ms2ger from comment #3) > Indeed; the idea is more that we'd implement it in IDL/XPConnect and get rid > of the special case in nsDOMClassInfo. Are we sure we'd be using XPIDL / XPConnect for the new DOM bindings? jst isn't sure about it, which is why he's suggested holding off on too much new WebIDL shininess in XPIDL (nullable types, overloading, etc).
Let me rephrase that, then... I expect us to implement static operations by an annotation in some kind of IDL format, and code in some kind of cross-platform bindings code. Whether we'll use the names XPIDL/XPConnect or something else I don't know.
makes sense.
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INACTIVE
WebIDL bindings have supported static ops for a while now.
Resolution: INACTIVE → FIXED
You need to log in before you can comment on or make changes to this bug.