Closed Bug 1475409 Opened 6 years ago Closed 6 years ago

Improve the clarity of nsXPTType and nsXPTTypeTag

Categories

(Core :: XPConnect, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: nika, Assigned: nika)

Details

Attachments

(3 files)

No description provided.
This should make it more clear which types have which behaviours, and should make it easier to add new types without forgetting to handle a special case somewhere. Depends On D2114
Attachment #8991772 - Attachment description: Bug 1475409 - Part 2: Be more explicit about the type of nsXPTType::Tag(), r=mccr8 This will get us both more clarity as to what types are, but also will improve switch exhaustiveness checks. → Bug 1475409 - Part 2: Be more explicit about the type of nsXPTType::Tag(), r=mccr8
Comment on attachment 8991771 [details] Bug 1475409 - Part 1: Remove nsXPTType::TagPart(), r=mccr8 Andrew McCreight [:mccr8] has approved the revision. https://phabricator.services.mozilla.com/D2113
Attachment #8991771 - Flags: review+
Comment on attachment 8991772 [details] Bug 1475409 - Part 2: Be more explicit about the type of nsXPTType::Tag(), r=mccr8 Andrew McCreight [:mccr8] has approved the revision. https://phabricator.services.mozilla.com/D2114
Attachment #8991772 - Flags: review+
Comment on attachment 8991773 [details] Bug 1475409 - Part 3: Make the different categories of types in xptinfo more explicit, r=mccr8 Andrew McCreight [:mccr8] has approved the revision. https://phabricator.services.mozilla.com/D2115
Attachment #8991773 - Flags: review+
Priority: -- → P3
Pushed by nika@thelayzells.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/850f21ca1f45 Part 1: Remove nsXPTType::TagPart(), r=mccr8 https://hg.mozilla.org/integration/mozilla-inbound/rev/bddd838d1910 Part 2: Be more explicit about the type of nsXPTType::Tag(), r=mccr8 https://hg.mozilla.org/integration/mozilla-inbound/rev/9f14f7b8bc3d Part 3: Make the different categories of types in xptinfo more explicit, r=mccr8
Pushed by nika@thelayzells.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/c19ca740d3d1 Part 1: Remove nsXPTType::TagPart(), r=mccr8 https://hg.mozilla.org/integration/mozilla-inbound/rev/39fcebfe6529 Part 2: Be more explicit about the type of nsXPTType::Tag(), r=mccr8 https://hg.mozilla.org/integration/mozilla-inbound/rev/9817819b7765 Part 3: Make the different categories of types in xptinfo more explicit, r=mccr8
Pushed by nika@thelayzells.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/b6e6e87bbb6e Part 1: Remove nsXPTType::TagPart(), r=mccr8 https://hg.mozilla.org/integration/mozilla-inbound/rev/6137929f1671 Part 2: Be more explicit about the type of nsXPTType::Tag(), r=mccr8 https://hg.mozilla.org/integration/mozilla-inbound/rev/f3c632a1500b Part 3: Make the different categories of types in xptinfo more explicit, r=mccr8
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
Flags: needinfo?(nika)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: