pls take a look at https://github.com/crosswalk-project/crosswalk/pull/1257 . I do not think RunMainDocument should be exported