crosswalk-project/crosswalk — pull request #1360 by seanlong (2013-12-18 05:39:37+00:00)
Title: [Runtime] Fix application extension registration issue

ISSUE: https://crosswalk-project.org/jira/browse/XWALK-691

When launched as an external web browser, the application extension instance will be created and trigger "CHECK(application)" assertion failure if xwalk.app.* APIs are called.

To fix this, now we only create the application extensions after check whether we have a currently running application in ApplicationService.