mozilla-b2g/gaia — pull request #7663 by evanxd (2013-01-17 11:15:28+00:00)
Title: Bug 823025 - Call Log: Returning from contact details should go back to call log, not contact list.

http://bugzil.la/823025

Root Cause:
When user switches Contacts tap in Dialer app in some conditions, the Dialer app will have a iframe just included Contacts app.

Dialer app and Contacts app are individual.And the two apps have no function to communicate each other.

So when user clicks back button in Contact Details Section of Contacts app, the app will go back to Contacts List Section, and never go back to Call log Section of Dialer app.

Then the Bug 823025 will happen.

Solution:
When user click back button in contact details page in iframe, the iframe will post message to Dialer app. After receive back message, Dialer app will show Call log page.