title: "Cannot read property 'xxx' of null"
body: <p>I've got a document fragment with children that I want to loop over (when possible). This is causing an error "Cannot read property 'xxx' of null".</p>
  
  <p>How do I test if this will be the case?</p>