function assertBodyCorrect(body, id, bodyHTML, rtl = undefined) {
  assertEquals(bodyHTML, body.innerHTML.toString());
  // We can't just check
  // assert(HAS_CONTENTE_EDITABLE, !!body.contentEditable) since in
  // FF 3 we don't currently use contentEditable, but body.contentEditable
  // = 'inherit' and !!'inherit' = true.
  if (BrowserFeature.HAS_CONTENT_EDITABLE) {
    assertEquals('true', String(body.contentEditable));
  } else {
    assertNotEquals('true', String(body.contentEditable));
  }
  assertContains('editable', body.className.match(/\S+/g));
  assertEquals('true', String(body.getAttribute('g_editable')));
  assertEquals(
      'true',
      // IE has bugs with getAttribute('hideFocus'), and
      // Webkit has bugs with normal .hideFocus access.
      String(userAgent.IE ? body.hideFocus : body.getAttribute('hideFocus')));
  assertEquals(id, body.id);
}
Check a given body for the most basic properties that all iframes must have.
@param {Element} body The actual body element
@param {string} id The expected id
@param {string} bodyHTML The expected innerHTML
@param {boolean=} rtl If true, expect RTL directionality