When WKBundleFrameGetParentFrame is called inside PageLoaderClient's didRemoveFrameFromHierarchy, we crash WebFrame::parentFrame() because owner element's document no longer has a frame.
Created attachment 361994 [details] Fixes the bug
<rdar://problem/31441007>
Comment on attachment 361994 [details] Fixes the bug r=me
Comment on attachment 361994 [details] Fixes the bug Clearing flags on attachment: 361994 Committed r241500: <https://trac.webkit.org/changeset/241500>
All reviewed patches have been landed. Closing bug.