Closed Bug 933678 Opened 11 years ago Closed 10 years ago

B2G NFC: Add exposedProps for those objects passed to Gaia.

Categories

(Firefox OS Graveyard :: NFC, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
1.4 S4 (28mar)

People

(Reporter: allstars.chh, Assigned: allstars.chh)

References

Details

Attachments

(1 file)

In Bug 674741 we discussed there should be 'exposedProps' for those objects passed to Gaia, although on device it seems working well.
https://bugzilla.mozilla.org/show_bug.cgi?id=674741#c364

This bug is filed to discuss if we need to add exposedProps back to those objects.
Assignee: nobody → allstars.chh
Right now there will be two responses will return object,
one is readNDEF, and the other is getDetailsNDEF.

The object returned in readNDEF is MozNDEFRecord, which is wrapped by XrayWrapper, so we don't need __exposedProps__ here.

However the object returned in getDetailsNDEF is a plain JS object, hence __exposedProps__ is needed here.
Attachment #8378909 - Flags: review?(dlee) → review+
ni? to myself to push this after 2/28
Flags: needinfo?(allstars.chh)
https://hg.mozilla.org/mozilla-central/rev/5999328297e8
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.4 S4 (28mar)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: