Some methods, namely element->document() and document->frame(), can return null.
Created attachment 176049 [details] Patch
something went haywire in the changelog, resubmitting patch
Created attachment 176051 [details] Patch
Comment on attachment 176051 [details] Patch LGTM.
Comment on attachment 176051 [details] Patch Clearing flags on attachment: 176051 Committed r135758: <http://trac.webkit.org/changeset/135758>
All reviewed patches have been landed. Closing bug.