This is a testcase for document.body is null ticket against jquery.

The current fix is:

if(document.body)

However, when trying to load the document in non-HTML documents (like a SVG), document.body is never defined and will always fail.

I would like to use:

if(document.body === null)

But I don't know if === ever succeeds for null.