Closed
Bug 1047203
Opened 10 years ago
Closed 10 years ago
[meta][B2G][Telephony] v2.2 P1 items - define valid values and strict data types in idl interfaces
Categories
(Firefox OS Graveyard :: RIL, defect)
Tracking
(feature-b2g:2.2+, tracking-b2g:backlog)
RESOLVED
FIXED
2.2 S3 (9jan)
People
(Reporter: hsinyi, Assigned: hsinyi)
References
Details
(Whiteboard: [priority1])
User Story
Engineering Refactor: Refactoring for cleaner interfacing (v2.2 P1 items) AC: All existing user stories from past releases should be validated after this refactor user story completes. This is the meta bug for tracking telephony v2.2 P1 items on "defining valid values in idl". Please contact :hsinyi for any change of bug dependency, thank you.
Take nsIMobileConnectionProvider.setPreferredNetworkType as an example.
The valid values for the parameter "type" are documented in comments, but there's no strong definitions straightly from the API itself.
In webidl, we use "enum" but how about in the internal .idl? How could we improve this?
Assignee | ||
Updated•10 years ago
|
Summary: [B2G] have a strong restriction on valid values in idl interfaces → [meta][B2G] have a strong restriction on valid values in idl interfaces
Assignee | ||
Comment 1•10 years ago
|
||
(In reply to Hsin-Yi Tsai [:hsinyi] from comment #0)
> Take nsIMobileConnectionProvider.setPreferredNetworkType as an example.
>
> The valid values for the parameter "type" are documented in comments, but
> there's no strong definitions straightly from the API itself.
>
> In webidl, we use "enum" but how about in the internal .idl? How could we
> improve this?
webidl-fy nsIMobileConnectionProvider could be a solution?
Assignee | ||
Comment 2•10 years ago
|
||
(In reply to Hsin-Yi Tsai [:hsinyi] from comment #1)
> (In reply to Hsin-Yi Tsai [:hsinyi] from comment #0)
> > Take nsIMobileConnectionProvider.setPreferredNetworkType as an example.
> >
> > The valid values for the parameter "type" are documented in comments, but
> > there's no strong definitions straightly from the API itself.
> >
> > In webidl, we use "enum" but how about in the internal .idl? How could we
> > improve this?
>
> webidl-fy nsIMobileConnectionProvider could be a solution?
bug 1052852 comment 0 is another option?
Assignee | ||
Updated•10 years ago
|
Blocks: b2g-ril-interface
Assignee | ||
Comment 3•10 years ago
|
||
This is the meta bug for tracking telephony v2.2 P1 items on "defining valid values in idl".
Please contact :hsinyi for any change of bug dependency, thank you.
Summary: [meta][B2G] have a strong restriction on valid values in idl interfaces → [meta][B2G][Telephony] v2.2 P1 items - define valid values in idl interfaces
Assignee | ||
Updated•10 years ago
|
User Story: (updated)
Assignee | ||
Updated•10 years ago
|
Summary: [meta][B2G][Telephony] v2.2 P1 items - define valid values in idl interfaces → [meta][B2G][Telephony] v2.2 P1 items - define valid values and strict data types in idl interfaces
Comment 4•10 years ago
|
||
(Commenting on User Story)
> This is the meta bug for tracking telephony v2.2 P1 items on "defining valid
> values in idl".
> Please contact :hsinyi for any change of bug dependency, thank you.
User Story: (updated)
Updated•10 years ago
|
User Story: (updated)
Updated•10 years ago
|
blocking-b2g: --- → backlog
feature-b2g: --- → 2.2+
Updated•10 years ago
|
Whiteboard: [priority1]
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → htsai
Flags: needinfo?(whuang)
Assignee | ||
Comment 6•10 years ago
|
||
Close it as all dependencies are resolved. Thank you everyone!
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Target Milestone: --- → 2.2 S3 (9jan)
Updated•10 years ago
|
blocking-b2g: backlog → ---
tracking-b2g:
--- → backlog
You need to log in
before you can comment on or make changes to this bug.
Description
•