Closed Bug 929410 Opened 11 years ago Closed 10 years ago

Date object cannot correctly pass though cpmm/ppmm IPC

Categories

(Core :: IPC, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: albert, Unassigned)

References

Details

Dates coming from Gaia in getSamples function of NetworkStats API are not deserialized as a Date after sendAsyncMessage. In parent process dates are an Object instead of a Date.
Blocks: 887699
No one should ever try to pass Date object through IPC. Just use UTC timestamp and re-construct Date object back when necessary.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.