docs: function jsUnitFixTop() {
      var tempTop = top;
      if (!tempTop) {
          tempTop = window;
          while (tempTop.parent) {
              tempTop = tempTop.parent;
              if (tempTop.top && tempTop.top.jsUnitTestSuite) {
                  tempTop = tempTop.top;
                  break;
              }
          }
      }
      try {
          window.top = tempTop;
      } catch (e) {
      }
  }