Closed Bug 859614 Opened 12 years ago Closed 7 years ago

mozMobileMessage API - return undefined if the API is unsupported on the platform, not null

Categories

(Core :: DOM: Device Interfaces, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: jsmith, Unassigned)

References

Details

See the discussion on bug 859554 for context. Any WebAPI that is not supported on a platform should return undefined, not null. null is only returned if the API is supported on the platform, but the web content does not have access to that API.
Andrew - Who owns mozMobileMessage? What b2g release is it a part of?
Blocks: 859554
Flags: needinfo?(overholt)
(In reply to Jason Smith [:jsmith] from comment #1) > Andrew - Who owns mozMobileMessage? What b2g release is it a part of? Vicamo, 1.1. I'll let Vicamo correct me if that's incorrect, though :)
Flags: needinfo?(overholt) → needinfo?(vyang)
(In reply to Andrew Overholt [:overholt] from comment #2) > (In reply to Jason Smith [:jsmith] from comment #1) > > Andrew - Who owns mozMobileMessage? What b2g release is it a part of? > > Vicamo, 1.1. > > I'll let Vicamo correct me if that's incorrect, though :) Yes, thank you. We'll take care of it.
Flags: needinfo?(vyang)
Did work get done here?
Flags: needinfo?(vyang)
I'm working on bug 915604, which covers all RIL related WebAPIs.
Flags: needinfo?(vyang)
Need bug 859764, moving MobileMessage to WebIDL, because we're not going to hide MobileMessage with compile-time options, so xpidl-based MobileMessageManager has to be included in DOMClassInfo all the time.
Depends on: 859764
Depends on: 958782
FxOS/Gonk has been removed from the codebase. Mass-invalidating FxOS related Device Interface bugs to clean up the component. If I incorrectly invalidated something, please let me know.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
Bulk correction of resolution of B2G bugs to INCOMPLETE.
Resolution: INVALID → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.