Difference Between Contentdocument And Contentwindow Javascript Iframe Frame Access Properties

Difference Between Contentdocument And Contentwindow Javascript Iframe Frame Access Properties