If we are middle of handling a sync message from UI process a frame creation message back gets delayed. Sync DecidePolicyForNavigationAction message expects that the frame creation message has arrived first.
<rdar://problem/16918218>
Created attachment 234346 [details] patch
https://trac.webkit.org/r170757