The document and frame null checking in V8DOMWindowCustom.cpp is inconsistent and a couple of checks are missing. We should use the DOMWindow::document accessor and let that one null check the frame. We should always null check the result of that accessor. canAccessFrame returns false for a null frame - we should use that fact consistently.
Created attachment 39145 [details] Be consistent in document and frame null checking.
Comment on attachment 39145 [details] Be consistent in document and frame null checking. Clearing flags on attachment: 39145 Committed r48114: <http://trac.webkit.org/changeset/48114>
All reviewed patches have been landed. Closing bug.