Closed Bug 1057541 Opened 10 years ago Closed 10 years ago

Add a way to mark dictionary members as required

Categories

(Core :: DOM: Core & HTML, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla35
Tracking Status
firefox32 --- unaffected
firefox33 --- unaffected
firefox34 --- fixed
firefox35 --- fixed

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

Details

(Keywords: dev-doc-complete)

Attachments

(3 files)

This could be pretty useful for some APIs.  Note also https://www.w3.org/Bugs/Public/show_bug.cgi?id=26303
Cameron OK'd this in principle; I'll write up a spec update on Monday
Attachment #8477655 - Flags: review?(khuey)
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Depends on: 1070764
Blocks: 1037892
Attachment #8477655 - Flags: approval-mozilla-aurora?
Comment on attachment 8477656 [details] [diff] [review]
part 2.  Add a way to ask an IDLArgument whether it guarantees that it will always have a value

Approval Request Comment
[Feature/regressing bug #]:
[User impact if declined]:
[Describe test coverage new/current, TBPL]:
[Risks and why]: 
[String/UUID change made/needed]:
Attachment #8477656 - Flags: approval-mozilla-aurora?
Attachment #8477657 - Flags: approval-mozilla-aurora?
You this lands on aurora, bug 1070764 needs to do so as well.
(In reply to Boris Zbarsky [:bz] from comment #7)
> You this lands on aurora, bug 1070764 needs to do so as well.

I was going to do that next :)

Approval Request Comment (for all three patches)

[Feature/regressing bug #]: Required for Bug 1037892
     
[User impact if declined]: Blocks uplift of Bug 1037892 (see uplift request there for more detail)

[Describe test coverage new/current, TBPL]: N/A

[Risks and why]: Low risk, minor change to WebIDL

[String/UUID change made/needed]: none
Comment on attachment 8477656 [details] [diff] [review]
part 2.  Add a way to ask an IDLArgument whether it guarantees that it will always have a value

Aurora+
Attachment #8477656 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Attachment #8477655 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment on attachment 8477657 [details] [diff] [review]
part 3.  Change codegen to support required dictionary members

Seems I missed marking approvals on part 1 and part 3. I had previously reviewed all of the patches so Ryan was correct. I have now cleaned up the approvals.
Attachment #8477657 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Depends on: 1080770
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: