Closed Bug 1721723 Opened 4 years ago Closed 4 years ago

WebIDL bindings in tree documentation uses [Constructor] attribute, which no longer appears to work.

Categories

(Core :: DOM: Bindings (WebIDL), defect)

defect

Tracking

()

RESOLVED FIXED
92 Branch
Tracking Status
firefox92 --- fixed

People

(Reporter: mgaudet, Assigned: saschanaz)

References

Details

Attachments

(1 file)

I'm reading this in tree WebIDL documentation.

There's some discussion of constructors declared as

[Constructor,
 Constructor(unsigned long someNumber)]
interface MyInterface
{
};

I notice we don't seem to have any constructors of this form, and it seems like that form of attribute is no longer working with our generator. Nika suggests in #dom that this is likely a documentation bug.

See Also: → 1578173

Oh yes, the documentation should be updated as it now should be expressed as a member of interface.

Assignee: nobody → krosylight
Status: NEW → ASSIGNED
Pushed by krosylight@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ace915e5c115 Convert constructors as members in IDL bindings docs r=edgar DONTBUILD
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: